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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c67b8
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 0x56aced
xor al, al
jmp 0x56b24f
push str.SFC:
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x56ad2e
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.004ecb80
add esp, 0x10
xor al, al
jmp 0x56b24f
mov eax, dword [esi + 0x40a0]
xor ebx, ebx
test eax, eax
jle 0x56ad63
mov ecx, dword [esi + 0x409c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x56ad58
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 0x56ad3a
lea ebx, [esi + 0x4098]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.005343d0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x6346dc]
mov edx, dword [str.FARE:CNY]
mov cl, byte [0x6346e0]
mov dword [esp + 0x44], eax
mov eax, dword [0x6346d4]
mov dword [esp + 0x40], edx
mov edx, dword [str.TAX:CNY]
mov dword [esp + 0x3c], eax
mov eax, dword [0x6346c8]
mov byte [esp + 0x48], cl
mov ecx, dword [str.TAX:TEXEMPTCN]
mov dword [esp + 0x38], edx
mov edx, dword [0x6346c4]
mov dword [esp + 0x64], eax
mov ax, word [0x6346bc]
mov dword [esp + 0x5c], ecx
mov cx, word [0x6346cc]
mov dword [esp + 0x60], edx
mov edx, dword [str.YQ:CNY]
mov word [esp + 0x34], ax
mov eax, dword [0x6346ac]
mov word [esp + 0x68], cx
mov cl, byte [0x6346be]
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 [0x6346b0]
mov dword [esp + 0x4c], edx
mov dl, byte [0x6346b4]
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 0x56aec0
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 0x6346e8
push eax
call esi
add esp, 8
test eax, eax
je 0x56aead
mov ecx, dword [esp + 0x10]
push 0x6346e4
push ecx
call esi
add esp, 8
test eax, eax
jne 0x56aeb2
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 0x56b23c
mov al, byte [esp + 0x7c]
test al, al
je 0x56af1e
mov al, byte [ebp - 3]
cmp al, 0x5a
jne 0x56aef8
cmp byte [ebp - 2], 0x53
jne 0x56aef8
cmp byte [ebp - 1], 0x20
je 0x56af08
cmp al, 0x43
jne 0x56af1e
cmp byte [ebp - 2], 0x44
jne 0x56af1e
cmp byte [ebp - 1], 0x20
jne 0x56af1e
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 0x56aec0
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 0x56af94
lea ecx, [ebp - 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov al, byte [edx]
cmp al, 0x20
jne 0x56af59
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x56af94
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 0x56af44
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 0x56afd9
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 0x56afdf
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.004ec3c0
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 0x56b036
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 0x56b213
mov dword [esi + 0xc], edi
jmp 0x56b059
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 0x56b08e
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, edi
je 0x56b219
mov dword [esi + 8], edi
jmp 0x56b0ad
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 0x56b0dd
cmp eax, edi
je 0x56b0d2
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 0x56b1e0
cmp eax, edi
jne 0x56b115
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 0x56b1de
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x56b147
cmp edx, ebp
jge 0x56b137
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 0x56b1e0
jle 0x56b13f
sub edx, ebp
mov dword [esp + 0x24], edx
mov dword [ebx + 8], ebp
jmp 0x56b1e0
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x56b171
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x56b165
mov eax, 4
jmp 0x56b171
cmp eax, 0x400
jle 0x56b171
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x56b17f
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 0x56b237
jmp 0x56aebb
cmp esi, edi
je 0x56b22e
jmp 0x56b21d
cmp esi, edi
je 0x56b22e
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