Function at 0x42c720
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42fad7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ecx
xor ebx, ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x8d0], ebx
call sub.mfc42.dll_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d0], 1
call sub.mfc42.dll_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x8d0], 2
call sub.mfc42.dll_CString::CString_3
push 0x4047d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8d4], 3
call sub.mfc42.dll_CString::CString_1
push 0x4047c4
lea ecx, [esp + 0x20]
mov byte [esp + 0x8d4], 4
call sub.mfc42.dll_CString::CString_1
push 0x4047bc
lea ecx, [esp + 0x38]
mov byte [esp + 0x8d4], 5
call sub.mfc42.dll_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x8d0], 6
call sub.mfc42.dll_CString::CString_3
lea ecx, [esp + 0x38]
mov byte [esp + 0x8d0], 7
call sub.mfc42.dll_CString::CString_3
push ebx
push 0x4041b8
lea ecx, [esp + 0x8e0]
mov byte [esp + 0x8d8], 8
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], ebx
xor edi, edi
call sub.mfc42.dll_CString::Find
mov esi, eax
mov eax, dword [esp + 0x8d8]
cmp esi, dword [eax - 8]
je 0x42cc55
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x8e0]
call sub.mfc42.dll_CString::Left
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8d4], 9
call sub.mfc42.dll_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x8d0], 8
call sub.mfc42.dll_CString::CString
mov edx, dword [esp + 0x28]
push 0x4047b8
push edx
call dword [sym.imp.msvcrt.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42cc55
lea ebp, [esi + 1]
lea ecx, [esp + 0x8d8]
push ebp
push 0x4041b8
call sub.mfc42.dll_CString::Find
mov ecx, dword [esp + 0x8d8]
cmp esi, dword [ecx - 8]
je 0x42cc55
sub eax, esi
lea edx, [esp + 0x20]
dec eax
lea ecx, [esp + 0x8d8]
push eax
push ebp
push edx
call sub.mfc42.dll_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x8d4], 0xa
call sub.mfc42.dll_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x8d0], 8
call sub.mfc42.dll_CString::CString
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.msvcrt.dll__mbscmp]
push 0x4041c0
push eax
call esi
add esp, 8
test eax, eax
jne 0x42c8f0
mov ecx, dword [esp + 0x2c]
add ecx, 0x10c
push ecx
lea ecx, [esp + 0x14]
call sub.mfc42.dll_CString::operator_1
push ebx
push 0x4047a0
lea ecx, [esp + 0x8e0]
call sub.mfc42.dll_CString::Find
mov edx, dword [esp + 0x8d8]
cmp eax, dword [edx - 8]
je 0x42c91b
mov eax, dword [esp + 0x8e0]
mov dword [eax], 1
push 0x2e
lea ecx, [esp + 0x14]
call sub.mfc42.dll_CString::ReverseFind
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
cmp eax, edx
je 0x42c9c5
mov ecx, edx
inc eax
push ecx
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8d4], 0xb
call sub.mfc42.dll_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x8d0], 8
call sub.mfc42.dll_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
push eax
call sub.mfc42.dll_CString::GetBuffer
push eax
call dword [sym.imp.msvcrt.dll__strlwr]
mov eax, dword [esp + 0x18]
push 0x40479c
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x42c9a4
push 0x4047c4
lea ecx, [esp + 0x20]
call sub.mfc42.dll_CString::operator_1
mov ecx, dword [esp + 0x14]
push 0x404798
push ecx
call esi
add esp, 8
test eax, eax
jne 0x42c9c5
push 0x40477c
lea ecx, [esp + 0x20]
call sub.mfc42.dll_CString::operator_1
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.msvcrt.dll_time]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.msvcrt.dll_gmtime]
push eax
push 0x404760
lea ecx, [esp + 0x58]
push 0x80
push ecx
call dword [sym.imp.msvcrt.dll_strftime]
mov eax, dword [esp + 0x44]
add esp, 0x18
lea edx, [esp + 0x10]
add eax, 8
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_operator_1
mov eax, dword [eax]
push 0x40475c
push eax
call dword [sym.imp.msvcrt.dll_fopen]
add esp, 8
lea ecx, [esp + 0x20]
mov esi, eax
call sub.mfc42.dll_CString::CString
cmp esi, ebx
je 0x42cadb
mov edi, dword [sym.imp.msvcrt.dll_fseek]
push 2
push ebx
push esi
call edi
lea edx, [esp + 0x48]
push edx
push esi
call dword [sym.imp.msvcrt.dll_fgetpos]
push ebx
push ebx
push esi
call edi
mov eax, dword [esp + 0x5c]
inc eax
push eax
call sub.mfc42.dll_operatornew
mov ecx, dword [esp + 0x60]
push esi
mov edi, eax
push ecx
push 1
push edi
call dword [sym.imp.msvcrt.dll_fread]
push esi
mov ebp, eax
call dword [sym.imp.msvcrt.dll_fclose]
mov edx, dword [esp + 0x918]
add esp, 0x38
mov dword [esp + 0x2c], 0x404750
cmp dword [edx], ebx
jne 0x42ca8f
mov dword [esp + 0x2c], 0x4047bc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax - 8]
mov esi, dword [ecx - 8]
push eax
lea ecx, [esp + 0x20]
call sub.mfc42.dll_CString::GetBuffer
mov edx, dword [esp + 0x2c]
push eax
push edx
push ebp
lea eax, [esp + 0x54]
push 0x404744
push eax
push esi
lea ecx, [esp + 0x30]
call sub.mfc42.dll_CString::GetBuffer
push eax
lea ecx, [esp + 0xe0]
push 0x4046d0
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x20
jmp 0x42cb3b
push 0x4046b8
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CString::operator_1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov esi, dword [edx - 8]
mov ebp, dword [eax - 8]
push esi
call sub.mfc42.dll_CString::GetBufferSetLength
push eax
lea ecx, [esp + 0x4c]
push 0x404744
push ecx
push esi
push ebp
lea ecx, [esp + 0x2c]
call sub.mfc42.dll_CString::GetBuffer
push eax
lea edx, [esp + 0xdc]
push 0x404660
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
mov eax, dword [esp + 0x8fc]
mov ebp, dword [esp + 0x4c]
add esp, 0x1c
mov dword [eax], ebx
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x34]
call sub.mfc42.dll_CString::CString_1
mov esi, dword [esp + 0x8dc]
push eax
mov ecx, esi
mov byte [esp + 0x8d4], 0xc
call sub.mfc42.dll_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x8d0], 8
call sub.mfc42.dll_CString::CString
cmp edi, ebx
je 0x42cba4
push ebp
push edi
lea ecx, [esp + 0x38]
call fcn.0042deba
push eax
mov ecx, esi
mov byte [esp + 0x8d4], 0xd
call fcn.0042deb4
lea ecx, [esp + 0x30]
mov byte [esp + 0x8d0], 8
call sub.mfc42.dll_CString::CString
push edi
call sub.mfc42.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x8d0], 7
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x8d0], 6
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x8d0], 5
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8d0], 4
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x8d0], 3
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8d0], 2
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d0], 1
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x8d0], bl
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x8d8]
mov dword [esp + 0x8d0], 0xffffffff
call sub.mfc42.dll_CString::CString
mov eax, 1
jmp 0x42ccf5
lea ecx, [esp + 0x38]
mov byte [esp + 0x8d0], 7
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x8d0], 6
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x8d0], 5
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8d0], 4
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x8d0], 3
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8d0], 2
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d0], 1
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x8d0], bl
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x8d8]
mov dword [esp + 0x8d0], 0xffffffff
call sub.mfc42.dll_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x8c8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c4
ret 0xc