Function at 0x402eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov edi, dword [esi + 0x18]
push edi
call fcn.00412fa9
push edi
mov dword [ebp - 4], eax
call fcn.00412fa9
push edi
mov ebx, eax
call fcn.00412fa9
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 8], ecx
test eax, eax
je 0x4030cf
test ebx, ebx
je 0x4030cf
test ecx, ecx
je 0x4030cf
push dword [esi]
push edi
push 1
push eax
call fcn.004102fc
add esp, 0x10
cmp eax, edi
je 0x402f8b
push 0x40
push str.fread
push 0x43fe18
mov dword [0x43fc0c], 0xd5
call fcn.0040bfa6
push 0x104
xor eax, eax
mov dword [0x43fc08], edi
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sftlcmn_sftl_arc3.c
push 0x43fe98
mov word [0x43fe96], ax
mov word [0x43fe16], ax
call fcn.0040bfa6
add esp, 0x18
xor eax, eax
mov word [0x44009e], ax
mov eax, dword [ebp - 4]
push eax
call fcn.0040facf
add esp, 4
test ebx, ebx
je 0x402f74
push ebx
call fcn.0040facf
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
test eax, eax
je 0x402f87
push eax
call fcn.0040facf
add esp, 4
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x28], 0
je 0x4030b1
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
cmp eax, 0xc
ja case.0x402fa7.9
movzx eax, byte [eax + 0x40313c]
jmp dword [eax*4 + 0x403130]
push edi
push dword [ebp - 4]
push ebx
call fcn.004087b0
add esp, 0xc
xor ecx, ecx
jmp 0x402fd6
mov edx, dword [ebp - 4]
push ecx
mov ecx, dword [esi + 0x60]
push 0
push edi
push ebx
call fcn.00404190
xor ecx, ecx
jmp 0x402fd6
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub eax, ecx
cmp dword [ebp - 0x14], 0xc
cdq
mov ecx, 0x7a120
mov dword [esi + 0x20], eax
mov eax, 0x9c4
cmovge eax, ecx
mov dword [esi + 0x24], edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
cmp eax, 0xc
ja case.0x403004.9
movzx eax, byte [eax + 0x403158]
jmp dword [eax*4 + 0x40314c]
push edi
push ebx
push dword [ebp - 8]
call fcn.004087b0
add esp, 0xc
jmp 0x40302b
push ecx
mov ecx, dword [esi + 0x60]
mov edx, ebx
push 0
push edi
push dword [ebp - 8]
call fcn.00404190
mov dword [ebp - 0xc], 0
mov eax, edi
sub eax, dword [ebp - 0xc]
cdq
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x24], edx
cmp eax, 0xc
ja case.0x40304d.9
movzx eax, byte [eax + 0x403174]
jmp dword [eax*4 + 0x403168]
push edi
push dword [ebp - 8]
push ebx
call fcn.004087b0
add esp, 0xc
jmp 0x403073
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [esi + 0x60]
push 0
push edi
push ebx
call fcn.00404190
mov dword [ebp - 0x10], 0
mov ecx, edi
sub ecx, dword [ebp - 0x10]
sub dword [ebp - 0x14], 1
mov eax, ecx
cdq
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
jne 0x402ff5
cmp dword [0x43fc0c], 0
jne 0x402f5b
push ecx
push ebx
push dword [ebp - 0x18]
call fcn.004087b0
add esp, 0xc
jmp 0x402f5b
push edi
push dword [ebp - 4]
push dword [ebp - 0x18]
call fcn.004087b0
add esp, 0xc
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0
jmp 0x402f5b
push 0x40
push str.malloc
push 0x43fe18
mov dword [0x43fc0c], 0xc9
call fcn.0040bfa6
push 0x104
xor eax, eax
mov dword [0x43fc08], edi
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sftlcmn_sftl_arc3.c
push 0x43fe98
mov word [0x43fe96], ax
mov word [0x43fe16], ax
call fcn.0040bfa6
xor eax, eax
add esp, 0x18
mov word [0x44009e], ax
mov eax, dword [ebp - 4]
test eax, eax
je 0x402f67
jmp 0x402f5e