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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x577e2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], esi
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
push 0xffffffffffffffff
lea ecx, [esi + 0x218]
push edi
mov dword [esp + 0xf0], edi
mov byte [esp + 0x1f], 1
call sub.MFC42.DLL_CStringArray::SetSize
lea ebp, [esi + 0x258]
push 0xffffffffffffffff
push edi
mov ecx, ebp
call fcn.00404f60
cmp dword [esi + 0x22c], edi
jne 0x45dca4
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0045ff80
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0045fe50
mov eax, dword [esi + 0x22c]
mov cl, byte [eax + 0x9e]
test cl, cl
je 0x45dd06
mov ecx, esi
call fcn.0045fa60
cmp eax, edi
jge 0x45dd06
mov ecx, dword [esi + 0x22c]
push 0x5e2fa0
mov byte [ecx + 0x9e], 0
mov edx, dword [esi + 0x22c]
mov dword [edx + 0x64], edi
mov ecx, dword [esi + 0x22c]
add ecx, 0x10
call fcn.004ea8a0
mov ecx, dword [esi + 0x22c]
push edi
call fcn.0044cdd0
mov ebx, dword [esi + 0x234]
lea ecx, [esp + 0x68]
call fcn.0041fff0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebx + 4]
add ebx, 4
mov ecx, ebx
mov byte [esp + 0xe8], 2
mov edi, 1
call dword [eax + 0x20]
cmp eax, edi
jbe 0x45de01
mov edx, dword [ebx]
push 0
lea eax, [esp + 0x6c]
push 0
push eax
push 1
push edi
mov ecx, ebx
call dword [edx + 0x54]
test eax, eax
je 0x45df14
push 0
push 0
push 1
push edi
mov ecx, ebx
mov dword [esp + 0x34], 0
call fcn.004ec821
push eax
lea ecx, [esp + 0x20]
call fcn.004ea8a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x45df14
lea ecx, [esp + 0x24]
push ecx
push 0x5c5034
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x45df14
push 0
push 0
push 2
push edi
mov ecx, ebx
call fcn.004ec821
push eax
lea ecx, [esp + 0x20]
call fcn.004ea8a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x45df14
lea edx, [esp + 0x24]
push edx
push 0x5c5034
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x45df14
mov eax, dword [ebx]
mov ecx, ebx
inc edi
call dword [eax + 0x20]
cmp edi, eax
jb 0x45dd46
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
mov edi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0xe8], 0
call fcn.004ef704
mov eax, dword [esi + 0x22c]
push ecx
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.004600e0
mov edi, eax
test edi, edi
je 0x45e234
mov ecx, dword [esi + 0x22c]
mov eax, dword [ecx + 0x2b0]
add eax, 0x598
mov ecx, eax
mov dword [esp + 0x38], eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x28], ebx
jl 0x45e539
push ebx
mov ecx, esi
call fcn.0045fd90
mov eax, dword [esi + 0x22c]
fstp dword [esp + 0x2c]
mov cl, byte [eax + 0x9e]
test cl, cl
je 0x45df1a
mov eax, dword [esi + 0x23c]
test eax, eax
jl 0x45df1a
mov ecx, dword [esi + 0x234]
push 0
push 0
push eax
push ebx
add ecx, 4
mov byte [esp + 0x27], 0
call fcn.004ec821
push eax
lea ecx, [esp + 0x1c]
call fcn.004ea8a0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
push 0x5c5034
push edx
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x45e21e
mov eax, dword [esi + 0x22c]
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 0x64]
jne 0x45e21e
mov byte [esp + 0x17], 1
jmp 0x45df26
dec edi
jmp 0x45de0a
mov al, byte [esp + 0x17]
test al, al
je 0x45e21e
lea edx, [esp + 0x34]
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0x234]
push edx
push ebx
call fcn.00448e50
lea eax, [esp + 0xd4]
push 1
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
call fcn.0044a1c0
test al, al
je 0x45e21e
cmp edi, 1
jne 0x45dfba
fld qword [esp + 0x3c]
fadd qword [0x586030]
call sub.MSVCRT.dll__ftol
push eax
lea ecx, [esp + 0x1c]
push 0x5c5034
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x45e159
cmp edi, 2
jne 0x45dfe6
fld qword [esp + 0x44]
fadd qword [0x586030]
call sub.MSVCRT.dll__ftol
push eax
lea edx, [esp + 0x1c]
push 0x5c5034
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x45e159
cmp edi, 3
je 0x45e09b
cmp edi, 4
je 0x45e09b
cmp edi, 5
je 0x45e006
cmp edi, 6
jne 0x45e159
lea ecx, [esp + 0x68]
call fcn.00423430
fld qword [esp + 0x3c]
fadd qword [0x586030]
xor eax, eax
cmp edi, 5
setne al
inc eax
mov byte [esp + 0xe8], 4
mov dword [esp + 0x80], eax
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp qword [esp + 0x70]
fld qword [esp + 0x44]
fadd qword [0x586030]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x68]
fild dword [esp + 0x20]
fstp qword [esp + 0x78]
call fcn.00423490
fld qword [esp + 0x88]
call sub.MSVCRT.dll__ftol
push eax
lea ecx, [esp + 0x1c]
push 0x5c5034
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x68]
mov byte [esp + 0xe8], 0
call fcn.00423480
jmp 0x45e159
lea ecx, [esp + 0xa4]
call fcn.00423430
fld qword [esp + 0x3c]
fadd qword [0x586030]
mov byte [esp + 0xe8], 3
mov dword [esp + 0xbc], 0
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp qword [esp + 0xac]
fld qword [esp + 0x44]
fadd qword [0x586030]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xa4]
fild dword [esp + 0x20]
fstp qword [esp + 0xb4]
call fcn.00423490
fld qword [esp + 0xc4]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xcc]
mov ebx, eax
call sub.MSVCRT.dll__ftol
cmp edi, 3
jne 0x45e12e
push ebx
lea edx, [esp + 0x1c]
push 0x5c5034
push edx
jmp 0x45e139
push eax
lea eax, [esp + 0x1c]
push 0x5c5034
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe8], 0
call fcn.00423480
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x45e1a9
mov eax, dword [esi + 0x220]
lea ecx, [esi + 0x218]
lea edx, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [ebx + 1]
push eax
call fcn.00404f60
mov ecx, dword [ebp + 4]
fld dword [esp + 0x2c]
fstp dword [ecx + ebx*4]
jmp 0x45e21a
mov edx, dword [esi + 0x22c]
mov al, byte [edx + 0xa0]
test al, al
je 0x45e21e
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
push 0x53cc
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 5
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esi + 0x220]
lea ecx, [esi + 0x218]
lea edx, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [ebx + 1]
push eax
call fcn.00404f60
mov ecx, dword [ebp + 4]
mov byte [esp + 0xe8], 0
fld dword [esp + 0x2c]
fstp dword [ecx + ebx*4]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x28], ebx
jle 0x45de88
jmp 0x45e539
mov eax, dword [esp + 0x20]
test eax, eax
jge 0x45e268
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x34], edi
jl 0x45e539
push edi
mov ecx, esi
call fcn.0045fd90
mov edx, dword [esi + 0x22c]
fstp dword [esp + 0x2c]
mov al, byte [edx + 0x9e]
test al, al
je 0x45e309
mov eax, dword [esi + 0x23c]
test eax, eax
jl 0x45e309
mov ecx, dword [esi + 0x234]
push 0
push 0
push eax
push edi
add ecx, 4
mov byte [esp + 0x27], 0
call fcn.004ec821
push eax
lea ecx, [esp + 0x1c]
call fcn.004ea8a0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push 0x5c5034
push ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x45e528
mov edx, dword [esi + 0x22c]
mov eax, dword [esp + 0x30]
cmp eax, dword [edx + 0x64]
jne 0x45e528
mov byte [esp + 0x17], 1
jmp 0x45e315
mov al, byte [esp + 0x17]
test al, al
je 0x45e528
mov ecx, dword [esi + 0x238]
push 0
push 0
push ecx
mov ecx, dword [esi + 0x234]
push edi
add ecx, 4
call fcn.004ec821
push eax
lea ecx, [esp + 0x1c]
call fcn.004ea8a0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
jle 0x45e38c
mov eax, dword [esi + 0x220]
lea ecx, [esi + 0x218]
lea edx, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [ebx + 1]
push eax
call fcn.00404f60
mov ecx, dword [ebp + 4]
fld dword [esp + 0x2c]
fstp dword [ecx + ebx*4]
jmp 0x45e528
mov edx, dword [esi + 0x22c]
mov al, byte [edx + 0xa0]
test al, al
je 0x45e528
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_4
push 0x53cc
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 6
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esi + 0x220]
lea ecx, [esi + 0x218]
lea edx, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ebx, edx
xor edi, edi
mov dword [esp + 0x3c], ebx
inc ebx
cmp ebx, edi
jne 0x45e408
cmp eax, edi
je 0x45e3fd
push eax
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x45e505
cmp eax, edi
jne 0x45e440
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x45e505
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jg 0x45e470
cmp edx, ebx
jge 0x45e460
mov ecx, ebx
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp + 8], ebx
jmp 0x45e505
jle 0x45e468
sub edx, ebx
mov dword [esp + 0x20], edx
mov dword [ebp + 8], ebx
jmp 0x45e505
mov eax, dword [ebp + 0x10]
cmp eax, edi
jne 0x45e49a
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45e48e
mov eax, 4
jmp 0x45e49a
cmp eax, 0x400
jle 0x45e49a
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x24], eax
jl 0x45e4a8
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x24], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x2c]
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 0
fstp dword [edx + eax*4]
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x34], edi
jle 0x45e27d
mov esi, dword [esi + 0x220]
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xe0]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret