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

Disassembly:
push 0xffffffffffffffff
push 0x5c0180
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 [0x62b9cc]
mov eax, dword [str.FARE__CNY]
mov ebp, ecx
mov word [esp + 0x64], dx
mov ecx, dword [0x62b9c8]
mov edx, dword [0x62b920]
mov dword [esp + 0x60], ecx
mov ecx, dword [str.EQUIV__CNY]
mov dword [esp + 0x5c], eax
mov al, byte [0x62b9ce]
mov dword [esp + 0x38], ecx
mov cl, byte [0x62b926]
mov dword [esp + 0x3c], edx
mov edx, dword [str.TAX___CNY]
mov byte [esp + 0x66], al
mov ax, word [0x62b924]
mov byte [esp + 0x42], cl
mov cx, word [0x62b9c0]
mov dword [esp + 0x50], edx
mov dl, byte [0x62b9c2]
mov word [esp + 0x40], ax
mov eax, dword [0x62b9bc]
mov word [esp + 0x58], cx
mov ecx, dword [0x62dbb4]
mov byte [esp + 0x5a], dl
mov edx, dword [0x62dbb8]
mov dword [esp + 0x54], eax
mov eax, dword [str.TAX____EXEMPT]
mov dword [esp + 0x78], ecx
mov cl, byte [0x62dbbe]
mov dword [esp + 0x7c], edx
mov edx, dword [str.TAX_____EXEMPT]
mov dword [esp + 0x74], eax
mov ax, word [0x62dbbc]
mov byte [esp + 0x82], cl
mov ecx, dword [0x62dba8]
mov dword [esp + 0x84], edx
mov edx, dword [0x62dbac]
mov word [esp + 0x80], ax
mov eax, dword [0x62dba4]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x62b9b0]
mov dword [esp + 0x90], edx
mov dx, word [0x62b9b4]
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 [0x62b9a4]
mov dword [esp + 0x44], eax
mov al, byte [0x62b9b6]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0x4070]
lea ecx, [esp + 0x68]
mov byte [esp + 0x4e], al
mov ax, word [0x62b9a8]
push ecx
push edx
mov word [esp + 0x78], ax
mov dword [esp + 0x28], 0xbf800000
call ebx
test eax, eax
mov eax, dword [ebp + 0x4070]
push str.COMMISSION_STAND
push eax
setne byte [esp + 0x2b]
call ebx
xor esi, esi
add esp, 0x10
cmp eax, esi
je 0x57f750
mov dword [esp + 0x20], esi
jmp 0x57f7d5
mov ecx, dword [ebp + 0x4070]
push str.COMMISSION
push ecx
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x57f788
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 0x57f7d5
mov al, byte [esp + 0x1b]
test al, al
je 0x57f7d5
push str.MS_PG
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x407c]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0xf4], esi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x57f7c1
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xf0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x4070]
xor edi, edi
lea ecx, [ebp + 0x40c4]
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.00558c40
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.0057fe00
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x57f863
mov edx, dword [ebp + 0x40c4]
lea esi, [ebp + 0x40c4]
mov eax, dword [edx - 8]
test eax, eax
je 0x57f857
push 0x2c
mov ecx, esi
call fcn.005942a0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0059453a
test edi, edi
jne 0x57f8de
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x57f89b
lea eax, [esp + 0x38]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov edx, eax
add esp, 8
test edx, edx
je 0x57f9d6
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.004ea070
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 0x57f9d6
jle 0x57f9d6
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x57f9b0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x57f93f
lea edx, [esp + 0x74]
lea eax, [esp + 0x94]
push edx
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x57f93f
lea ecx, [esp + 0x84]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x57f9d6
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 0x57f9a1
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.004ea070
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 0x57f941
cmp byte [esp + 0x1b], 1
je 0x57fa15
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
jmp 0x57f9d6
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x57f9d6
lea ecx, [esp + 0x44]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x57fa33
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 0x57fb2a
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 0x57f7f8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0x34], eax
jmp 0x57fb31
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.004ea070
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 0x57fb03
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push edi
push esi
push ebx
lea ecx, [esp + 0x2c]
push 0x62b974
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.004ea100
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 0x57fde0
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 0x57fb3e
mov dword [esp + 0xf0], edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x57fb9c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push 0x62db54
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.004ea100
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 0x57fbe0
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 0x57fbe6
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 + 0x40c4]
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 + 0x40a4]
mov ebx, eax
mov dword [esp + 0x1c], ebx
inc ebx
test ebx, ebx
jne 0x57fc55
mov eax, dword [ebp + 0x40a0]
test eax, eax
je 0x57fc42
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x40a0], ebx
xor eax, eax
mov dword [ebp + 0x40a8], eax
mov dword [ebp + 0x40a4], eax
jmp 0x57fd6f
mov edx, dword [ebp + 0x40a0]
test edx, edx
jne 0x57fc9c
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x40a0], 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 + 0x40a8], ebx
mov dword [ebp + 0x40a4], ebx
jmp 0x57fd6f
mov edi, dword [ebp + 0x40a8]
cmp ebx, edi
jg 0x57fcc0
cmp ebx, eax
jle 0x57fcb5
mov ecx, ebx
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp + 0x40a4], ebx
jmp 0x57fd6f
mov ecx, dword [ebp + 0x40ac]
test ecx, ecx
jne 0x57fcee
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x57fce1
mov ecx, 4
jmp 0x57fcee
cmp ecx, 0x400
jle 0x57fcee
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x57fcfd
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 + 0x40a4]
mov esi, dword [ebp + 0x40a0]
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 + 0x40a4]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x40a0]
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 + 0x40a0], eax
mov dword [ebp + 0x40a4], ebx
mov dword [ebp + 0x40a8], ecx
mov edx, dword [ebp + 0x40a0]
mov eax, dword [esp + 0x1c]
mov dword [edx + eax*4], esi
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x57fdde
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
push 0x62db54
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.004ea100
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