Function at 0x424aae
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x42d259
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x300
push ebx
push esi
push edi
mov esi, ecx
push 6
mov byte [ebp - 0xd], 1
call sub.MFC42.DLL_operatornew
pop ecx
mov edi, 0x104
push edi
mov dword [ebp - 0x1c], eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x40], eax
push 0xf
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x20], eax
push 0xf
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x2c], eax
push edi
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x30c]
call fcn.00401153
mov edi, dword [sym.imp.MSVCRT.dll__ftime]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call edi
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x14], eax
pop ecx
fild dword [ebp - 0x14]
push 5
push dword [ebp - 0x1c]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x431958]
fild dword [ebp - 0x38]
push dword [esi + 0x17c]
fstp qword [ebp - 0x18]
fadd qword [ebp - 0x18]
fstp qword [esi + 0x160]
call dword [sym.imp.MSVCRT.dll__read]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
test eax, eax
mov dword [esi + 0x178], eax
jg 0x424b84
push 0x440404
push 0x440414
push str._s:_ERROR_READING__s
push dword [esi + 0x18c]
call ebx
add esp, 0x10
and byte [ebp - 0xd], 0
fld qword [esi + 0x160]
lea eax, [ebp - 0x38]
fstp qword [ebp - 0x28]
push eax
call edi
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0xd], 0
fild dword [ebp - 0x14]
pop ecx
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x431958]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x18]
fadd qword [ebp - 0x18]
fsub qword [ebp - 0x28]
fadd qword [esi + 0xe0]
fstp qword [esi + 0xe0]
je 0x424ceb
mov eax, dword [ebp - 0x1c]
and byte [eax + 5], 0
push dword [esi + 0x178]
mov ecx, dword [esi + 0x1a0]
push eax
push 1
call fcn.0040c4ee
test al, al
mov byte [ebp - 0xd], al
je 0x424c0c
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x170], eax
push eax
lea ecx, [ebp - 0x30c]
call fcn.0040122f
jmp 0x424c26
push 0x440420
push 0x440430
push str._s_FILE_CONVERSION_ERROR__FIELD___s
push dword [esi + 0x18c]
call ebx
add esp, 0x10
cmp byte [ebp - 0xd], 0
je 0x424ceb
lea eax, [ebp - 0x38]
push eax
call edi
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x14], eax
pop ecx
fild dword [ebp - 0x14]
push dword [esi + 0x170]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x431958]
fild dword [ebp - 0x38]
push dword [esi + 0xc0]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
push dword [esi + 0x17c]
fstp qword [esi + 0x160]
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
mov dword [esi + 0x178], eax
test eax, eax
jle 0x424cd1
fld qword [esi + 0x160]
lea eax, [ebp - 0x4c]
fstp qword [ebp - 0x34]
push eax
call edi
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc0]
fild dword [ebp - 0x14]
pop ecx
mov ecx, dword [esi + 0x170]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x431958]
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fsub qword [ebp - 0x34]
fadd qword [esi + 0xe0]
fstp qword [esi + 0xe0]
and byte [eax + ecx], 0
jmp 0x424ceb
push 0x44043c
push 0x44044c
push str._s:_ERROR_READING__s
push dword [esi + 0x18c]
call ebx
add esp, 0x10
and dword [ebp - 0x14], 0
inc dword [esi + 0xbc]
mov edi, dword [esi + 0xbc]
lea eax, [esi + 0xbc]
mov eax, dword [esi + 0x194]
mov cl, byte [eax + 5]
cmp cl, 0x52
jne 0x424d1b
add eax, 6
push edi
push eax
push str.6n4r_s._03d
jmp 0x424d2a
cmp cl, 0x53
push edi
jne 0x424d36
add eax, 6
push eax
push str.6n4s_s._03d
push dword [ebp - 0x20]
call ebx
add esp, 0x10
xor edi, edi
jmp 0x424d4d
add eax, 6
push eax
push str.6n4d_s._03d
push dword [ebp - 0x20]
call ebx
add esp, 0x10
push 1
pop edi
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x2c]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov ecx, dword [esi + 0x19c]
push ebx
call fcn.0040ad5d
push ebx
lea ecx, [ebp - 0x30c]
call fcn.00401246
push edi
lea ecx, [ebp - 0x30c]
push dword [esi + 0xc0]
call fcn.00401341
cmp word [ebp - 0x14], 0
mov byte [ebp - 0xd], al
je 0x424da0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x30c]
call fcn.004014bf
mov byte [ebp - 0xd], al
push ebx
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x2c]
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x3c]
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x1c]
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x40]
call sub.MFC42.DLL_operatordelete
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x30c]
call fcn.0040119b
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret