Function at 0x487230
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f9611
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10c]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x110]
mov dword [esp + 0x138], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov dword [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x40]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x138], 5
call sub.MFC42.DLL_CString::CString_4
mov al, byte [0x536420]
mov byte [esp + 0x138], 6
test al, 0x40
je 0x487f73
cmp dword [ebp + 0x198], 8
jae 0x48789d
cmp dword [ebp + 0x248], edi
jne 0x4877f2
lea ecx, [esp + 0x74]
call fcn.0044a000
push edi
lea ecx, [esp + 0x68]
mov byte [esp + 0x13c], 7
call fcn.0044e9a0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x144], 8
call fcn.00466ee0
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0040a7e0
mov esi, eax
mov edx, dword [ebp + 0x198]
lea eax, [esp + 0x40]
push edx
push eax
mov byte [esp + 0x148], 9
call fcn.0040a7e0
add esp, 0x10
push eax
lea ecx, [esp + 0x38]
push str.newitem1type1level
push ecx
mov byte [esp + 0x144], 0xa
call sub.MFC42.DLL_operator_3
push 0x523594
lea edx, [esp + 0x58]
push eax
push edx
mov byte [esp + 0x144], 0xb
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x40]
lea edx, [esp + 0x58]
push ecx
push eax
push edx
mov byte [esp + 0x144], 0xc
call sub.MFC42.DLL_operator_2
push 0x523588
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x140], 0xd
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x30]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x144], 0xe
call sub.MFC42.DLL_operator_2
push 0x52b47c
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x140], 0xf
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x138], 0x10
push ecx
push eax
lea edx, [esp + 0x64]
push edx
call sub.MFC42.DLL_operator_2
push str.actqueryuIdx
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x140], 0x11
push eax
call sub.MFC42.DLL_operator_4
push esi
lea ecx, [esp + 0x54]
mov bl, 0x12
push eax
push ecx
mov byte [esp + 0x144], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0x13
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x50]
mov byte [esp + 0x138], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x138], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x138], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x138], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x138], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x138], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x138], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x138], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 8
call sub.MFC42.DLL_CString::CString
push 1
push 1
push 1
lea ecx, [esp + 0x1c]
call fcn.00404830
push eax
push edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x5366d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x88]
push ecx
mov edx, esp
mov dword [esp + 0x50], esp
push edi
push 0x10
push eax
mov byte [esp + 0x160], 0x14
push edx
mov ecx, ebp
call fcn.00475130
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 8
push ecx
mov ecx, ebp
call fcn.0046da00
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 0x15
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 8
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
mov dl, byte [esp + 0x1f]
mov esi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x20], dl
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x24]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4875ec
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x64]
push 1
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x144], 0x16
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x138], 8
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x487640
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x487637
cmp al, 0xff
je 0x487637
dec al
mov byte [ecx], al
jmp 0x487640
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
test esi, esi
mov dword [ebp + 0x250], 0
je 0x4876e9
push str.level
lea ecx, [esp + 0x68]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x64]
mov esi, eax
push str.money
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov dword [ebp + 0x250], eax
test esi, esi
je 0x4876e9
test eax, eax
je 0x4876e9
push esi
mov ecx, ebp
call fcn.0042f890
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x258], eax
cmp ecx, eax
jb 0x4876df
mov eax, dword [ebp + 0x250]
mov ecx, dword [ebp + 0x68]
cmp ecx, eax
jae 0x4876df
push eax
lea ecx, [esp + 0x14]
push 0x52bfe8
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp]
add esp, 0xc
mov ecx, ebp
push eax
push 0xe
call dword [edx + 4]
mov dword [ebp + 0x248], 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x138], 7
call fcn.0044eec0
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x13c], 0x19
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x13c], 0x18
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xd0]
mov byte [esp + 0x138], 0x17
test eax, eax
je 0x48778f
mov eax, dword [esp + 0xb0]
push 0
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xb4], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xd0]
dec eax
mov dword [esp + 0xd0], eax
je 0x487778
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
cmp ecx, eax
jne 0x487784
lea ecx, [esp + 0xa4]
call fcn.0042c550
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x48773b
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x138], 6
test eax, eax
je 0x4877e2
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0xa0]
add ecx, 4
dec eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0xa0], eax
je 0x4877ce
mov eax, dword [esp + 0x7c]
mov edx, ecx
cmp edx, eax
jne 0x4877d7
lea ecx, [esp + 0x74]
call fcn.0042c550
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x4877a2
mov eax, dword [ebp + 0x248]
xor edi, edi
cmp eax, edi
je 0x48789d
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x250]
cmp eax, ecx
jb 0x48789d
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x258]
cmp ecx, eax
jb 0x48789d
lea edx, [esp + 0x10c]
mov ecx, ebp
push edx
push 1
call fcn.00476150
test eax, eax
je 0x487853
mov eax, dword [ebp + 0x198]
lea ecx, [esp + 0x10]
push eax
push 0x52bfd8
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp]
add esp, 0xc
mov ecx, ebp
push eax
push 0xa
call dword [edx + 4]
jmp 0x487897
lea ecx, [esp + 0x10c]
lea edx, [esp + 0x14]
push ecx
push 0x52bfcc
push edx
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov edx, dword [ebp]
push eax
push 0xb
mov ecx, ebp
mov byte [esp + 0x140], 0x1a
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 6
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00469700
mov dword [ebp + 0x248], edi
cmp dword [ebp + 0x19c], 8
jae 0x487f73
cmp dword [ebp + 0x24c], edi
jne 0x487ec8
lea ecx, [esp + 0x74]
call fcn.0044a000
push edi
lea ecx, [esp + 0x68]
mov byte [esp + 0x13c], 0x1b
call fcn.0044e9a0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x144], 0x1c
call fcn.00466ee0
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.0040a7e0
mov esi, eax
mov edx, dword [ebp + 0x19c]
lea eax, [esp + 0x68]
push edx
push eax
mov byte [esp + 0x148], 0x1d
call fcn.0040a7e0
add esp, 0x10
push eax
lea ecx, [esp + 0x60]
push str.newitem1type2actquerylevel
push ecx
mov byte [esp + 0x144], 0x1e
call sub.MFC42.DLL_operator_3
push 0x523548
lea edx, [esp + 0x4c]
push eax
push edx
mov byte [esp + 0x144], 0x1f
call sub.MFC42.DLL_operator_4
push esi
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x140], 0x20
push eax
call sub.MFC42.DLL_operator_2
push 0x523594
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x144], 0x21
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0x40]
mov byte [esp + 0x138], 0x22
push edx
push eax
lea eax, [esp + 0x60]
push eax
call sub.MFC42.DLL_operator_2
push 0x52b47c
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x144], 0x23
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0x3c]
mov byte [esp + 0x138], 0x24
push edx
push eax
lea eax, [esp + 0x3c]
push eax
call sub.MFC42.DLL_operator_2
push 0x523588
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x144], 0x25
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0x30]
mov bl, 0x26
push edx
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x140], bl
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0x27
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], 0x25
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 0x24
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x138], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x138], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x138], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x138], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x138], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x138], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x138], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x138], 0x1c
call sub.MFC42.DLL_CString::CString
push 1
push 1
push 1
lea ecx, [esp + 0x1c]
call fcn.00404830
push eax
push edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x5366d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x88]
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edi
push 0x10
push edx
push ecx
mov byte [esp + 0x164], 0x28
mov ecx, ebp
call fcn.00475130
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
mov byte [esp + 0x158], 0x1c
call fcn.0046da00
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 0x29
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 0x1c
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x1f]
mov esi, eax
mov byte [esp + 0x20], cl
xor eax, eax
mov edi, esi
or ecx, 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x24]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x487baa
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x64]
push 1
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0x144], 0x2a
call fcn.0044a090
and eax, 0xff
xor edi, edi
mov esi, eax
mov eax, dword [esp + 0x24]
cmp eax, edi
mov byte [esp + 0x138], 0x1c
je 0x487c00
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x487bf7
cmp al, 0xff
je 0x487bf7
dec al
mov byte [ecx], al
jmp 0x487c00
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, edi
mov dword [ebp + 0x254], edi
je 0x487ca5
push str.level
lea ecx, [esp + 0x68]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x64]
mov esi, eax
push str.money
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp esi, edi
mov dword [ebp + 0x254], eax
je 0x487ca5
cmp eax, edi
je 0x487ca5
push esi
mov ecx, ebp
call fcn.0042f890
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x25c], eax
cmp ecx, eax
jb 0x487c9b
mov eax, dword [ebp + 0x254]
mov ecx, dword [ebp + 0x68]
cmp ecx, eax
jae 0x487c9b
push eax
lea eax, [esp + 0x14]
push 0x52bf78
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp]
add esp, 0xc
mov ecx, ebp
push eax
push 0xe
call dword [edx + 4]
mov dword [ebp + 0x24c], 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x138], 0x1b
call fcn.0044eec0
mov eax, dword [esp + 0xfc]
mov byte [esp + 0x138], 0x2b
cmp eax, edi
je 0x487ce6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x487cdd
cmp al, 0xff
je 0x487cdd
dec al
mov byte [ecx], al
jmp 0x487ce6
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xfc], edi
cmp eax, edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
je 0x487d23
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x487d1a
cmp al, 0xff
je 0x487d1a
dec al
mov byte [ecx], al
jmp 0x487d23
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xd8], edi
cmp eax, edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], edi
je 0x487d94
mov eax, dword [esp + 0xb0]
push edi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xb4], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xd0]
dec eax
mov dword [esp + 0xd0], eax
je 0x487d7f
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
cmp ecx, eax
jne 0x487d8b
lea ecx, [esp + 0xa4]
call fcn.0042c550
cmp dword [esp + 0xd0], edi
jne 0x487d43
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x138], 6
cmp eax, edi
je 0x487eb8
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xa0]
add ecx, 4
dec edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0xa0], edx
je 0x487dde
cmp ecx, dword [esp + 0x7c]
jne 0x487ea9
mov ecx, eax
add eax, 4
mov dword [esp + 0x84], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xa4]
add esp, 4
test eax, eax
jne 0x487e6e
lea ecx, [esp + 0x20]
call fcn.004051c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x78], eax
push edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
add esp, 4
jmp 0x487ea9
mov eax, dword [esp + 0x84]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x128]
call fcn.0042c610
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0xa0]
test edx, edx
jne 0x487db9
mov eax, dword [ebp + 0x24c]
xor edi, edi
cmp eax, edi
je 0x487f73
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x254]
cmp edx, eax
jb 0x487f73
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x25c]
cmp eax, ecx
jb 0x487f73
lea ecx, [esp + 0x10c]
push ecx
push 2
mov ecx, ebp
call fcn.00476150
test eax, eax
je 0x487f29
mov edx, dword [ebp + 0x19c]
lea eax, [esp + 0x10]
push edx
push 0x52bf68
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp]
add esp, 0xc
mov ecx, ebp
push eax
push 0xa
call dword [edx + 4]
jmp 0x487f6d
lea ecx, [esp + 0x10c]
lea edx, [esp + 0x14]
push ecx
push 0x52bf5c
push edx
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov edx, dword [ebp]
push eax
push 0xb
mov ecx, ebp
mov byte [esp + 0x140], 0x2c
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 6
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00469700
mov dword [ebp + 0x24c], edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x138], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x110]
mov dword [esp + 0x138], 0x2d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10c]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret