Function at 0x431bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b68c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8bc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x74], ebx
lea eax, [esp + 0x8dc]
xor esi, esi
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8d8], esi
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x88]
mov byte [esp + 0x8d4], 1
call fcn.004b0208
mov edi, dword [esp + 0x8e0]
mov byte [esp + 0x8d4], 2
mov eax, dword [edi + 8]
cmp eax, esi
jle 0x431c5c
lea ecx, [esp + 0x10]
push esi
push ecx
mov ecx, edi
call fcn.00401460
mov edx, dword [esp + 0x90]
push eax
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x8dc], 3
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d4], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x431c19
lea ebp, [ebx + 0x6c]
push ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x8dc]
lea ecx, [ebx + 0x24]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x8e0]
mov byte [esp + 0x8d8], 4
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x48]
call fcn.004b0208
lea ecx, [esp + 0x9c]
mov byte [esp + 0x8d4], 5
call fcn.004b0208
lea eax, [esp + 0x48]
lea edx, [esp + 0x8dc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x8e0], 6
call sub.MFC42u.DLL_CString::CString_3
mov ecx, ebx
call fcn.00434e70
test eax, eax
je 0x431d0c
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x432491
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x431d5d
mov bl, 7
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x50]
call fcn.00401460
mov ecx, dword [esp + 0xa4]
push eax
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x8dc], bl
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d4], 6
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x50]
inc esi
cmp esi, eax
jl 0x431d18
mov esi, 3
xor edi, edi
cmp eax, esi
mov dword [esp + 0x24], edi
jle 0x431da4
lea edx, [esi + 1]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.00401460
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
lea ecx, [esp + 0x10]
add edi, eax
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x50]
add esi, 2
cmp esi, eax
jl 0x431d6c
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x10]
push 2
push ecx
lea ecx, [esp + 0x50]
call fcn.00401460
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
cdq
mov ebx, eax
mov esi, edx
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
call sub.MFC42u.DLL_CString::CString
test esi, esi
jl 0x431e17
jg 0x431de0
test ebx, ebx
jbe 0x431e17
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
push 1
push 0x4e28c0
push 0
lea ecx, [esp + 0x94]
mov byte [esp + 0x8e0], 8
call sub.MFC42u.DLL_CStringArray::InsertAt
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d4], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xb8]
call fcn.004b0424
mov eax, dword [esp + 0x50]
mov byte [esp + 0x8d4], 9
cmp eax, 3
mov byte [esp + 0x17], 0
jle 0x432455
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
xor edi, edi
mov dword [esp + 0x1c], 0x10
mov ecx, dword [esp + 0x90]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jle 0x431f27
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x90]
call fcn.00401460
lea eax, [edi + 4]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x8dc], 0xa
call fcn.00401460
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
mov ebx, eax
push esi
dec ebx
call ebp
add esp, 8
cmp ebx, eax
lea ecx, [esp + 0x10]
setb bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x431f0e
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [esp + 0x18]
mov byte [esp + 0x8d4], 0xb
push edx
call ebp
inc eax
push eax
lea eax, [esp + 0x28]
push 0x4d0314
push eax
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
lea ecx, [eax + edx]
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x17], 1
mov byte [esp + 0x8d4], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x8d4], 9
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
add edi, 2
add edx, 8
mov dword [esp + 0x1c], edx
lea ecx, [edi + 3]
cmp ecx, eax
jl 0x431e4d
mov al, byte [esp + 0x17]
test al, al
je 0x432451
mov edx, dword [esp + 0x8dc]
xor ebp, ebp
push ebp
push edx
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x431f7f
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x43247d
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CFile::CFile
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8d4], 0xc
call sub.MFC42u.DLL_CException::CException
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8d4], 0xd
call sub.MFC42u.DLL_CString::CString_1
mov edi, 0x4bc494
push ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0x8d8], 0xe
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], 0xffffffff
call fcn.004b0454
mov ecx, dword [esp + 0x8dc]
lea eax, [esp + 0x5c]
push eax
push 0x12
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x8e0], 0xf
call sub.MFC42u.DLL_CFile::Open
test eax, eax
jne 0x43203a
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8d4], 0x10
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0x4bc480
mov byte [esp + 0x8d4], 9
call fcn.004b0436
jmp 0x43247d
mov edx, dword [esp + 0x38]
push ebp
push ebp
lea ecx, [esp + 0x40]
call dword [edx + 0x30]
cmp esi, ebp
jl 0x432058
jg 0x432051
cmp ebx, ebp
jbe 0x432058
mov eax, 1
jmp 0x43205a
xor eax, eax
push esi
push ebx
push eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00431560
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0xcd]
mov byte [esp + 0xcc], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x20]
mov byte [esp + 0x8d4], 0x11
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
call fcn.00428bd0
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xd0]
push ecx
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
push esi
call fcn.00428c40
add esp, 0x14
lea ecx, [esp + 0xcc]
push 0x800
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CFile::Write
mov eax, dword [esp + 0x50]
mov esi, 3
cmp eax, esi
mov dword [esp + 0x84], ebp
jle 0x43212c
lea edx, [esi + 1]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.00401460
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
lea ecx, [esp + 0x10]
add ebp, eax
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x50]
add esi, 2
cmp esi, eax
jl 0x4320f1
mov dword [esp + 0x84], ebp
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CFile::GetLength
mov ebx, eax
mov eax, dword [esp + 0x24]
cdq
xor ecx, ecx
push edx
sub ebx, 0x800
push eax
push ecx
push ebx
call fcn.004b0ca0
mov dword [esp + 0xb0], eax
or eax, edx
mov dword [esp + 0xb4], edx
jne 0x4321c2
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CFile::Close
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esp + 0x20]
mov byte [esp + 0x8d4], 0xf
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x5c], 0x4bc494
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8d4], 0x12
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0x4bc480
mov byte [esp + 0x8d4], 9
call fcn.004b0436
jmp 0x43247d
mov eax, ebp
cdq
mov edi, edx
mov esi, eax
push edi
xor eax, eax
push esi
push eax
push ebx
call fcn.004b0ca0
add eax, 1
push edi
adc edx, 0
push esi
push edx
push eax
call fcn.004b0c60
mov ebx, eax
mov dword [esp + 0x80], edx
lea ecx, [ebx + 0x800]
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CFile::SetLength
mov edx, dword [esp + 0x80]
push edi
push esi
push edx
push ebx
call fcn.004b0ca0
mov esi, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
push esi
mov dword [esp + 0x84], edx
call sub.MFC42u.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x1c], edi
push ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call sub.MFC42u.DLL_operatornew
mov ecx, ebp
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x10], esi
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, edi
xor ebx, ebx
imul eax, dword [esp + 0x24]
add eax, 0x800
push ebx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], ebx
call sub.MFC42u.DLL_CFile::Seek
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CFile::Read
cmp eax, dword [esp + 0x24]
jne 0x4323a9
cmp dword [esp + 0xa4], 3
jle 0x43235d
mov ebp, 4
jmp 0x4322b9
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
lea edi, [ebx + eax]
lea edx, [ecx + esi]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xa4]
call fcn.00401460
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__wtoi]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x70]
add ebx, eax
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x78]
push ebp
push edx
lea ecx, [esp + 0x50]
call fcn.00401460
mov eax, dword [eax]
push eax
call esi
mov esi, dword [esp + 0x20]
add esp, 4
add esi, eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], esi
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xa4]
add ebp, 2
lea eax, [ebp - 1]
cmp eax, ecx
jl 0x4322b5
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push 2
push 0
lea ecx, [esp + 0x40]
call dword [edx + 0x30]
push ebp
push esi
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CFile::Write
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xb0]
add edi, 1
adc ecx, 0
cmp eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
jne 0x432266
mov eax, ecx
mov ecx, dword [esp + 0xb4]
cmp ecx, eax
jne 0x432266
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
xor ebx, ebx
and ecx, 3
push ebx
rep stosb byte es:[edi], al
push 0x800
lea ecx, [esp + 0x40]
xor edi, edi
call sub.MFC42u.DLL_CFile::Seek
push ebp
push esi
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CFile::Write
mov eax, dword [esp + 0x7c]
add edi, 1
adc ebx, 0
cmp edi, eax
jne 0x4323d0
cmp ebx, dword [esp + 0x80]
jne 0x4323d0
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42u.DLL_operatordelete
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [esp + 0x20]
mov byte [esp + 0x8d4], 0xf
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x5c], 0x4bc494
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8d4], 0x13
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0x4bc480
mov byte [esp + 0x8d4], 9
call fcn.004b0436
mov ebp, dword [esp + 0x2c]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [esp + 0x78]
call fcn.00435090
lea ecx, [esp + 0xb8]
mov byte [esp + 0x8d4], 6
call sub.MFC42u.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 0x9c]
mov byte [esp + 0x8d4], 5
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x48]
mov byte [esp + 0x8d4], 2
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x88]
mov byte [esp + 0x8d4], 1
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x28]
mov byte [esp + 0x8d4], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x8dc]
mov dword [esp + 0x8d4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x8cc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c8
ret 8