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

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x8c
push 0xfffffffffffffffe
push 0x10087478
push 0x10050240
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x1008cc50]
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 0x1001226c
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.100503cc
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 0x1001229a
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
jmp 0x10012247
mov eax, 0x10076334
mov cx, word [ebp - 0x20]
cmp cx, word [eax]
jne 0x10012285
xor eax, eax
mov word [ebp], ax
push 0x3e
push ebx
lea eax, [ebp + 2]
push eax
call fcn.10050600
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 0x10012285
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 0x10012285
push ebx
push ebx
push dword [ebp + 0x3c]
push dword [ebp - 0x1c]
call esi
cmp eax, 0xffffffff
je 0x10012285
mov dword [ebp - 0x130], ebx
push 0xf4
push ebx
lea eax, [ebp - 0x12c]
push eax
call fcn.10050600
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 0x10012285
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 0x10012285
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 0x10012285
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 0x10012285
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 0x10012285
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
jne 0x10012494
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 0x10012285
cmp dword [ebp - 0x28], 0x10
jne 0x10012285
push 0x10
pop ecx
lea edi, [ebp + 0x68]
lea esi, [ebp + 0x78]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10012471
sbb eax, eax
sbb eax, 0xffffffff
push 0xfffffffffffffffe
cmp eax, ebx
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
jne 0x10012290
call fcn.100526f8
add esp, 0xc
push 0xc
pop eax
jmp 0x10012249
mov eax, 0x10076338
cmp ecx, dword [eax]
jne 0x100124b4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
push 4
jmp 0x1001248e
mov edx, 0x10076340
mov ax, word [ebp - 0x24]
cmp ax, word [edx]
jne 0x100124d9
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
push 8
jmp 0x1001248e
mov edx, 0x10076344
cmp ax, word [edx]
jne 0x100124fa
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
push 6
jmp 0x1001248e
mov edx, 0x10076348
cmp ecx, dword [edx]
jne 0x10012513
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
jmp 0x10012484
mov ecx, 0x10076350
cmp ax, word [ecx]
jne 0x10012537
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
push 0xe
jmp 0x1001248e
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
call esi
cmp eax, 0xffffffff
je 0x10012285
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 0x10012285
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 0x10012285
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 0x10012285
push 3
pop ecx
mov edi, 0x10076354
lea esi, [ebp - 0x24]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100125c9
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
push 2
jmp 0x1001248e
push 3
pop ecx
mov edi, 0x10076358
lea esi, [ebp - 0x20]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100125f5
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
xor eax, eax
inc eax
jmp 0x10012249
mov eax, str.Rar_
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
je 0x1001249d
mov edx, 0x10076364
mov ax, word [ebp - 0x20]
cmp ax, word [edx]
je 0x100124c2
mov edx, 0x10076368
cmp ax, word [edx]
je 0x100124e3
mov eax, str.MSCF
cmp ecx, dword [eax]
jne 0x10012285
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1008cc50
call fcn.100526f8
add esp, 0xc
push 9
jmp 0x1001248e