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

Disassembly:
push 0xffffffffffffffff
push 0x4f9356
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], edi
call sub.MFC42.DLL_CString::CString_4
mov ebx, 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], ebx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x5c]
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, ecx
mov byte [esp + 0x5c], 2
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x485c35
push 0x526600
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
mov byte [esp + 0x5c], 3
jmp 0x485c53
lea edx, [esp + 0x20]
push ebp
push edx
mov ecx, esi
call fcn.0046f940
mov ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x5c], 4
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
test bl, 2
mov dword [esp + 0x5c], 7
je 0x485c7a
and ebx, 0xfffffffd
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString
test bl, 1
mov dword [esp + 0x5c], 6
je 0x485c90
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x4862a9
mov ecx, dword [ebp + 0x70]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x4862a9
mov edi, dword [eax + ebx*4]
mov edx, dword [esi + 0x64]
mov eax, dword [edi + 4]
test eax, eax
je 0x4860e7
mov eax, dword [edi + 8]
dec eax
je 0x485f8e
dec eax
je 0x485e3e
cmp dword [esi + 0x2ac], 0x12c
jb 0x485ceb
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4860dc
mov ecx, esi
mov dword [esi + 0x1fc], 1
call fcn.004d3560
mov dword [esi + 0x20c], eax
mov eax, dword [edi + 4]
mov ecx, eax
lea edx, [esp + 0x40]
shr ecx, 1
sub eax, ecx
push edx
mov ebx, eax
mov eax, dword [edi + 8]
push ebx
push 0
push eax
push ebp
mov ecx, esi
call fcn.0046fa40
test eax, eax
mov dword [esp + 0x14], eax
je 0x485d70
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x10]
push ecx
push ebx
push edx
lea eax, [esp + 0x70]
push 0x52bebc
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x40]
push ecx
push 1
mov ecx, esi
call fcn.00487160
test al, 1
jne 0x485d65
push 0x52beb0
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xa
jmp 0x485d99
mov ecx, dword [esp + 0x40]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push 0x52be88
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
add esp, 0x14
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x14]
shr ebx, 1
test eax, eax
je 0x4860dc
test ebx, ebx
je 0x4860dc
mov edx, dword [edi + 8]
lea ecx, [esp + 0x40]
push ecx
push ebx
push 1
push edx
push ebp
mov ecx, esi
call fcn.0046fa40
test eax, eax
je 0x485e19
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
push eax
push ebx
push ecx
lea edx, [esp + 0x70]
push 0x52bebc
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 1
call fcn.00487160
test al, 1
jne 0x485e0b
push 0x52beb0
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xa
jmp 0x4860d7
mov ecx, dword [esp + 0x40]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push 0x52be88
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x4860ce
cmp dword [esi + 0x2b0], 0x64
jb 0x485e53
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4860dc
mov ecx, esi
mov dword [esi + 0x1fc], 1
call fcn.004d3560
mov dword [esi + 0x20c], eax
mov eax, dword [edi + 4]
mov ecx, eax
lea edx, [esp + 0x40]
shr ecx, 1
sub eax, ecx
push edx
mov ebx, eax
mov eax, dword [edi + 8]
push ebx
push 0
push eax
push ebp
mov ecx, esi
call fcn.0046fa40
test eax, eax
mov dword [esp + 0x14], eax
je 0x485ed4
mov ecx, dword [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x6c]
push 0x52be70
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 2
call fcn.00487160
test al, 2
jne 0x485ec9
push 0x52be58
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xa
jmp 0x485ef9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x52be3c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x74]
mov edx, dword [esi]
add esp, 0x10
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x14]
shr ebx, 1
test eax, eax
je 0x4860dc
test ebx, ebx
je 0x4860dc
mov edx, dword [edi + 8]
lea ecx, [esp + 0x40]
push ecx
push ebx
push 1
push edx
push ebp
mov ecx, esi
call fcn.0046fa40
test eax, eax
je 0x485f7a
mov eax, dword [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0x6c]
push 0x52be70
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push 2
call fcn.00487160
test al, 2
jne 0x485f67
push 0x52be58
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
push ecx
push 0xa
mov ecx, esi
call dword [eax + 4]
jmp 0x4860dc
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x52be3c
jmp 0x4860c1
cmp dword [esi + 0x2ac], 0x12c
jb 0x485fa6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4860dc
mov ecx, esi
mov dword [esi + 0x1fc], 1
call fcn.004d3560
mov dword [esi + 0x20c], eax
mov eax, dword [edi + 4]
mov ecx, eax
lea edx, [esp + 0x40]
shr ecx, 1
sub eax, ecx
push edx
mov ebx, eax
mov eax, dword [edi + 8]
push ebx
push 1
push eax
push ebp
mov ecx, esi
call fcn.0046fa40
test eax, eax
mov dword [esp + 0x14], eax
je 0x486027
mov ecx, dword [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x6c]
push 0x52be24
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 1
call fcn.00487160
test al, 1
jne 0x48601c
push 0x52bc48
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xa
jmp 0x48604c
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x52be08
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x74]
mov edx, dword [esi]
add esp, 0x10
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x14]
shr ebx, 1
test eax, eax
je 0x4860dc
test ebx, ebx
je 0x4860dc
mov edx, dword [edi + 8]
lea ecx, [esp + 0x40]
push ecx
push ebx
push 2
push edx
push ebp
mov ecx, esi
call fcn.0046fa40
test eax, eax
je 0x4860b2
mov eax, dword [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0x6c]
push 0x52be24
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push 1
call fcn.00487160
test al, 1
jne 0x485f67
push 0x52bc48
jmp 0x485f5e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x52be08
lea ecx, [esp + 0x70]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov ebx, dword [esp + 0x1c]
mov dword [edi + 4], 0
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x4862a3
mov ecx, esi
mov dword [esi + 0x1fc], 1
call fcn.004d3560
mov dword [esi + 0x20c], eax
mov edx, dword [ebp + 0x7c]
lea ecx, [esp + 0x40]
push ecx
push edx
push ebp
mov ecx, esi
call fcn.00476de0
test eax, eax
mov eax, dword [ebp + 0x7c]
je 0x48621b
dec eax
mov eax, dword [esp + 0x50]
je 0x4861a5
test eax, eax
push ebp
jl 0x48616a
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0046f940
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x52bde8
push eax
mov byte [esp + 0x6c], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x5c], 6
lea ecx, [esp + 0x28]
jmp 0x486289
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0046f940
mov edx, dword [esp + 0x50]
mov eax, dword [eax]
neg edx
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x52bdc8
push ecx
mov byte [esp + 0x6c], 0xb
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x5c], 6
lea ecx, [esp + 0x2c]
jmp 0x486289
test eax, eax
push ebp
jl 0x4861e3
lea edx, [esp + 0x34]
mov ecx, esi
push edx
call fcn.0046f940
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x52bdac
push eax
mov byte [esp + 0x6c], 8
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x5c], 6
lea ecx, [esp + 0x30]
jmp 0x486289
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.0046f940
mov edx, dword [esp + 0x50]
mov eax, dword [eax]
neg edx
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x52bd90
push ecx
mov byte [esp + 0x6c], 9
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x5c], 6
lea ecx, [esp + 0x34]
jmp 0x486289
dec eax
push ebp
je 0x486255
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.0046f940
mov ecx, dword [esp + 0x40]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x52bd70
push eax
mov byte [esp + 0x6c], 0xd
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x5c], 6
lea ecx, [esp + 0x38]
jmp 0x486289
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0046f940
mov edx, dword [esp + 0x40]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x52bd5c
push ecx
mov byte [esp + 0x6c], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x5c], 6
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov dword [ebp + 0x78], 0
inc ebx
jmp 0x485c92
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4