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

Disassembly:
push 0xffffffffffffffff
push 0x5be6e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov dx, word [0x629ad4]
mov eax, dword [str.FARE__CNY]
mov ebp, ecx
mov word [esp + 0x64], dx
mov ecx, dword [0x629ad0]
mov edx, dword [0x629a28]
mov dword [esp + 0x60], ecx
mov ecx, dword [str.EQUIV__CNY]
mov dword [esp + 0x5c], eax
mov al, byte [0x629ad6]
mov dword [esp + 0x38], ecx
mov cl, byte [0x629a2e]
mov dword [esp + 0x3c], edx
mov edx, dword [str.TAX___CNY]
mov byte [esp + 0x66], al
mov ax, word [0x629a2c]
mov byte [esp + 0x42], cl
mov cx, word [0x629ac8]
mov dword [esp + 0x50], edx
mov dl, byte [0x629aca]
mov word [esp + 0x40], ax
mov eax, dword [0x629ac4]
mov word [esp + 0x58], cx
mov ecx, dword [0x62bcb4]
mov byte [esp + 0x5a], dl
mov edx, dword [0x62bcb8]
mov dword [esp + 0x54], eax
mov eax, dword [str.TAX____EXEMPT]
mov dword [esp + 0x78], ecx
mov cl, byte [0x62bcbe]
mov dword [esp + 0x7c], edx
mov edx, dword [str.TAX_____EXEMPT]
mov dword [esp + 0x74], eax
mov ax, word [0x62bcbc]
mov byte [esp + 0x82], cl
mov ecx, dword [0x62bca8]
mov dword [esp + 0x84], edx
mov edx, dword [0x62bcac]
mov word [esp + 0x80], ax
mov eax, dword [0x62bca4]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x629ab8]
mov dword [esp + 0x90], edx
mov dx, word [0x629abc]
mov dword [esp + 0x88], eax
mov eax, dword [str.TOTAL_CNY]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x48], ecx
mov ecx, dword [str.IT_FARE]
mov word [esp + 0x4c], dx
mov edx, dword [0x629aac]
mov dword [esp + 0x44], eax
mov al, byte [0x629abe]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0x406c]
lea ecx, [esp + 0x68]
mov byte [esp + 0x4e], al
mov ax, word [0x629ab0]
push ecx
push edx
mov word [esp + 0x78], ax
mov dword [esp + 0x28], 0xbf800000
call ebx
test eax, eax
mov eax, dword [ebp + 0x406c]
push str.COMMISSION_STAND
push eax
setne byte [esp + 0x2b]
call ebx
xor esi, esi
add esp, 0x10
cmp eax, esi
je 0x57efb0
mov dword [esp + 0x20], esi
jmp 0x57f035
mov ecx, dword [ebp + 0x406c]
push str.COMMISSION
push ecx
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x57efe8
mov edi, str.COMMISSION
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x24]
add esp, 4
jmp 0x57f035
mov al, byte [esp + 0x1b]
test al, al
je 0x57f035
push str.MS_PG
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x4078]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0xf4], esi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x57f021
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xf0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x406c]
xor edi, edi
lea ecx, [ebp + 0x40c0]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edx
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x94]
push eax
push ecx
call fcn.005813d0
add esp, 8
mov dword [esp + 0x24], eax
lea edx, [esp + 0x94]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.0057f660
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x57f0c3
mov edx, dword [ebp + 0x40c0]
lea esi, [ebp + 0x40c0]
mov eax, dword [edx - 8]
test eax, eax
je 0x57f0b7
push 0x2c
mov ecx, esi
call fcn.005928d0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00592b6a
test edi, edi
jne 0x57f13e
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x57f0fb
lea eax, [esp + 0x38]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov edx, eax
add esp, 8
test edx, edx
je 0x57f236
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
call fcn.004ea740
add esp, 4
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CString::CString
jmp 0x57f236
jle 0x57f236
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x57f210
lea eax, [esp + 0x50]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x57f19f
lea edx, [esp + 0x74]
lea eax, [esp + 0x94]
push edx
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x57f19f
lea ecx, [esp + 0x84]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x57f236
xor ebx, ebx
push str._CNY
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x57f201
mov edi, str._CNY
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.004ea740
add esp, 4
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov edx, dword [esp + 0x30]
add esp, 4
add edx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edx
call sub.MFC42.DLL_CString::CString
inc ebx
cmp ebx, 8
jl 0x57f1a1
cmp byte [esp + 0x1b], 1
je 0x57f275
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
jmp 0x57f236
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x57f236
lea ecx, [esp + 0x44]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x57f293
add esi, edi
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x30]
or edx, 0xffffffff
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x24]
not ecx
dec ecx
cmp ecx, eax
jle 0x57f38a
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xf0], edx
add ecx, eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x28]
jmp 0x57f058
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0x34], eax
jmp 0x57f391
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
call fcn.004ea740
add esp, 4
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x10]
mov byte [esp + 0xf0], 2
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, dword [esp + 0x2c]
mov edi, eax
mov esi, edi
add esp, 4
sub esi, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], esi
lea eax, [esi + ebx]
cmp edi, eax
je 0x57f363
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push edi
push esi
push ebx
lea ecx, [esp + 0x2c]
push 0x629a7c
push ecx
mov byte [esp + 0x104], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea7d0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [ebp + 0x28], eax
mov byte [esp + 0xf0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xf0], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x57f640
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xf0], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x57f39e
mov dword [esp + 0xf0], edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x57f3fc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push 0x62bc54
push ecx
mov dword [esp + 0xfc], 4
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea7d0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [ebp + 0x28], eax
mov dword [esp + 0xf0], 0xffffffff
call sub.MFC42.DLL_CString::CString
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
xor edi, edi
mov dword [esp + 0xf0], 5
cmp esi, edi
je 0x57f440
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x18], 0xbf800000
mov dword [esp + 0x14], esi
jmp 0x57f446
mov dword [esp + 0x14], edi
mov esi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], eax
lea eax, [ebp + 0x40c0]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 4]
mov dword [esp + 0xf4], 0xffffffff
mov dword [esi + 8], ebx
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x20]
mov dword [esi + 0x18], edx
mov eax, dword [ebp + 0x40a0]
mov ebx, eax
mov dword [esp + 0x1c], ebx
inc ebx
test ebx, ebx
jne 0x57f4b5
mov eax, dword [ebp + 0x409c]
test eax, eax
je 0x57f4a2
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x409c], ebx
xor eax, eax
mov dword [ebp + 0x40a4], eax
mov dword [ebp + 0x40a0], eax
jmp 0x57f5cf
mov edx, dword [ebp + 0x409c]
test edx, edx
jne 0x57f4fc
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x409c], 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 [ebp + 0x40a4], ebx
mov dword [ebp + 0x40a0], ebx
jmp 0x57f5cf
mov edi, dword [ebp + 0x40a4]
cmp ebx, edi
jg 0x57f520
cmp ebx, eax
jle 0x57f515
mov ecx, ebx
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp + 0x40a0], ebx
jmp 0x57f5cf
mov ecx, dword [ebp + 0x40a8]
test ecx, ecx
jne 0x57f54e
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x57f541
mov ecx, 4
jmp 0x57f54e
cmp ecx, 0x400
jle 0x57f54e
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x57f55d
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x40a0]
mov esi, dword [ebp + 0x409c]
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 [ebp + 0x40a0]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x409c]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add esp, 8
mov dword [ebp + 0x409c], eax
mov dword [ebp + 0x40a0], ebx
mov dword [ebp + 0x40a4], ecx
mov edx, dword [ebp + 0x409c]
mov eax, dword [esp + 0x1c]
mov dword [edx + eax*4], esi
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x57f63e
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
push 0x62bc54
push edx
mov dword [esp + 0xfc], 6
call sub.MFC42.DLL_CString::Format
add esp, 8
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea7d0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x28], eax
mov dword [esp + 0xf0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret