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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bd028
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 0x56386d
xor al, al
jmp 0x563dcf
push str.SFC:
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x5638ae
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 + 0x4068], eax
call fcn.004eb1d0
add esp, 0x10
xor al, al
jmp 0x563dcf
mov eax, dword [esi + 0x409c]
xor ebx, ebx
test eax, eax
jle 0x5638e3
mov ecx, dword [esi + 0x4098]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x5638d8
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 + 0x409c]
inc ebx
cmp ebx, eax
jl 0x5638ba
lea ebx, [esi + 0x4094]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0056a200
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x6290b4]
mov edx, dword [str.FARE:CNY]
mov cl, byte [0x6290b8]
mov dword [esp + 0x44], eax
mov eax, dword [0x6290ac]
mov dword [esp + 0x40], edx
mov edx, dword [str.TAX:CNY]
mov dword [esp + 0x3c], eax
mov eax, dword [0x6290a0]
mov byte [esp + 0x48], cl
mov ecx, dword [str.TAX:TEXEMPTCN]
mov dword [esp + 0x38], edx
mov edx, dword [0x62909c]
mov dword [esp + 0x64], eax
mov ax, word [0x629094]
mov dword [esp + 0x5c], ecx
mov cx, word [0x6290a4]
mov dword [esp + 0x60], edx
mov edx, dword [str.YQ:CNY]
mov word [esp + 0x34], ax
mov eax, dword [0x629084]
mov word [esp + 0x68], cx
mov cl, byte [0x629096]
mov dword [esp + 0x30], edx
mov edx, dword [str.YQ:TEXEMPTYQ]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4074]
mov byte [esp + 0x36], cl
mov ecx, dword [0x629088]
mov dword [esp + 0x4c], edx
mov dl, byte [0x62908c]
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 0x563a40
mov eax, dword [esi + 0x4070]
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 0x6290c0
push eax
call esi
add esp, 8
test eax, eax
je 0x563a2d
mov ecx, dword [esp + 0x10]
push 0x6290bc
push ecx
call esi
add esp, 8
test eax, eax
jne 0x563a32
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 0x563dbc
mov al, byte [esp + 0x7c]
test al, al
je 0x563a9e
mov al, byte [ebp - 3]
cmp al, 0x5a
jne 0x563a78
cmp byte [ebp - 2], 0x53
jne 0x563a78
cmp byte [ebp - 1], 0x20
je 0x563a88
cmp al, 0x43
jne 0x563a9e
cmp byte [ebp - 2], 0x44
jne 0x563a9e
cmp byte [ebp - 1], 0x20
jne 0x563a9e
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 0x563a40
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 0x563b14
lea ecx, [ebp - 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov al, byte [edx]
cmp al, 0x20
jne 0x563ad9
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x563b14
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 0x563ac4
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 0x563b59
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 0x563b5f
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.004eaa10
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 0x563bb6
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 0x563d93
mov dword [esi + 0xc], edi
jmp 0x563bd9
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 0x563c0e
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, edi
je 0x563d99
mov dword [esi + 8], edi
jmp 0x563c2d
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 0x563c5d
cmp eax, edi
je 0x563c52
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 0x563d60
cmp eax, edi
jne 0x563c95
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 0x563d5e
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x563cc7
cmp edx, ebp
jge 0x563cb7
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 0x563d60
jle 0x563cbf
sub edx, ebp
mov dword [esp + 0x24], edx
mov dword [ebx + 8], ebp
jmp 0x563d60
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x563cf1
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x563ce5
mov eax, 4
jmp 0x563cf1
cmp eax, 0x400
jle 0x563cf1
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x563cff
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 0x563db7
jmp 0x563a3b
cmp esi, edi
je 0x563dae
jmp 0x563d9d
cmp esi, edi
je 0x563dae
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