Function at 0x10012503
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x8c
push 0xfffffffffffffffe
push 0x10088b08
push 0x100507f0
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x1008dd90]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x94]
xor ebx, ebx
mov byte [ebp - 0x20], bl
xor eax, eax
lea edi, [ebp - 0x1f]
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x1001259e
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.1005097c
add ebp, 0x8c
leave
ret
mov dword [ebp - 4], ebx
push ebx
lea ecx, [ebp - 0x34]
push ecx
push 4
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100125cc
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
jmp 0x10012579
mov eax, 0x1007738c
mov cx, word [ebp - 0x20]
cmp cx, word [eax]
jne 0x100125b7
xor eax, eax
mov word [ebp], ax
push 0x3e
push ebx
lea eax, [ebp + 2]
push eax
call fcn.10050bb0
add esp, 0xc
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call esi
cmp eax, 0xffffffff
je 0x100125b7
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x40
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x100125b7
push ebx
push ebx
push dword [ebp + 0x3c]
push dword [ebp - 0x1c]
call esi
cmp eax, 0xffffffff
je 0x100125b7
mov dword [ebp - 0x130], ebx
push 0xf4
push ebx
lea eax, [ebp - 0x12c]
push eax
call fcn.10050bb0
add esp, 0xc
push ebx
lea eax, [ebp - 0x28]
push eax
push 0xf8
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x1c]
call edi
test eax, eax
je 0x100125b7
push 1
push ebx
movzx eax, word [ebp - 0x12a]
imul eax, eax, 0x28
sub eax, 0x28
push eax
push dword [ebp - 0x1c]
call esi
cmp eax, 0xffffffff
je 0x100125b7
mov byte [ebp + 0x40], bl
xor eax, eax
lea edi, [ebp + 0x41]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
pop ecx
xor eax, eax
lea edi, [ebp + 0x48]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x28
lea eax, [ebp + 0x40]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100125b7
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
add eax, ecx
mov dword [ebp - 0x30], eax
push ebx
push ebx
push eax
push dword [ebp - 0x1c]
call esi
cmp eax, 0xffffffff
je 0x100125b7
mov byte [ebp - 0x24], bl
xor eax, eax
lea edi, [ebp - 0x23]
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100125b7
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
jne 0x100127c6
mov byte [ebp + 0x78], 0xef
mov byte [ebp + 0x79], 0xbe
mov byte [ebp + 0x7a], 0xad
mov byte [ebp + 0x7b], 0xde
mov byte [ebp + 0x7c], 0x4e
mov byte [ebp + 0x7d], 0x75
mov byte [ebp + 0x7e], 0x6c
mov byte [ebp + 0x7f], 0x6c
mov byte [ebp + 0x80], 0x73
mov byte [ebp + 0x81], 0x6f
mov byte [ebp + 0x82], 0x66
mov byte [ebp + 0x83], 0x74
mov byte [ebp + 0x84], 0x49
mov byte [ebp + 0x85], 0x6e
mov byte [ebp + 0x86], 0x73
mov byte [ebp + 0x87], 0x74
mov byte [ebp + 0x68], bl
xor eax, eax
lea edi, [ebp + 0x69]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x10
lea eax, [ebp + 0x68]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100125b7
cmp dword [ebp - 0x28], 0x10
jne 0x100125b7
push 0x10
pop ecx
lea edi, [ebp + 0x68]
lea esi, [ebp + 0x78]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100127a3
sbb eax, eax
sbb eax, 0xffffffff
push 0xfffffffffffffffe
cmp eax, ebx
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
jne 0x100125c2
call fcn.10052ca8
add esp, 0xc
push 0xc
pop eax
jmp 0x1001257b
mov eax, 0x10077390
cmp ecx, dword [eax]
jne 0x100127e6
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
push 4
jmp 0x100127c0
mov edx, 0x10077398
mov ax, word [ebp - 0x24]
cmp ax, word [edx]
jne 0x1001280b
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
push 8
jmp 0x100127c0
mov edx, 0x1007739c
cmp ax, word [edx]
jne 0x1001282c
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
push 6
jmp 0x100127c0
mov edx, 0x100773a0
cmp ecx, dword [edx]
jne 0x10012845
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
jmp 0x100127b6
mov ecx, 0x100773a8
cmp ax, word [ecx]
jne 0x10012869
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
push 0xe
jmp 0x100127c0
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
call esi
cmp eax, 0xffffffff
je 0x100125b7
mov dword [ebp - 0x2c], ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x100125b7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + ecx + 4]
push ebx
push ebx
push eax
push dword [ebp - 0x1c]
call esi
cmp eax, 0xffffffff
je 0x100125b7
push ebx
lea eax, [ebp - 0x38]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
call edi
test eax, eax
je 0x100125b7
push 3
pop ecx
mov edi, 0x100773ac
lea esi, [ebp - 0x24]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100128fb
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
push 2
jmp 0x100127c0
push 3
pop ecx
mov edi, 0x100773b0
lea esi, [ebp - 0x20]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x10012927
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
xor eax, eax
inc eax
jmp 0x1001257b
mov eax, str.Rar_
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
je 0x100127cf
mov edx, 0x100773bc
mov ax, word [ebp - 0x20]
cmp ax, word [edx]
je 0x100127f4
mov edx, 0x100773c0
cmp ax, word [edx]
je 0x10012815
mov eax, str.MSCF
cmp ecx, dword [eax]
jne 0x100125b7
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008dd90
call fcn.10052ca8
add esp, 0xc
push 9
jmp 0x100127c0