Function at 0x41a23e
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x43ce88
call fcn.00432e40
sub esp, 0x440
mov dword [ebp - 0x2c], ecx
push esi
push 0x457968
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x2c]
xor esi, esi
push esi
push 1
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.0041a5df
test eax, eax
je 0x41a5c2
lea eax, [ebp - 0x34]
push esi
push eax
lea eax, [ebp - 0x44c]
push 0x400
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a2cc
cmp dword [ebp - 0x34], esi
je 0x41a2cc
push dword [ebp - 0x34]
lea eax, [ebp - 0x44c]
lea ecx, [ebp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
jmp 0x41a27a
mov eax, dword [ebp - 0x10]
push ebx
xor ebx, ebx
push edi
cmp dword [eax - 8], esi
jle 0x41a5b3
mov esi, dword [sym.imp.MSVCRT.dll_strtoul]
push ebx
push 0x2d
pop ebx
lea ecx, [ebp - 0x10]
push ebx
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
cmp edi, 0xffffffff
je 0x41a5b3
lea eax, [edi + 1]
lea ecx, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x28], eax
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x41a5b3
inc eax
lea ecx, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x30], eax
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x41a5b3
inc eax
lea ecx, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x24], eax
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x41a5b3
inc eax
lea ecx, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x20], eax
call sub.MFC42.DLL_CString::Find_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a5b3
cmp edi, 2
jl 0x41a5a4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
add eax, 0xfffffffd
cmp ebx, eax
jg 0x41a5b3
mov ecx, dword [ebp - 0x14]
push 3
sub ecx, edi
pop eax
cmp ecx, eax
jne 0x41a5a4
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x14]
cmp ecx, eax
jne 0x41a5a4
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x18]
cmp ecx, eax
jne 0x41a5a4
mov ecx, ebx
sub ecx, dword [ebp - 0x1c]
cmp ecx, eax
jne 0x41a5a4
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_2
and dword [ebp + 8], 0
add edi, 0xfffffffe
push 2
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
push 0x10
pop edi
lea ecx, [eax + 2]
push edi
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x10]
push 2
push dword [ebp - 0x28]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push 2
push dword [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x30], eax
push 2
push dword [ebp - 0x24]
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push 2
push dword [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebx + 1]
lea ecx, [ebp - 0x10]
push 2
push eax
lea eax, [ebp - 0x48]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
call esi
push 8
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_operatornew
mov edi, eax
push 8
push 0
push edi
call sub.MSVCRT.dll_memset
mov al, byte [ebp - 0x1c]
add esp, 0x1c
mov byte [edi], al
mov al, byte [ebp - 0x18]
push edi
mov byte [edi + 1], al
mov al, byte [ebp - 0x30]
mov byte [edi + 2], al
mov al, byte [ebp - 0x24]
mov byte [edi + 3], al
mov al, byte [ebp - 0x20]
mov byte [edi + 4], al
mov al, byte [ebp - 0x14]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 0xc]
call fcn.0041a611
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
add ebx, 3
call sub.MFC42.DLL_CString::CString
jmp 0x41a5a7
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
cmp ebx, dword [eax - 8]
jl 0x41a2e2
mov eax, dword [ebp - 0x2c]
xor esi, esi
pop edi
pop ebx
cmp dword [eax + 0x18], esi
je 0x41a5c2
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8