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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c1528
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 0x56637d
xor al, al
jmp 0x5668df
push str.SFC:
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x5663be
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.004ebef0
add esp, 0x10
xor al, al
jmp 0x5668df
mov eax, dword [esi + 0x40a0]
xor ebx, ebx
test eax, eax
jle 0x5663f3
mov ecx, dword [esi + 0x409c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x5663e8
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 0x5663ca
lea ebx, [esi + 0x4098]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0049f7f0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x62e248]
mov edx, dword [str.FARE:CNY]
mov cl, byte [0x62e24c]
mov dword [esp + 0x44], eax
mov eax, dword [0x62e240]
mov dword [esp + 0x40], edx
mov edx, dword [str.TAX:CNY]
mov dword [esp + 0x3c], eax
mov eax, dword [0x62e234]
mov byte [esp + 0x48], cl
mov ecx, dword [str.TAX:TEXEMPTCN]
mov dword [esp + 0x38], edx
mov edx, dword [0x62e230]
mov dword [esp + 0x64], eax
mov ax, word [0x62e228]
mov dword [esp + 0x5c], ecx
mov cx, word [0x62e238]
mov dword [esp + 0x60], edx
mov edx, dword [str.YQ:CNY]
mov word [esp + 0x34], ax
mov eax, dword [0x62e218]
mov word [esp + 0x68], cx
mov cl, byte [0x62e22a]
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 [0x62e21c]
mov dword [esp + 0x4c], edx
mov dl, byte [0x62e220]
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 0x566550
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 0x62e254
push eax
call esi
add esp, 8
test eax, eax
je 0x56653d
mov ecx, dword [esp + 0x10]
push 0x62e250
push ecx
call esi
add esp, 8
test eax, eax
jne 0x566542
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 0x5668cc
mov al, byte [esp + 0x7c]
test al, al
je 0x5665ae
mov al, byte [ebp - 3]
cmp al, 0x5a
jne 0x566588
cmp byte [ebp - 2], 0x53
jne 0x566588
cmp byte [ebp - 1], 0x20
je 0x566598
cmp al, 0x43
jne 0x5665ae
cmp byte [ebp - 2], 0x44
jne 0x5665ae
cmp byte [ebp - 1], 0x20
jne 0x5665ae
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 0x566550
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 0x566624
lea ecx, [ebp - 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov al, byte [edx]
cmp al, 0x20
jne 0x5665e9
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x566624
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 0x5665d4
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 0x566669
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 0x56666f
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.004eb730
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 0x5666c6
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 0x5668a3
mov dword [esi + 0xc], edi
jmp 0x5666e9
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 0x56671e
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, edi
je 0x5668a9
mov dword [esi + 8], edi
jmp 0x56673d
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 0x56676d
cmp eax, edi
je 0x566762
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 0x566870
cmp eax, edi
jne 0x5667a5
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 0x56686e
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x5667d7
cmp edx, ebp
jge 0x5667c7
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 0x566870
jle 0x5667cf
sub edx, ebp
mov dword [esp + 0x24], edx
mov dword [ebx + 8], ebp
jmp 0x566870
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x566801
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5667f5
mov eax, 4
jmp 0x566801
cmp eax, 0x400
jle 0x566801
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x56680f
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 0x5668c7
jmp 0x56654b
cmp esi, edi
je 0x5668be
jmp 0x5668ad
cmp esi, edi
je 0x5668be
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