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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c172b
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
mov ebp, dword [esp + 0x94]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov ebx, ecx
jg 0x56adab
mov eax, dword [ebx + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
push 0x62d128
call fcn.004eb640
add esp, 8
mov dword [ebx + 0x28], eax
xor al, al
jmp 0x56b735
mov esi, dword [esp + 0x98]
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_1
push 0xd
lea ecx, [esp + 0x60]
or eax, 0xffffffff
push 4
push ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], esi
call fcn.00597942
lea ecx, [esp + 0x14]
mov dword [esp + 0x90], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x12], 0
call sub.MFC42.DLL_CString::CString_1
add ebp, esi
mov byte [esp + 0x90], 1
cmp esi, ebp
mov dword [esp + 0x50], ebp
jae 0x56b704
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0056ba20
test al, al
je 0x56b669
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
sub ecx, eax
add esi, eax
mov dword [esp + 0x18], ecx
push ecx
push esi
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.0056bb80
test al, al
jne 0x56ae67
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 1
mov dword [esp + 0x28], eax
jg 0x56b669
jmp 0x56af8c
lea esi, [esp + 0x54]
mov ebp, 0xd
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
add esi, 4
dec ebp
jne 0x56ae70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x54]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0056bcc0
mov ebp, eax
cmp ebp, 7
mov dword [esp + 0x20], ebp
jge 0x56b0d8
mov edx, dword [esp + 0x54]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.ARNK
push edx
call esi
add esp, 8
test eax, eax
jne 0x56afa1
mov eax, dword [esp + 0x58]
cmp dword [eax - 8], edi
je 0x56afa1
push 0x34
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
je 0x56af04
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x24], edi
mov dword [eax + 8], edi
mov dword [eax + 0x30], edi
mov esi, eax
jmp 0x56af06
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x54]
push ecx
mov dword [esi + 0x30], ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [esi], eax
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [esi + 0x10], eax
add eax, 3
push eax
call fcn.004eb640
mov ecx, dword [esi + 0x10]
lea ebp, [ebx + 0x4070]
mov dword [esi + 0x14], eax
add esp, 8
mov byte [ecx + 3], 0
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea edx, [edi + 1]
push edx
call fcn.0049f7f0
mov eax, dword [ebp + 4]
mov dword [eax + edi*4], esi
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x56af8a
lea esi, [esp + 0x54]
mov edi, eax
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
add esi, 4
dec edi
jne 0x56af7d
xor edi, edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jb 0x56ae0c
jmp 0x56b669
mov ecx, dword [esp + 0x54]
mov ebp, 6
cmp dword [ecx - 8], ebp
jne 0x56b669
lea edx, [esp + 0x38]
push 4
push edx
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x62b6c0
push eax
call esi
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x56b669
mov eax, dword [esp + 0x5c]
cmp dword [eax - 8], ebp
jne 0x56b669
push 0x34
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
je 0x56b031
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x24], edi
mov dword [eax + 8], edi
mov dword [eax + 0x30], edi
mov esi, eax
jmp 0x56b033
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x54]
push ecx
mov dword [esi + 0x30], ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [esi], eax
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov dword [esi + 4], eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [esi + 0x10], eax
add eax, 3
push eax
call fcn.004eb640
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
lea ebp, [ebx + 0x4070]
add esp, 8
mov byte [eax + 3], 0
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, ebp
call fcn.0049f7f0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [edx + edi*4], esi
jle 0x56af8a
lea esi, [esp + 0x54]
mov edi, eax
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
add esi, 4
dec edi
jne 0x56b0c6
jmp 0x56af8a
lea eax, [esp + 0x54]
push ebp
push eax
mov ecx, ebx
call fcn.0056bd90
test al, al
je 0x56af8c
mov ecx, dword [esp + 0x64]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x6114ec
push ecx
mov dword [esp + 0x30], edi
call esi
add esp, 8
test eax, eax
jne 0x56b159
mov al, byte [ebx + 0x40f8]
test al, al
je 0x56b5d6
push 0x34
mov byte [esp + 0x16], 0
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
je 0x56b1d5
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x24], edi
mov dword [eax + 8], edi
mov dword [eax + 0x30], edi
mov ebp, eax
jmp 0x56b1d7
mov edx, dword [esp + 0x64]
push 0x6114e8
push edx
call esi
add esp, 8
test eax, eax
je 0x56b192
mov eax, dword [esp + 0x64]
push 0x6114ec
push eax
call esi
add esp, 8
test eax, eax
je 0x56b192
mov ecx, dword [esp + 0x64]
push 0x6114e4
push ecx
call esi
add esp, 8
test eax, eax
jne 0x56b118
mov al, byte [ebx + 0x40f8]
test al, al
jne 0x56b118
lea edx, [esp + 0x64]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x16], 1
call sub.MFC42.DLL_CString::operator_1
cmp ebp, edi
jle 0x56af8c
mov ebp, dword [esp + 0x20]
lea esi, [esp + 0x54]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
add esi, 4
dec ebp
jne 0x56b1c3
jmp 0x56af8c
xor ebp, ebp
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov dword [ebp + 0x30], eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [ebp], eax
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov dword [ebp + 4], eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [ebp + 0xc], eax
lea eax, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [ebp + 0x10], eax
add eax, 3
push eax
call fcn.004eb640
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
add esp, 4
lea edx, [esp + 0x68]
mov byte [ecx + 3], 0
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [ebp + 0x18], eax
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov dword [ebp + 0x1c], eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x78]
add esp, 4
mov eax, dword [eax - 8]
cmp eax, edi
je 0x56b361
cmp eax, 4
jne 0x56b361
lea ecx, [esp + 0x3c]
push 2
push ecx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x6178b0
push eax
call esi
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x56b30b
push ecx
lea ecx, [esp + 0x78]
mov edx, esp
mov dword [esp + 0x50], esp
push 2
push edx
call sub.MFC42.DLL_CString::Left
call fcn.004eb730
add esp, 4
mov dword [ebp + 0x24], eax
lea eax, [esp + 0x40]
push 2
push eax
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x6178b0
push eax
call esi
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x56b361
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 2
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Right
call fcn.004eb730
add esp, 4
mov dword [ebp + 0x28], eax
mov edx, dword [ebp]
cmp byte [edx], 0x2a
jne 0x56b438
mov eax, dword [esp + 0x74]
cmp dword [eax - 8], 5
jle 0x56b3ca
lea ecx, [esp + 0x44]
push 3
push ecx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x62f8e4
push eax
call esi
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x56b3ca
lea ecx, [esp + 0x74]
call fcn.004af770
push ecx
sub eax, 3
mov edx, esp
mov dword [esp + 0x50], esp
push eax
push edx
lea ecx, [esp + 0x80]
jmp 0x56b428
mov eax, dword [esp + 0x78]
cmp dword [eax - 8], 5
jle 0x56b438
lea ecx, [esp + 0x48]
push 3
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x62f8e4
push eax
call esi
add esp, 8
lea ecx, [esp + 0x48]
test eax, eax
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x56b438
lea ecx, [esp + 0x78]
call fcn.004af770
push ecx
sub eax, 3
mov edx, esp
mov dword [esp + 0x50], esp
push eax
push edx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::Right
call fcn.004eb730
add esp, 4
mov dword [ebp + 0x2c], eax
mov edx, dword [ebx + 0x4078]
mov eax, dword [ebx + 0x4074]
mov esi, edx
mov dword [esp + 0x34], esi
inc esi
cmp esi, edi
jne 0x56b477
cmp eax, edi
je 0x56b466
push eax
mov dword [esp + 0x50], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x4074], edi
mov dword [ebx + 0x407c], edi
mov dword [ebx + 0x4078], edi
jmp 0x56b5a7
cmp eax, edi
jne 0x56b4b8
lea edi, [esi*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x4074], 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 [ebx + 0x407c], esi
mov dword [ebx + 0x4078], esi
jmp 0x56b5a5
mov ecx, dword [ebx + 0x407c]
cmp esi, ecx
jg 0x56b4f3
cmp edx, esi
jge 0x56b4e0
mov ecx, esi
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx + 0x4078], esi
jmp 0x56b5a7
jle 0x56b4e8
sub edx, esi
mov dword [esp + 0x4c], edx
mov dword [ebx + 0x4078], esi
jmp 0x56b5a7
mov eax, dword [ebx + 0x4080]
cmp eax, edi
jne 0x56b520
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x56b514
mov eax, 4
jmp 0x56b520
cmp eax, 0x400
jle 0x56b520
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x2c], eax
jl 0x56b52e
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x2c]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x4078]
mov esi, dword [ebx + 0x4074]
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 + 0x50], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 0x4078]
lea esi, [ecx + 1]
mov ecx, esi
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x4074]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [ebx + 0x4074], edx
mov dword [ebx + 0x4078], esi
mov dword [ebx + 0x407c], eax
xor edi, edi
mov ecx, dword [ebx + 0x4074]
mov edx, dword [esp + 0x34]
mov dword [ecx + edx*4], ebp
mov ebp, dword [esp + 0x20]
cmp ebp, edi
jle 0x56af8c
lea esi, [esp + 0x54]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
add esi, 4
dec ebp
jne 0x56b5c4
jmp 0x56af8c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x2c]
push ecx
push 0x62d108
push edx
mov byte [esp + 0x9c], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebx + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [ebx + 0x28], eax
mov byte [esp + 0x90], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0xd
lea ecx, [esp + 0x5c]
push 4
push ecx
mov dword [esp + 0xa0], 0xffffffff
call fcn.005976b0
xor al, al
jmp 0x56b735
cmp byte [esp + 0x12], 1
jne 0x56b704
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push 0x62d108
push eax
mov byte [esp + 0x9c], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebx + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb730
add esp, 4
lea ecx, [esp + 0x28]
mov dword [ebx + 0x28], eax
mov byte [esp + 0x90], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0xd
lea eax, [esp + 0x5c]
push 4
push eax
mov dword [esp + 0xa0], 0xffffffff
call fcn.005976b0
xor al, al
jmp 0x56b735
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0xd
lea ecx, [esp + 0x5c]
push 4
push ecx
mov dword [esp + 0xa0], 0xffffffff
call fcn.005976b0
mov al, 1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 8