Function at 0x40acf8
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.0049e358
mov ebx, dword [esp + 0x1028]
mov edi, dword [esp + 0x1024]
mov eax, dword [0x500034]
xor eax, esp
mov dword [esp + 0x100c], eax
mov esi, dword [0x4c7780]
push esi
call fcn.0042e4f8
add esp, 4
push esi
call fcn.0042e568
add esp, 4
mov esi, eax
push 0
call fcn.0042e508
add esp, 4
test esi, esi
je 0x40ad55
push dword [esi + 0x54]
call fcn.0042e508
add esp, 4
push 0
push 0x83
push edi
call fcn.00437da8
add esp, 0xc
push edi
push 0
call fcn.00430328
add esp, 8
push ebx
call fcn.00405e48
add esp, 4
mov esi, eax
push edi
push eax
call fcn.00405eb8
add esp, 8
test al, al
je 0x40adaa
push edi
call fcn.00438648
add esp, 4
test al, al
jne 0x40adb8
push edi
call fcn.0041d738
add esp, 4
test al, al
jne 0x40adb8
push 0
call fcn.00405da8
push edi
push esi
call fcn.00405f28
add esp, 8
test al, al
je 0x40add3
push edi
call fcn.0042e3d8
add esp, 4
cmp dword [0x501e28], 0
jne 0x40b029
jmp 0x40b051
cmp byte [esi], 0
je 0x40b002
lea eax, [esp + 4]
lea ecx, [esp + 8]
push 0
push eax
push ecx
push ebx
call fcn.0043cb08
add esp, 0x10
mov eax, dword [esp + 8]
test eax, eax
jle 0x40b002
mov dword [esp], 0
xor ebx, ebx
jmp 0x40ae29
push esi
push 0x4de9e7
call fcn.004060a8
add esp, 8
mov ebp, ebx
add ebp, 1
mov eax, dword [esp + 8]
mov ebx, ebp
cmp ebp, eax
jge 0x40b00d
mov edx, dword [esp + 4]
lea ebp, [ebx + 1]
mov ecx, 0
cmp ebp, eax
jge 0x40ae3d
mov ecx, dword [edx + ebx*4 + 4]
mov esi, dword [edx + ebx*4]
push edi
push 1
push ecx
push esi
call fcn.0042c998
add esp, 0x10
cmp eax, 2
je 0x40ae18
cmp eax, 1
je 0x40ae1b
cmp eax, 0xfffffffe
je 0x40ae08
push 0x4e1c0d
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40b09b
push 0x4e1cc8
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40b0f7
cmp byte [0x4cebbc], 0
je 0x40aee9
push 0x4e7e95
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40b092
push 0x4e7e94
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40b092
push 0x4e7e8b
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40b092
push 0x4e7e8a
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40b092
push 0x4ddd7c
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40af21
push 0x4e37cb
push esi
call fcn.004b1478
add esp, 8
test eax, eax
je 0x40af42
cmp byte [esi], 0x2d
jne 0x40afd3
push esi
push 0x4f05d7
jmp 0x40ae0e
cmp ebp, dword [esp + 8]
jge 0x40afde
mov eax, dword [esp + 4]
mov eax, dword [eax + ebx*4 + 4]
mov dword [0x501e70], eax
mov al, 1
mov dword [esp], eax
jmp 0x40ae18
lea ebp, [ebx + 2]
cmp ebp, dword [esp + 8]
jge 0x40afe9
mov eax, dword [esp + 4]
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [eax + ebx*4 + 8]
mov ebx, ecx
mov dword [0x501e24], eax
push 0x4e7cda
push ecx
call fcn.004afc63
add esp, 8
mov esi, eax
test eax, eax
jne 0x40af84
push ebx
push 0x4f034f
call fcn.004060a8
add esp, 8
call fcn.00439888
mov dword [0x501e28], eax
push esi
push 0x1000
push 1
lea ebx, [esp + 0x18]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
call fcn.004afdfb
add esp, 0x10
test eax, eax
jle 0x40aff4
mov ecx, dword [0x501e28]
add ecx, 0xc
push eax
push ebx
push ecx
call fcn.00438a88
add esp, 0xc
push esi
push 0x1000
push 1
jmp 0x40afa8
push esi
push 0x4f0544
jmp 0x40ae0e
push esi
push 0x4e5271
jmp 0x40ae0e
push esi
push 0x4e00ea
jmp 0x40ae0e
push esi
call fcn.004af558
add esp, 4
jmp 0x40ae18
push edi
call fcn.0042e3d8
add esp, 4
jmp 0x40b020
push edi
call fcn.0042e3d8
add esp, 4
test byte [esp], 1
jne 0x40b108
cmp dword [0x501e28], 0
je 0x40b073
push edi
push 0
call fcn.00430378
add esp, 8
push 0x4e3176
push 0
push edi
call fcn.00437f38
add esp, 0xc
push 1
push 4
push edi
call fcn.00437da8
add esp, 0xc
push edi
call fcn.004396d8
add esp, 4
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.0049e348
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call fcn.0042e4a8
add esp, 4
test al, al
jne 0x40b051
push edi
call fcn.0041d738
add esp, 4
test al, al
jne 0x40b051
jmp 0x40ada3
push 0
call fcn.0041eff8
jmp 0x40b0ed
mov edi, dword [0x4c777c]
push edi
push 0x4eafd6
call fcn.00438888
add esp, 8
mov esi, eax
push edi
push 0x4e432c
call fcn.00438888
add esp, 8
mov edi, eax
push 4
push 0x134
push eax
push esi
push 0
call fcn.0043bae8
add esp, 0x14
cmp eax, 6
jne 0x40b0de
call fcn.00434be8
push esi
call fcn.00439358
add esp, 4
push edi
call fcn.00439358
add esp, 4
push 0
call fcn.004aaa66
push 0
call fcn.0043bbe8
add esp, 4
push 1
call fcn.004aaa66
mov byte [0x502b98], 1
push edi
push 0
call fcn.00430378
add esp, 8
push 0x4e3176
push 0
push edi
call fcn.00437f38
add esp, 0xc
push edi
call fcn.0041d738
add esp, 4
push 0
call fcn.00405da8
int3