Function at 0x4020e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x634
mov eax, dword [0x468400]
xor eax, esp
mov dword [esp + 0x62c], eax
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x28]
push 0x45ac20
push ecx
call fcn.00436b9c
lea edx, [esp + 0x30]
push 0x45ac20
push edx
mov esi, eax
call fcn.00436b9c
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x402141
or ebp, 0xffffffff
jmp 0x402162
push 2
push 0
push ebx
call fcn.00437470
add esp, 0xc
push ebx
call fcn.00437378
add esp, 4
push ebx
mov ebp, eax
call fcn.004375bd
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], 0x4441503c
mov dword [esp + 0x24], 0x3e474e49
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x10], ebx
test ebp, ebp
jle 0x40223a
lea eax, [esp + 0x230]
lea ecx, [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x1c], eax
push 0x408
lea edx, [esp + 0x234]
push 0
push edx
call fcn.00439a00
add esp, 0xc
push 0
push ebx
push esi
call fcn.00437470
add esp, 0xc
push esi
push 1
lea eax, [esp + 0x238]
push 0x408
push eax
call fcn.00437141
add esp, 0x10
xor edx, edx
mov ebx, dword [esp + 0x1c]
mov ecx, 8
lea eax, [esp + 0x20]
add ebx, edx
lea esp, [esp]
cmp ecx, 4
jb 0x40220f
mov ebp, dword [ebx + eax]
cmp ebp, dword [eax]
jne 0x402204
sub ecx, 4
add eax, 4
jmp 0x4021f0
inc edx
cmp edx, 0x400
jbe 0x4021da
jmp 0x402219
mov ecx, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x10]
add ebx, 0x400
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x40219d
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x40224a
push esi
call fcn.004375bd
add esp, 4
xor al, al
jmp 0x40235f
push 0
add eax, 8
push eax
push esi
call fcn.00437470
add esp, 0xc
push esi
push 1
lea edx, [edi + 0x190]
push 4
push edx
call fcn.00437141
push esi
push 1
lea ebx, [edi + 0x194]
push 4
push ebx
call fcn.00437141
push esi
push 1
lea ebp, [edi + 0x19c]
push 0x20
push ebp
call fcn.00437141
push esi
mov byte [edi + 0x1bc], 0
call fcn.00437378
mov dword [edi + 0x198], eax
mov eax, dword [ebx]
add esp, 0x34
mov ecx, eax
mov edx, eax
sar ecx, 0x10
and eax, 0xffff
push eax
and ecx, 0xff
push ecx
sar edx, 0x18
push edx
push str._d._02d._03d
push 0x46d478
call fcn.00436790
add esp, 0x14
push 0x46d478
lea eax, [esp + 0x134]
push 0x45ac24
push eax
call fcn.00436790
add esp, 0xc
lea ecx, [esp + 0x130]
push ecx
mov ecx, edi
call fcn.0042279d
push esi
call fcn.004375bd
mov edi, dword [edi + 0x198]
add esp, 4
lea edx, [esp + 0x28]
push 0x45ac20
push edx
call fcn.00436b9c
add esp, 8
test eax, eax
jne 0x402323
mov eax, 0x45aaeb
jmp 0x402330
mov edx, eax
mov ecx, edi
call fcn.00411940
lea esp, [esp]
mov cl, byte [ebp]
cmp cl, byte [eax]
jne 0x402351
test cl, cl
je 0x40234d
mov cl, byte [ebp + 1]
cmp cl, byte [eax + 1]
jne 0x402351
add ebp, 2
add eax, 2
test cl, cl
jne 0x402330
xor eax, eax
jmp 0x402356
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00436724
add esp, 0x634
ret