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

Disassembly:
push 0xffffffffffffffff
push 0x578a3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 2
call sub.MFC42.DLL_CObArray::CObArray
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 3
call sub.MFC42.DLL_CObArray::CObArray
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 6
call sub.MFC42.DLL_CObArray::CObArray
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 7
call sub.MFC42.DLL_CObArray::CObArray
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push ecx
lea eax, [esp + 0xb0]
mov bl, 8
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString_2
call fcn.004c4360
add esp, 0x1c
test eax, eax
jne 0x522910
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 7
call fcn.0055746e
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 6
call fcn.0055746e
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 3
call fcn.0055746e
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 2
call fcn.0055746e
lea ecx, [esp + 0x94]
mov byte [esp + 0x8c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa0]
mov dword [esp + 0x8c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x522c63
mov eax, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
jle 0x5229ca
mov ecx, dword [esp + 0x38]
push 0xc
mov edi, dword [ecx + ebp*4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x522967
mov dword [esi], 0x57f4c4
lea ecx, [esi + 4]
mov byte [esp + 0x8c], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 8]
mov byte [esp + 0x8c], 0xb
call sub.MFC42.DLL_CString::CString_3
mov dword [esi], 0x5823d0
jmp 0x522969
xor esi, esi
mov edx, dword [edi + 8]
lea eax, [esi + 4]
push edx
push 0x5b622c
push eax
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 0x10]
add esp, 0xc
sub eax, 0
je 0x5229a1
dec eax
je 0x52299a
dec eax
jne 0x5229ae
push 0x5b6304
jmp 0x5229a6
push 0x5b62fc
jmp 0x5229a6
push 0x5b6224
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x50]
push esi
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CObArray::SetAtGrow
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x52291e
push ecx
lea edx, [esp + 0xa4]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x9c], 0xc
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0xa0], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
push ecx
lea edx, [esp + 0xbc]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0xb4], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xb0], bl
call fcn.0051db70
mov ebp, eax
mov eax, dword [esp + 0x50]
test eax, eax
lea esi, [eax - 1]
mov ebx, 1
je 0x522a82
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x522a7b
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, esi
dec esi
test eax, eax
jne 0x522a6a
or edi, 0xffffffff
lea ecx, [esp + 0x48]
push edi
push 0
call sub.MFC42.DLL_CObArray::SetSize
mov eax, dword [esp + 0x78]
test eax, eax
lea esi, [eax - 1]
je 0x522ab4
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x522aad
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, esi
dec esi
test eax, eax
jne 0x522a9c
push edi
push 0
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CObArray::SetSize
mov eax, dword [esp + 0x3c]
test eax, eax
lea esi, [eax - 1]
je 0x522ae3
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x522adc
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, esi
dec esi
test eax, eax
jne 0x522acb
push edi
push 0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CObArray::SetSize
mov eax, dword [esp + 0x64]
test eax, eax
lea esi, [eax - 1]
je 0x522b12
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x522b0b
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, esi
dec esi
test eax, eax
jne 0x522afa
push edi
push 0
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CObArray::SetSize
test ebp, ebp
mov byte [esp + 0x8c], 7
lea ecx, [esp + 0x5c]
jne 0x522bcd
call fcn.0055746e
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 6
call fcn.0055746e
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 3
call fcn.0055746e
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 2
call fcn.0055746e
lea ecx, [esp + 0x94]
mov byte [esp + 0x8c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa0]
mov dword [esp + 0x8c], edi
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x522c63
call fcn.0055746e
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 6
call fcn.0055746e
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 3
call fcn.0055746e
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 2
call fcn.0055746e
lea ecx, [esp + 0x94]
mov byte [esp + 0x8c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa0]
mov dword [esp + 0x8c], edi
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret 0x10