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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c1738
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
test ebp, ebp
push edi
mov esi, ecx
jne 0x566a0d
xor al, al
jmp 0x566f6f
push str.SFC:
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x566a4e
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea eax, [edi + edi + 8]
push eax
call sub.MFC42.DLL_operatornew
push edi
push ebp
push eax
mov dword [esi + 0x406c], eax
call fcn.004ebed0
add esp, 0x10
xor al, al
jmp 0x566f6f
mov eax, dword [esi + 0x40a0]
xor ebx, ebx
test eax, eax
jle 0x566a83
mov ecx, dword [esi + 0x409c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x566a78
mov eax, dword [edi]
push eax
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x40a0]
inc ebx
cmp ebx, eax
jl 0x566a5a
lea ebx, [esi + 0x4098]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0054c510
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x62e258]
mov edx, dword [str.FARE:CNY]
mov cl, byte [0x62e25c]
mov dword [esp + 0x44], eax
mov eax, dword [0x62e250]
mov dword [esp + 0x40], edx
mov edx, dword [str.TAX:CNY]
mov dword [esp + 0x3c], eax
mov eax, dword [0x62e244]
mov byte [esp + 0x48], cl
mov ecx, dword [str.TAX:TEXEMPTCN]
mov dword [esp + 0x38], edx
mov edx, dword [0x62e240]
mov dword [esp + 0x64], eax
mov ax, word [0x62e238]
mov dword [esp + 0x5c], ecx
mov cx, word [0x62e248]
mov dword [esp + 0x60], edx
mov edx, dword [str.YQ:CNY]
mov word [esp + 0x34], ax
mov eax, dword [0x62e228]
mov word [esp + 0x68], cx
mov cl, byte [0x62e23a]
mov dword [esp + 0x30], edx
mov edx, dword [str.YQ:TEXEMPTYQ]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4078]
mov byte [esp + 0x36], cl
mov ecx, dword [0x62e22c]
mov dword [esp + 0x4c], edx
mov dl, byte [0x62e230]
mov dword [esp + 0x74], 0
test eax, eax
mov dword [esp + 0x54], ecx
mov byte [esp + 0x58], dl
mov dword [esp + 0x14], ebp
mov byte [esp + 0x7c], 0
jle 0x566be0
mov eax, dword [esi + 0x4074]
mov eax, dword [eax]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x1c]
push 2
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x62e264
push eax
call esi
add esp, 8
test eax, eax
je 0x566bcd
mov ecx, dword [esp + 0x10]
push 0x62e260
push ecx
call esi
add esp, 8
test eax, eax
jne 0x566bd2
mov byte [esp + 0x7c], 1
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x566f5c
mov al, byte [esp + 0x7c]
test al, al
je 0x566c3e
mov al, byte [ebp - 3]
cmp al, 0x5a
jne 0x566c18
cmp byte [ebp - 2], 0x53
jne 0x566c18
cmp byte [ebp - 1], 0x20
je 0x566c28
cmp al, 0x43
jne 0x566c3e
cmp byte [ebp - 2], 0x44
jne 0x566c3e
cmp byte [ebp - 1], 0x20
jne 0x566c3e
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
mov dword [esp + 0x14], ecx
jmp 0x566be0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x14]
mov esi, ebp
mov edi, 1
sub esi, ecx
cmp esi, edi
mov byte [esp + 0x74], 3
jle 0x566cb4
lea ecx, [ebp - 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov al, byte [edx]
cmp al, 0x20
jne 0x566c79
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x566cb4
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
inc edi
dec ecx
cmp edi, esi
mov dword [esp + 0x14], ecx
jl 0x566c64
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
push 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebp, ecx
call sub.MFC42.DLL_operatornew
xor edi, edi
add esp, 4
cmp eax, edi
je 0x566cf9
mov esi, eax
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [esp + 0x18], esi
jmp 0x566cff
mov dword [esp + 0x18], edi
mov esi, edi
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb710
push ebp
mov dword [esi], eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 4], eax
lea eax, [esp + 0x40]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 0x10
cmp edx, edi
jne 0x566d56
lea ecx, [esp + 0x5c]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x566f33
mov dword [esi + 0xc], edi
jmp 0x566d79
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
mov dword [esp + 0x20], edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 0xc], eax
xor edi, edi
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
cmp edx, edi
jne 0x566dae
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, edi
je 0x566f39
mov dword [esi + 8], edi
jmp 0x566dcd
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 8], eax
xor edi, edi
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ebp, edx
mov dword [esp + 0x28], ebp
inc ebp
cmp ebp, edi
jne 0x566dfd
cmp eax, edi
je 0x566df2
push eax
mov dword [esp + 0x28], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x566f00
cmp eax, edi
jne 0x566e35
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], 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 + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x566efe
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x566e67
cmp edx, ebp
jge 0x566e57
mov ecx, ebp
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 + 8], ebp
jmp 0x566f00
jle 0x566e5f
sub edx, ebp
mov dword [esp + 0x24], edx
mov dword [ebx + 8], ebp
jmp 0x566f00
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x566e91
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x566e85
mov eax, 4
jmp 0x566e91
cmp eax, 0x400
jle 0x566e91
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x566e9f
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
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 + 0x28], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov ecx, ebp
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ecx
xor edi, edi
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push str.SFC:
push ecx
mov dword [edx + eax*4], esi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, edi
mov dword [esp + 0x14], eax
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x10]
je 0x566f57
jmp 0x566bdb
cmp esi, edi
je 0x566f4e
jmp 0x566f3d
cmp esi, edi
je 0x566f4e
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 4