Function at 0x403bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b3198
push 0x468810
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2238
call fcn.00467fe0
mov eax, dword [0x4b9b20]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, edx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x2248], ecx
xor ebx, ebx
mov byte [ebp - 0x3c], bl
xor eax, eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov word [ebp - 0x1f], ax
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x240], bl
push 0x1ff
push ebx
lea edx, [ebp - 0x23f]
push edx
call fcn.004661f0
add esp, 0xc
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x224c]
push eax
push 0x2000
lea ecx, [ebp - 0x2240]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x403e4e
cmp dword [ebp - 0x224c], 0x2000
jb 0x403e4e
lea ebx, [ebp - 0x2240]
call fcn.00405db0
test eax, eax
je 0x403e4e
mov eax, dword [ebp - 0x2228]
shr eax, 8
mov ecx, esi
cmp al, 1
jne 0x403cff
lea edx, [ebp - 0x240]
call fcn.00403980
test eax, eax
jne 0x403e1c
mov dword [ebp - 0x2244], 0xc0000101
jmp 0x403e58
lea edi, [ebp - 0x3c]
call fcn.00405a90
mov eax, 0x20
lea ecx, [ebp - 0x1fe4]
mov edx, edi
cmp eax, 4
jb 0x403d5e
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x403d2a
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x403d14
movzx eax, byte [edx]
movzx edi, byte [ecx]
sub eax, edi
jne 0x403d56
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x403d56
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x403d56
movzx eax, byte [edx + 3]
movzx edx, byte [ecx + 3]
sub eax, edx
sar eax, 0x1f
or eax, 1
jmp 0x403d60
xor eax, eax
test eax, eax
jne 0x403cf0
lea ebx, [ebp - 0x2240]
movzx edi, word [ebx + 0x24f]
push edi
lea eax, [ebx + 0x4f]
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.00466270
add esp, 0xc
push edi
mov ecx, esi
lea edi, [ebp - 0x240]
call fcn.00405b70
add esp, 4
lea edx, [ebp - 0x3c]
push edx
movzx eax, word [ebx + 0x24f]
push eax
mov ecx, edi
push ecx
call fcn.0043a230
add esp, 0xc
mov eax, 0x20
lea ecx, [ebx + 0x27c]
lea edx, [ebp - 0x3c]
jmp 0x403dc0
cmp eax, 4
jb 0x403e0a
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x403dd6
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x403dc0
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x403e02
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x403e02
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x403e02
movzx eax, byte [edx + 3]
movzx edx, byte [ecx + 3]
sub eax, edx
sar eax, 0x1f
or eax, 1
jmp 0x403e0c
xor eax, eax
test eax, eax
je 0x403e1c
mov dword [ebp - 0x2244], 0xc0000102
jmp 0x403e58
mov ecx, dword [ebp - 0x2250]
test ecx, ecx
je 0x403e58
lea eax, [ebp - 0x2240]
movzx edi, word [eax + 0x24f]
push edi
lea eax, [ebp - 0x240]
push eax
push ecx
call fcn.00466270
add esp, 0xc
mov ecx, dword [ebp - 0x2248]
mov dword [ecx], edi
jmp 0x403e58
mov dword [ebp - 0x2244], 0xc0000201
mov dword [ebp - 4], 0xfffffffe
call fcn.00403e86
mov eax, dword [ebp - 0x2244]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00466e70
mov esp, ebp
pop ebp
ret