Function at 0x403bd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
jg 0x429e62
jle 0x403c44
add al, byte [eax]
mov eax, dword [edi]
xor ebx, ebx
mov dword [edi + 4], ebx
mov byte [eax], bl
mov byte [esp + 0xd], bl
cmp dword [esi + 8], ebx
je 0x429e82
xor ebp, ebp
lea esp, [esp]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 8]
je 0x403cf4
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov cl, byte [eax + edx]
mov byte [esp + ebp + 0xc], cl
inc ebp
inc eax
mov dword [esi + 0xc], eax
cmp ebp, 1
jb 0x403c00
add dword [esi + 0x10], ebp
adc dword [esi + 0x14], ebx
cmp ebp, ebx
je 0x403d1d
mov bl, byte [esp + 0xc]
cmp bl, 0xd
je 0x403c76
cmp bl, 0xa
je 0x403c94
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
mov byte [esp + 0xd], 1
jg 0x429e9e
mov eax, dword [edi + 4]
add eax, 2
cmp dword [edi + 8], eax
jb 0x403c9d
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov byte [eax + ecx], bl
inc dword [edi + 4]
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov byte [eax + edx], 0
xor ebx, ebx
jmp 0x403bf1
lea eax, [esp + 0xc]
push eax
mov ebx, 1
call fcn.00403d40
test eax, eax
je 0x403c94
cmp byte [esp + 0xc], 0xa
jne 0x429fab
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
cmp eax, 0x41c2
jae 0x429ed0
lea edx, [eax + eax]
mov dword [edi + 8], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x429fa1
add eax, 0xf
shr eax, 4
shl eax, 4
push eax
mov dword [edi + 8], eax
call fcn.0041171a
mov ebp, eax
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x403ced
mov ecx, dword [edi + 4]
inc ecx
push ecx
push eax
push ebp
call fcn.00410f70
mov edx, dword [edi]
push edx
call fcn.004112ef
add esp, 0x10
mov dword [edi], ebp
jmp 0x403c5b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebx
lea edx, [esp + 0x14]
push edx
push 0x10000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x403c23
jmp 0x429e93
cmp byte [esp + 0xd], 0
jne 0x403c94
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
dec dword [eax]
push edi
call fcn.00437bb9
push 0x10
mov dword [edi + 8], 0x10
call fcn.0041171a
add esp, 4
mov dword [edi], eax
jmp 0x403be4
push esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00444309
jmp 0x403bfa
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
jmp 0x403c0c
dec dword [eax]
push edi
call fcn.00437bb9
mov edx, dword [edi + 4]
add edx, 2
push edx
call fcn.0044530d
push eax
mov dword [edi + 8], eax
call fcn.0041171a
mov ecx, dword [edi]
mov ebp, eax
mov eax, dword [edi + 4]
inc eax
push eax
push ecx
push ebp
call fcn.00410f70
jmp 0x403cea
cmp eax, 0x2000000
jae 0x429f19
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x429ee9
fadd qword [0x48c528]
fmul qword [0x48c558]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
fldcw word [esp + 0xe]
jmp 0x403cae
cmp eax, 0x8000000
jae 0x429f62
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x429f32
fadd qword [0x48c528]
fmul qword [0x48c568]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [edi + 8], ecx
fldcw word [esp + 0xe]
jmp 0x403cae
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x429f74
fadd qword [0x48c528]
fmul qword [0x48c560]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov edx, dword [esp + 0x14]
fldcw word [esp + 0xe]
jmp 0x403cab
mov eax, 0x10
jmp 0x403cc2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0040e0d0
jmp 0x403c94