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

Disassembly:
push 0xffffffffffffffff
push 0x41cdf5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push ebx
push ebp
push esi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.name__d:dpost__
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x4b0]
mov esi, dword [esp + 0x4ac]
push edi
push esi
call fcn.0040f960
add esp, 0xc
mov ecx, esi
push 0x425c74
call fcn.0041b3f4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov dword [esp + 0x4a0], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x114]
mov byte [esp + 0x4a0], 1
call fcn.004021d0
push str._input_.sname_____________v_s_value___________s______
lea ecx, [esp + 0xd0]
mov byte [esp + 0x4a4], 2
call fcn.004021a0
mov eax, dword [eax + 8]
push 0
push eax
push str._input_.sname_____________v_s_value___________s______
lea ecx, [esp + 0x120]
mov byte [esp + 0x4ac], 3
call fcn.00402350
mov esi, 0x41e484
mov dword [esp + 0xcc], esi
lea ecx, [esp + 0x240]
mov byte [esp + 0x4a0], 4
call fcn.004021d0
push str._promos_:___.______discount_:__d___
lea ecx, [esp + 0x9c]
mov byte [esp + 0x4a4], 5
call fcn.004021a0
mov eax, dword [eax + 8]
push 0
push eax
push str._promos_:___.______discount_:__d___
lea ecx, [esp + 0x24c]
mov byte [esp + 0x4ac], 6
call fcn.00402350
mov dword [esp + 0x98], esi
mov eax, dword [edi]
push 0
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x120]
push eax
mov byte [esp + 0x4b0], 7
call fcn.00401ec0
mov eax, dword [edi]
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x250]
mov byte [esp + 0x4b0], 8
call fcn.00401ec0
mov byte [esp + 0x4a0], 9
mov bl, 0x14
mov esi, dword [esp + 0x28]
test esi, esi
jle 0x410706
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 0
je 0x410706
cmp esi, 9
jg 0x40fdf9
or eax, 0xffffffff
jmp 0x40fdfc
mov eax, dword [ecx + 0x24]
cmp esi, 8
jg 0x40fe06
or edx, 0xffffffff
jmp 0x40fe09
mov edx, dword [ecx + 0x20]
cmp esi, 8
jg 0x40fe13
or ecx, 0xffffffff
jmp 0x40fe16
mov ecx, dword [ecx + 0x20]
sub eax, edx
lea edx, [esp + 0x8c]
push eax
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
mov esi, eax
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cmp ecx, 5
mov byte [esp + 0x4a0], 0xa
jg 0x40fe45
or eax, 0xffffffff
jmp 0x40fe48
mov eax, dword [ebp + 0x14]
cmp ecx, 4
jg 0x40fe52
or edx, 0xffffffff
jmp 0x40fe55
mov edx, dword [ebp + 0x10]
cmp ecx, 4
jg 0x40fe5f
or ecx, 0xffffffff
jmp 0x40fe62
mov ecx, dword [ebp + 0x10]
sub eax, edx
push eax
lea eax, [esp + 0x94]
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push 0x425b70
lea ecx, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0x4ac], 0xb
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x8c]
push eax
push edx
mov byte [esp + 0x4ac], 0xc
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a4], 0xd
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x88]
mov byte [esp + 0x4a0], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4a0], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x4a0], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4a0], 9
call sub.MFC42.DLL_CString::CString
push 0x425bec
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40ff29
push 0x425bdc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40ff3c
push 0x425bcc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40ffb2
cmp dword [esp + 0x28], 3
jg 0x40ff48
or ecx, 0xffffffff
jmp 0x40ff4f
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi]
push 0
push ecx
lea ecx, [esp + 0x108]
push eax
push ecx
lea ecx, [esp + 0x124]
call fcn.00401ec0
mov dword [esp + 0x28], 0
mov ecx, dword [eax + 8]
test ecx, ecx
mov byte [esp + 0x4a0], 0xe
jle 0x40ff99
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x40ff8c
mov eax, 0x41e480
push 0
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402100
lea ecx, [esp + 0x100]
mov byte [esp + 0x4a0], 9
call fcn.00401c60
jmp 0x40fdd6
push str.post
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40ffd3
push 0x425c74
lea ecx, [esp + 0x14]
call fcn.0041b3f4
push str.buy_param
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x41060a
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp ecx, 9
jg 0x40fffc
or eax, 0xffffffff
jmp 0x40ffff
mov eax, dword [esi + 0x24]
cmp ecx, 8
jg 0x410009
or edx, 0xffffffff
jmp 0x41000c
mov edx, dword [esi + 0x20]
cmp ecx, 8
jg 0x410016
or ecx, 0xffffffff
jmp 0x410019
mov ecx, dword [esi + 0x20]
sub eax, edx
lea edx, [esp + 0x60]
push eax
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push eax
lea eax, [esp + 0x74]
push str.bundleList_
push eax
mov byte [esp + 0x4ac], 0xf
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a4], 0x10
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x70]
mov byte [esp + 0x4a0], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x4a0], 9
call sub.MFC42.DLL_CString::CString
push 0x425ba8
push 0x425ba4
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Replace
push 0x425ba0
lea ecx, [esp + 0x18]
call fcn.0041b3f4
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
mov byte [esp + 0x4a0], 0x11
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4a0], 0x12
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a0], 0x13
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x4a0], bl
test ecx, ecx
jle 0x410564
mov esi, dword [esp + 0x40]
cmp dword [esi], 0
je 0x410564
cmp ecx, 7
jg 0x4100fc
or eax, 0xffffffff
jmp 0x4100ff
mov eax, dword [esi + 0x1c]
cmp ecx, 6
jg 0x410109
or edx, 0xffffffff
jmp 0x41010c
mov edx, dword [esi + 0x18]
cmp ecx, 6
jg 0x410116
or ecx, 0xffffffff
jmp 0x410119
mov ecx, dword [esi + 0x18]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4a4], 0x15
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x78]
mov byte [esp + 0x4a0], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp ecx, 5
jg 0x410160
or eax, 0xffffffff
jmp 0x410163
mov eax, dword [esi + 0x14]
cmp ecx, 4
jg 0x41016d
or edx, 0xffffffff
jmp 0x410170
mov edx, dword [esi + 0x10]
cmp ecx, 4
jg 0x41017a
or ecx, 0xffffffff
jmp 0x41017d
mov ecx, dword [esi + 0x10]
sub eax, edx
lea edx, [esp + 0x80]
push eax
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4a4], 0x16
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x80]
mov byte [esp + 0x4a0], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, eax
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, 3
jg 0x4101d3
or ecx, 0xffffffff
jmp 0x4101da
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi]
push 0
push ecx
lea edx, [esp + 0xf4]
push eax
push edx
lea ecx, [esp + 0x250]
call fcn.00401ec0
mov dword [esp + 0x44], 0
mov ecx, dword [eax + 8]
test ecx, ecx
mov byte [esp + 0x4a0], 0x17
jle 0x410224
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x410217
mov eax, 0x41e480
push 0
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00402100
mov byte [esp + 0x4a0], bl
lea ecx, [esp + 0xec]
call fcn.00401c60
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x4103a2
mov ecx, dword [esp + 0x40]
cmp dword [ecx], 0
je 0x4103a2
cmp esi, 7
jg 0x41025a
or eax, 0xffffffff
jmp 0x41025d
mov eax, dword [ecx + 0x1c]
cmp esi, 6
jg 0x410267
or edx, 0xffffffff
jmp 0x41026a
mov edx, dword [ecx + 0x18]
cmp esi, 6
jg 0x410274
or ecx, 0xffffffff
jmp 0x410277
mov ecx, dword [ecx + 0x18]
sub eax, edx
push eax
lea eax, [esp + 0x70]
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4a4], 0x18
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4a0], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp ecx, 5
jg 0x4102bb
or eax, 0xffffffff
jmp 0x4102be
mov eax, dword [esi + 0x14]
cmp ecx, 4
jg 0x4102c8
or edx, 0xffffffff
jmp 0x4102cb
mov edx, dword [esi + 0x10]
cmp ecx, 4
jg 0x4102d5
or ecx, 0xffffffff
jmp 0x4102d8
mov ecx, dword [esi + 0x10]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4a4], 0x19
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x84]
mov byte [esp + 0x4a0], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp ebp, eax
jge 0x410332
mov ebp, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
cmp dword [esp + 0x44], 3
jg 0x41033e
or ecx, 0xffffffff
jmp 0x410345
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi]
push 0
push ecx
lea edx, [esp + 0xe0]
push eax
push edx
lea ecx, [esp + 0x250]
call fcn.00401ec0
mov dword [esp + 0x44], 0
mov ecx, dword [eax + 8]
test ecx, ecx
mov byte [esp + 0x4a0], 0x1a
jle 0x41038f
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x410382
mov eax, 0x41e480
push 0
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00402100
mov byte [esp + 0x4a0], bl
lea ecx, [esp + 0xd8]
jmp 0x410232
push str._:_once_:false__unused_:_________
lea ecx, [esp + 0x20]
call fcn.0041b3f4
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x36c]
call fcn.004021d0
push esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x4a4], 0x1b
call fcn.004021a0
mov eax, dword [eax + 8]
push 0
push eax
push esi
lea ecx, [esp + 0x378]
mov byte [esp + 0x4ac], 0x1c
call fcn.00402350
mov dword [esp + 0x98], 0x41e484
mov eax, dword [edi]
push 0
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x378]
push eax
mov byte [esp + 0x4b0], 0x1d
call fcn.00401ec0
mov ecx, dword [esp + 0xac]
mov byte [esp + 0x4a0], 0x1e
test ecx, ecx
jle 0x410497
mov esi, dword [esp + 0xa8]
cmp dword [esi], 0
je 0x410497
cmp ecx, 5
jg 0x410447
or eax, 0xffffffff
jmp 0x41044a
mov eax, dword [esi + 0x14]
cmp ecx, 4
jg 0x410454
or edx, 0xffffffff
jmp 0x410457
mov edx, dword [esi + 0x10]
cmp ecx, 4
jg 0x410461
or ecx, 0xffffffff
jmp 0x410464
mov ecx, dword [esi + 0x10]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4a4], 0x1f
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x74]
mov byte [esp + 0x4a0], 0x1e
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
push 0x425b70
lea eax, [esp + 0x98]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x7c]
push ecx
push eax
push edx
mov byte [esp + 0x4ac], 0x20
call sub.MFC42.DLL_operator_2
push 0x425300
push eax
lea eax, [esp + 0x5c]
mov byte [esp + 0x4a8], 0x21
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a4], 0x22
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x54]
mov byte [esp + 0x4a0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4a0], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x4a0], 0x1e
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xa4], 0x41e47c
test eax, eax
je 0x410546
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x36c]
mov dword [esp + 0xa4], 0x41e478
mov byte [esp + 0x4a0], bl
call fcn.00401d90
mov esi, dword [esp + 0x4a8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x6c]
push esi
push edx
call sub.MFC42.DLL_operator_2
push 0x425300
push eax
lea eax, [esp + 0x6c]
mov byte [esp + 0x4a8], 0x23
push eax
call sub.MFC42.DLL_operator_1
push eax
mov ecx, esi
mov byte [esp + 0x4a4], 0x24
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x64]
mov byte [esp + 0x4a0], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0x4a0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a0], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4a0], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x4a0], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x4a0], 9
call sub.MFC42.DLL_CString::CString
jmp 0x410611
mov esi, dword [esp + 0x4a8]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
push esi
push edx
call sub.MFC42.DLL_operator_2
push 0x425300
push eax
lea eax, [esp + 0x60]
mov byte [esp + 0x4a8], 0x25
push eax
call sub.MFC42.DLL_operator_1
push eax
mov ecx, esi
mov byte [esp + 0x4a4], 0x26
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x58]
mov byte [esp + 0x4a0], 0x25
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x4a0], 9
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0x28], 3
jg 0x410677
or ecx, 0xffffffff
jmp 0x41067e
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi]
push 0
push ecx
lea edx, [esp + 0xc0]
push eax
push edx
lea ecx, [esp + 0x124]
call fcn.00401ec0
xor esi, esi
mov byte [esp + 0x4a0], 0x27
mov dword [esp + 0x28], esi
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x4106ca
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4106b9
mov eax, 0x41e480
push 0
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402100
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x4a0], 9
test eax, eax
mov dword [esp + 0xb8], 0x41e47c
je 0x4106f6
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov esi, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0xb8], 0x41e478
jmp 0x40fdda
mov eax, dword [esp + 0x48]
mov ebx, 0x41e47c
test eax, eax
mov dword [esp + 0x3c], ebx
je 0x410725
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
add esp, 4
jmp 0x41072b
mov esi, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x2c]
mov edi, 0x41e478
test eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], ebx
je 0x410746
push eax
call esi
add esp, 4
lea ecx, [esp + 0x240]
mov dword [esp + 0x20], edi
mov byte [esp + 0x4a0], 4
call fcn.00401d90
lea ecx, [esp + 0x114]
mov byte [esp + 0x4a0], 0x2e
call fcn.00402300
mov eax, dword [esp + 0x198]
mov dword [esp + 0x1a0], 0x41e484
test eax, eax
mov dword [esp + 0x18c], 0x41e4ac
je 0x410799
push eax
call esi
add esp, 4
lea ecx, [esp + 0x178]
mov dword [esp + 0x18c], 0x41e4a8
mov byte [esp + 0x4a0], 0x2b
call fcn.00401d20
lea ecx, [esp + 0x164]
mov byte [esp + 0x4a0], 0x2a
call fcn.00401cc0
lea ecx, [esp + 0x150]
mov byte [esp + 0x4a0], 0x29
call fcn.00401cf0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x4a0], 0x28
call fcn.00401c90
lea ecx, [esp + 0x128]
mov byte [esp + 0x4a0], 1
call fcn.00401c90
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x4a0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x498]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x494
ret