Function at 0x419d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x2c], eax
push edi
mov dword [ebp - 0x680], ecx
mov dword [ebp - 0x14], str.___r_n
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0
push str..nfo2
mov eax, dword [ebp + 8]
push eax
call fcn.0040ad50
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x24], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x419dee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_files.nfo__error_code___d
mov edx, dword [ebp - 0x680]
push edx
call fcn.0041e290
add esp, 0xc
xor eax, eax
jmp 0x41a2be
push 2
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
call fcn.00479171
add esp, 4
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x28], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419e53
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
je 0x419e97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_read_files.nfo__error_code___d
mov eax, dword [ebp - 0x680]
push eax
call fcn.0041e290
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x670], ecx
mov edx, dword [ebp - 0x670]
push edx
call fcn.0047916c
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41a2be
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
je 0x419f09
push 3
push 0x48b5e8
mov edx, dword [ebp - 0x28]
push edx
call fcn.00416340
add esp, 0xc
test eax, eax
je 0x419edd
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
push ecx
call fcn.0047916c
add esp, 4
xor eax, eax
jmp 0x41a2be
mov edx, dword [ebp - 0x28]
movsx eax, byte [edx + 3]
sub eax, 0x30
imul eax, eax, 0x64
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx + 4]
sub edx, 0x30
imul edx, edx, 0xa
add eax, edx
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx + 5]
lea eax, [eax + edx - 0x30]
mov dword [ebp - 0x10], eax
jmp 0x419f10
mov dword [ebp - 0x10], 0x64
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
cmp dword [ebp - 0x24], 0
je 0x419f32
push 0xa
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040ad30
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x419f38
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41a26b
mov eax, dword [ebp - 0x680]
cmp dword [eax + 0x534], 0
jne 0x419f6b
xor eax, eax
jmp 0x41a2be
mov ecx, 0x18e
xor eax, eax
lea edi, [ebp - 0x668]
rep stosd dword es:[edi], eax
push 0x100
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x668]
push edx
call fcn.004031d0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x419fb5
mov dword [ebp - 4], 0
jmp 0x41a26b
push 0x100
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x568]
push edx
call fcn.004031d0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x419ff0
mov dword [ebp - 4], 0
jmp 0x41a26b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x14]
push edx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a025
mov dword [ebp - 4], 0
jmp 0x41a26b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x24], 0
je 0x41a1e2
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a064
mov dword [ebp - 4], 0
jmp 0x41a26b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a099
mov dword [ebp - 4], 0
jmp 0x41a26b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x450], eax
mov edx, dword [ebp - 0x14]
push edx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a0ce
mov dword [ebp - 4], 0
jmp 0x41a26b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a103
mov dword [ebp - 4], 0
jmp 0x41a26b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a138
mov dword [ebp - 4], 0
jmp 0x41a26b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x14]
push edx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a16d
mov dword [ebp - 4], 0
jmp 0x41a26b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a19f
mov dword [ebp - 4], 0
jmp 0x41a26b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a1d1
mov dword [ebp - 4], 0
jmp 0x41a26b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x38], eax
jmp 0x41a246
mov edx, dword [ebp - 0x14]
push edx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a202
mov dword [ebp - 4], 0
jmp 0x41a26b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a234
mov dword [ebp - 4], 0
jmp 0x41a26b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0046406f
add esp, 4
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x668]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00420360
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call fcn.0041f300
add esp, 8
mov dword [ebp - 0x1c], eax
jmp 0x419f4b
cmp dword [ebp - 4], 0
jne 0x41a2a1
push str.Cannot_parse_files.nfo_
mov edx, dword [ebp - 0x680]
push edx
call fcn.0041e290
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x678], eax
mov ecx, dword [ebp - 0x678]
push ecx
call fcn.0047916c
add esp, 4
xor eax, eax
jmp 0x41a2be
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x67c], edx
mov eax, dword [ebp - 0x67c]
push eax
call fcn.0047916c
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x2c]
call fcn.004635af
pop edi
mov esp, ebp
pop ebp
ret 8