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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bbbc8
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 0x55356d
xor al, al
jmp 0x553acc
push str.SFC:
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x5535ab
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 + 0x28], eax
call fcn.004eb1d0
add esp, 0x10
xor al, al
jmp 0x553acc
mov eax, dword [esi + 0x40cc]
xor ebx, ebx
test eax, eax
jle 0x5535e0
mov ecx, dword [esi + 0x40c8]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x5535d5
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 + 0x40cc]
inc ebx
cmp ebx, eax
jl 0x5535b7
lea ebx, [esi + 0x40c4]
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 + 0x40ac]
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 0x55373d
mov eax, dword [esi + 0x40a8]
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 0x55372a
mov ecx, dword [esp + 0x10]
push 0x6290bc
push ecx
call esi
add esp, 8
test eax, eax
jne 0x55372f
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 0x553ab9
mov al, byte [esp + 0x7c]
test al, al
je 0x55379b
mov al, byte [ebp - 3]
cmp al, 0x5a
jne 0x553775
cmp byte [ebp - 2], 0x53
jne 0x553775
cmp byte [ebp - 1], 0x20
je 0x553785
cmp al, 0x43
jne 0x55379b
cmp byte [ebp - 2], 0x44
jne 0x55379b
cmp byte [ebp - 1], 0x20
jne 0x55379b
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 0x55373d
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 0x553811
lea ecx, [ebp - 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov al, byte [edx]
cmp al, 0x20
jne 0x5537d6
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x553811
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 0x5537c1
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 0x553856
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 0x55385c
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 0x5538b3
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 0x553a90
mov dword [esi + 0xc], edi
jmp 0x5538d6
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 0x55390b
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, edi
je 0x553a96
mov dword [esi + 8], edi
jmp 0x55392a
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 0x55395a
cmp eax, edi
je 0x55394f
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 0x553a5d
cmp eax, edi
jne 0x553992
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 0x553a5b
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x5539c4
cmp edx, ebp
jge 0x5539b4
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 0x553a5d
jle 0x5539bc
sub edx, ebp
mov dword [esp + 0x24], edx
mov dword [ebx + 8], ebp
jmp 0x553a5d
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x5539ee
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5539e2
mov eax, 4
jmp 0x5539ee
cmp eax, 0x400
jle 0x5539ee
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x5539fc
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 0x553ab4
jmp 0x553738
cmp esi, edi
je 0x553aab
jmp 0x553a9a
cmp esi, edi
je 0x553aab
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