Function at 0xe12940
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0xa7000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov edx, dword [0xa789bc]
cmp edx, dword [ecx + 4]
jle 0xe129b8
push 0xa789bc
call fcn.00fa718b
add esp, 4
cmp dword [0xa789bc], 0xffffffff
jne 0xe129b8
mov ecx, 0xa789c0
call fcn.00dec1a0
push 0xa441a0
call fcn.00fa7004
add esp, 4
push 0xa789bc
call fcn.00fa7141
add esp, 4
mov dword [ebp - 0x7c], 0xa789c0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
sar edx, 3
cmp edx, 0x123
jae 0xe12a4c
mov byte [ebp - 0x51], 1
mov dword [ebp - 0x80], 0xa789c0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
sar edx, 3
xor edx, 0xaac
mov dword [ebp - 0x90], edx
lea eax, [ebp - 0x51]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x100], ecx
mov dl, byte [ebp - 0x65]
mov byte [ebp - 0x52], dl
mov al, byte [ebp - 0x52]
mov byte [ebp - 0x53], al
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x100]
push edx
movzx eax, byte [ebp - 0x53]
push eax
lea ecx, [ebp - 0x128]
call fcn.00ec8490
lea ecx, [ebp - 0x128]
push ecx
mov ecx, 0xa789c0
call fcn.00eb8c70
jmp 0xe12a56
mov ecx, 0xa789c0
call fcn.00eb8c20
push 0xa5b81a
lea ecx, [ebp - 0x50]
call fcn.00de4290
xor edx, edx
mov byte [ebp - 0x54], dl
xor eax, eax
mov byte [ebp - 0x55], al
xor ecx, ecx
mov byte [ebp - 0x56], cl
mov dl, byte [ebp - 0x54]
mov byte [ebp - 0x6c], dl
mov al, byte [ebp - 0x55]
mov byte [ebp - 0x70], al
mov cl, byte [ebp - 0x56]
mov byte [ebp - 0x74], cl
mov edx, 0xce5c8d4f
mov dword [ebp - 0x20], 0xabd4fa2b
mov dword [ebp - 0x1c], edx
mov eax, 0xcce41422
mov dword [ebp - 0x18], 0xd15ce80e
mov dword [ebp - 0x14], eax
mov ecx, 0xce5c8d4f
mov dword [ebp - 0x120], 0xabd49859
mov dword [ebp - 0x11c], ecx
mov edx, 0xcce41422
mov dword [ebp - 0x118], 0xd15ce80e
mov dword [ebp - 0x114], edx
xor eax, eax
mov byte [ebp - 0x58], al
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x78], cl
movaps xmm0, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x150], xmm0
movaps xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x140], xmm0
movaps xmm0, xmmword [ebp - 0x140]
pxor xmm0, xmmword [ebp - 0x150]
movaps xmmword [ebp - 0x160], xmm0
movaps xmm0, xmmword [ebp - 0x160]
movaps xmmword [ebp - 0x20], xmm0
lea edx, [ebp - 0x20]
mov dword [ebp - 0xd4], edx
lea ecx, [ebx + 0xc]
call fcn.00de4050
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.00fb5c9a
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0xe12ed2
mov eax, dword [0xa70ae0]
cdq
mov esi, eax
mov edi, edx
add esi, 7
adc edi, 0
mov eax, dword [0xa70ae4]
cdq
add eax, 0x2f67
adc edx, 0
push 0
push 0x2f67
push edx
push eax
call fcn.00fcf660
mov ecx, eax
mov eax, edx
add ecx, 2
adc eax, 0
mov dword [ebp - 0x98], eax
mov eax, dword [0xa70ae4]
cdq
add eax, 7
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x98]
push eax
push ecx
call fcn.00fcf660
add esi, eax
adc edi, edx
add esi, 0x2f67
adc edi, 0
push edi
push esi
call fcn.00ded7a0
add esp, 8
push eax
push 0
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00fb6083
add esp, 0xc
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00fb5ba1
add esp, 4
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov dword [ebp - 0xbc], 0x4589
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
xor edx, 0xf
xor eax, 0
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], eax
xor ecx, ecx
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xc4], ecx
mov edx, dword [0xa70ae8]
xor edx, 0x2f67
mov eax, dword [0xa70aec]
xor eax, 0
push 0
push 2
push eax
push edx
call fcn.00fcf660
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
xor ecx, ecx
mov dword [ebp - 0xe0], 0x4586
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xcc]
add edx, dword [ebp - 0xd0]
adc eax, ecx
add edx, 1
adc eax, 0
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xdc]
sub edx, dword [ebp - 0xe0]
sbb eax, ecx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xec]
push esi
push ecx
push eax
push edx
call fcn.00fcf6a0
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x9c], edx
mov ecx, dword [0xa70af0]
xor ecx, 0x2f67
mov edx, dword [0xa70af4]
xor edx, 0
push 0
push 0
push edx
push ecx
call fcn.00fcf660
push 0
push 2
push edx
push eax
call fcn.00fcf660
mov esi, eax
mov edi, edx
push 0
push 0x2f67
mov eax, dword [0xa70aec]
push eax
mov ecx, dword [0xa70ae8]
push ecx
call fcn.00fcf660
push 0
push 0xf
push edx
push eax
call fcn.00fcf6a0
add esi, eax
adc edi, edx
xor esi, 0xf
xor edi, 0
push edi
push esi
call fcn.00ded870
add esp, 8
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00fb6083
add esp, 0xc
push 0xa5d514
lea ecx, [ebp - 0x38]
call fcn.00de4290
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 0xc
jae 0xe12dd4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0xe12db1
mov dword [ebp - 0x84], 1
jmp 0xe12dbb
mov dword [ebp - 0x84], 0
movzx ecx, byte [ebp - 0x84]
test ecx, ecx
jne 0xe12dd4
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x38]
call fcn.00de41c0
jmp 0xe12dde
push 0
lea ecx, [ebp - 0x38]
call fcn.00dea150
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0xe12dfc
mov dword [ebp - 0x88], 1
jmp 0xe12e06
mov dword [ebp - 0x88], 0
movzx ecx, byte [ebp - 0x88]
test ecx, ecx
je 0xe12e63
push 7
lea ecx, [ebp - 0x38]
call fcn.00eb9650
mov dword [ebp - 0x60], 0xa5d518
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x60]
mov cl, byte [eax]
mov byte [ebp - 0x57], cl
add dword [ebp - 0x60], 1
cmp byte [ebp - 0x57], 0
jne 0xe12e2e
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
push 0xa5d518
lea ecx, [ebp - 0x38]
call fcn.00de6210
lea ecx, [ebp - 0x38]
call fcn.00de6030
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x8c]
ja 0xe12e8d
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.00dea150
jmp 0xe12ea1
push 0
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00dea1c0
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 1
lea ecx, [ebp - 0x50]
call fcn.00de4050
mov ecx, 1
imul edx, ecx, 0
add eax, edx
push eax
call fcn.00fb6506
add esp, 0x10
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00fb5d28
add esp, 4
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebx + 8]
call fcn.00de4230
lea ecx, [ebp - 0x50]
call fcn.00de6030
lea ecx, [ebx + 0xc]
call fcn.00de6030
mov eax, dword [ebx + 8]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fa6b7b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret