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

Disassembly:
push 0xffffffffffffffff
push 0x5beaf0
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 [0x629b6c]
mov eax, dword [str.FARE__CNY]
mov ebp, ecx
mov word [esp + 0x64], dx
mov ecx, dword [0x629b68]
mov edx, dword [0x629ac0]
mov dword [esp + 0x60], ecx
mov ecx, dword [str.EQUIV__CNY]
mov dword [esp + 0x5c], eax
mov al, byte [0x629b6e]
mov dword [esp + 0x38], ecx
mov cl, byte [0x629ac6]
mov dword [esp + 0x3c], edx
mov edx, dword [str.TAX___CNY]
mov byte [esp + 0x66], al
mov ax, word [0x629ac4]
mov byte [esp + 0x42], cl
mov cx, word [0x629b60]
mov dword [esp + 0x50], edx
mov dl, byte [0x629b62]
mov word [esp + 0x40], ax
mov eax, dword [0x629b5c]
mov word [esp + 0x58], cx
mov ecx, dword [0x62bd4c]
mov byte [esp + 0x5a], dl
mov edx, dword [0x62bd50]
mov dword [esp + 0x54], eax
mov eax, dword [str.TAX____EXEMPT]
mov dword [esp + 0x78], ecx
mov cl, byte [0x62bd56]
mov dword [esp + 0x7c], edx
mov edx, dword [str.TAX_____EXEMPT]
mov dword [esp + 0x74], eax
mov ax, word [0x62bd54]
mov byte [esp + 0x82], cl
mov ecx, dword [0x62bd40]
mov dword [esp + 0x84], edx
mov edx, dword [0x62bd44]
mov word [esp + 0x80], ax
mov eax, dword [0x62bd3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x629b50]
mov dword [esp + 0x90], edx
mov dx, word [0x629b54]
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 [0x629b44]
mov dword [esp + 0x44], eax
mov al, byte [0x629b56]
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 [0x629b48]
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 0x57f390
mov dword [esp + 0x20], esi
jmp 0x57f415
mov ecx, dword [ebp + 0x406c]
push str.COMMISSION
push ecx
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x57f3c8
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 0x57f415
mov al, byte [esp + 0x1b]
test al, al
je 0x57f415
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 0x57f401
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.005817b0
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.0057fa40
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x57f4a3
mov edx, dword [ebp + 0x40c0]
lea esi, [ebp + 0x40c0]
mov eax, dword [edx - 8]
test eax, eax
je 0x57f497
push 0x2c
mov ecx, esi
call fcn.00592cb0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00592f4a
test edi, edi
jne 0x57f51e
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x57f4db
lea eax, [esp + 0x38]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov edx, eax
add esp, 8
test edx, edx
je 0x57f616
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.004ea980
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 0x57f616
jle 0x57f616
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x57f5f0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x57f57f
lea edx, [esp + 0x74]
lea eax, [esp + 0x94]
push edx
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x57f57f
lea ecx, [esp + 0x84]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x57f616
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 0x57f5e1
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.004ea980
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 0x57f581
cmp byte [esp + 0x1b], 1
je 0x57f655
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
jmp 0x57f616
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x57f616
lea ecx, [esp + 0x44]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x57f673
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 0x57f76a
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 0x57f438
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0x34], eax
jmp 0x57f771
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.004ea980
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 0x57f743
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push edi
push esi
push ebx
lea ecx, [esp + 0x2c]
push 0x629b14
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.004eaa10
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 0x57fa20
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 0x57f77e
mov dword [esp + 0xf0], edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x57f7dc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push 0x62bcec
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.004eaa10
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 0x57f820
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 0x57f826
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 0x57f895
mov eax, dword [ebp + 0x409c]
test eax, eax
je 0x57f882
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 0x57f9af
mov edx, dword [ebp + 0x409c]
test edx, edx
jne 0x57f8dc
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 0x57f9af
mov edi, dword [ebp + 0x40a4]
cmp ebx, edi
jg 0x57f900
cmp ebx, eax
jle 0x57f8f5
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 0x57f9af
mov ecx, dword [ebp + 0x40a8]
test ecx, ecx
jne 0x57f92e
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x57f921
mov ecx, 4
jmp 0x57f92e
cmp ecx, 0x400
jle 0x57f92e
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x57f93d
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 0x57fa1e
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
push 0x62bcec
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.004eaa10
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