Function at 0x40c0d5
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
push 0x440218
push dword [ebp + 8]
lea eax, [ebp + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x14], edi
xor ebx, ebx
call fcn.0041b497
add esp, 0xc
test eax, eax
jne 0x40ca1f
push esi
push dword [ebp + 8]
lea eax, [edi + 0x28]
push 1
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x2c]
push 1
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x30]
push 1
push 4
push eax
call fcn.0041b877
add esp, 0x30
lea eax, [edi + 0x34]
push eax
push dword [ebp + 8]
call fcn.0040ca27
push dword [ebp + 8]
lea esi, [edi + 0x234]
push 1
push 4
push esi
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x238]
push 1
push 4
push eax
mov dword [ebp - 0x10], eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x23c]
push 1
push 4
push eax
mov dword [ebp - 0x18], eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x240]
push 1
push 1
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [edi + 0x241]
push dword [ebp + 8]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x242]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x244]
push 1
push 4
push eax
call fcn.0041b877
add esp, 0x30
cmp dword [esi], ebx
jle 0x40c37c
lea esi, [edi + 0x24a]
push dword [ebp + 8]
lea eax, [esi - 2]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
push 1
push 2
push esi
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 2]
push 1
push 2
push eax
call fcn.0041b877
add esp, 0x30
lea eax, [esi + 4]
push eax
push dword [ebp + 8]
call fcn.0040ca27
push dword [ebp + 8]
lea eax, [esi + 0x1e]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x20]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x22]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x26]
push 1
push 4
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x2a]
push dword [ebp + 8]
push 1
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x2e]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x2f]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x30]
push 1
push 1
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x32]
push dword [ebp + 8]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
push 1
push 2
lea eax, [esi + 0x34]
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x36]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x37]
push 1
push 1
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x38]
push dword [ebp + 8]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x39]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x3a]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x3b]
push 1
push 1
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x3c]
push dword [ebp + 8]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x3e]
push 1
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x42]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x46]
push 1
push 4
push eax
call fcn.0041b877
add esp, 0x40
add esi, 0x4c
inc ebx
cmp ebx, dword [edi + 0x234]
jl 0x40c1df
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dword [edi + 0x238], ebx
jle 0x40c957
lea esi, [edi + 0xbe8]
mov dword [ebp - 0xc], esi
lea edi, [esi - 0x20]
push edi
push dword [ebp + 8]
call fcn.0040ca27
mov ecx, ebx
mov dword [ebp - 4], ebx
mov al, byte [edi + ecx]
test al, al
je 0x40c3c5
movsx eax, al
push eax
call fcn.0041490a
pop ecx
mov ecx, dword [ebp - 4]
mov byte [edi + ecx], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x1c
jl 0x40c3a5
push dword [ebp + 8]
xor edi, edi
lea eax, [esi - 4]
inc edi
push edi
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
push edi
push 4
push esi
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 4]
push edi
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 8]
push edi
push 2
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xc]
push dword [ebp + 8]
push edi
push 4
pop edi
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x10]
push 1
push 1
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x14]
push 1
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x18]
push 1
push 1
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x1c]
push dword [ebp + 8]
push 1
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x20]
push 1
push edi
push eax
call fcn.0041b877
add esp, 0x20
lea edi, [esi + 0x24]
push 8
pop esi
push dword [ebp + 8]
push 1
push 2
push edi
call fcn.0041b877
add esp, 0x10
add edi, 2
sub esi, 1
jne 0x40c46e
mov esi, dword [ebp - 0xc]
push 8
pop ebx
lea edi, [esi + 0x36]
push dword [ebp + 8]
push 1
push 2
push edi
call fcn.0041b877
add esp, 0x10
add edi, 2
sub ebx, 1
jne 0x40c48f
push dword [ebp + 8]
inc ebx
lea eax, [esi + 0x48]
push ebx
push 2
pop edi
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x4a]
push ebx
push ebx
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x4b]
push ebx
push ebx
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x4c]
push ebx
push 4
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x50]
push dword [ebp + 8]
push ebx
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x54]
push ebx
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x58]
push ebx
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x5c]
push ebx
push ebx
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x5e]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x60]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x62]
push ebx
push ebx
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x64]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
push dword [ebp + 8]
push ebx
push edi
lea eax, [esi + 0x66]
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x68]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x6a]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x6c]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x6e]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x70]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x72]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x74]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x76]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x78]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x7a]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x7c]
push ebx
push ebx
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x80]
push dword [ebp + 8]
push ebx
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
push ebx
push edi
lea eax, [esi + 0x84]
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x86]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x88]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x8a]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x8c]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x8e]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x90]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x92]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x94]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x96]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x98]
push ebx
push ebx
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0x99]
push dword [ebp + 8]
push ebx
push ebx
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0x9a]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
push ebx
push edi
lea eax, [esi + 0x9c]
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xa0]
push ebx
push 4
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xa4]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
mov ax, word [esi + 0xa4]
push ebx
mov word [esi + 0x34], ax
lea eax, [esi + 0xa6]
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
mov ax, word [esi + 0xa6]
push ebx
mov word [esi + 0x46], ax
lea eax, [esi + 0xa8]
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xaa]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xac]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xae]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xb0]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xb2]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xb4]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xb6]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xb8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xba]
push ebx
push ebx
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xbc]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xbe]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xc0]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xc2]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xc4]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xc6]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xc8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xca]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xcc]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xce]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xd0]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xd2]
push ebx
push edi
push eax
call fcn.0041b877
add esp, 0x40
lea eax, [esi + 0xd4]
push dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xd6]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xd8]
push ebx
push edi
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [esi + 0xda]
push ebx
push edi
push eax
call fcn.0041b877
mov ecx, dword [ebp - 8]
add esp, 0x40
mov eax, dword [ebp - 0x10]
inc ecx
add esi, 0xfc
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
push 0
pop ebx
cmp ecx, dword [eax]
jl 0x40c394
mov edi, dword [ebp - 0x14]
mov esi, ebx
mov dword [ebp - 0xc], esi
cmp dword [edi + 0x23c], ebx
jle 0x40ca13
add edi, 0x5d058
push dword [ebp + 8]
push 1
push 2
push edi
call fcn.0041b877
add esp, 0x10
lea eax, [edi + 2]
push eax
push dword [ebp + 8]
call fcn.0040ca27
push dword [ebp + 8]
lea eax, [edi + 0x22]
push 1
push 2
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x24]
push 1
push 4
push eax
call fcn.0041b877
push dword [ebp + 8]
lea eax, [edi + 0x28]
push 1
push 2
push eax
call fcn.0041b877
xor eax, eax
mov dword [ebp - 0x14], ebx
add esp, 0x30
cmp ax, word [edi + 0x28]
jae 0x40c9ef
mov esi, dword [ebp - 0x14]
lea ebx, [edi + 0x2a]
push dword [ebp + 8]
push 1
push 2
push ebx
call fcn.0041b877
movzx eax, word [edi + 0x28]
add esp, 0x10
inc esi
add ebx, 2
cmp esi, eax
jl 0x40c9ce
mov esi, dword [ebp - 0xc]
xor ebx, ebx
lea eax, [edi + 0xaa]
push eax
push dword [ebp + 8]
call fcn.0040ca27
mov eax, dword [ebp - 0x18]
inc esi
add edi, 0x12c
mov dword [ebp - 0xc], esi
cmp esi, dword [eax]
jl 0x40c96e
push dword [ebp + 8]
mov bl, 1
call fcn.0041aff6
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
leave
ret 4