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

Disassembly:
push 0xffffffffffffffff
push 0x5c3420
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 [0x62edd0]
mov eax, dword [str.FARE__CNY]
mov ebp, ecx
mov word [esp + 0x64], dx
mov ecx, dword [0x62edcc]
mov edx, dword [0x62ed24]
mov dword [esp + 0x60], ecx
mov ecx, dword [str.EQUIV__CNY]
mov dword [esp + 0x5c], eax
mov al, byte [0x62edd2]
mov dword [esp + 0x38], ecx
mov cl, byte [0x62ed2a]
mov dword [esp + 0x3c], edx
mov edx, dword [str.TAX___CNY]
mov byte [esp + 0x66], al
mov ax, word [0x62ed28]
mov byte [esp + 0x42], cl
mov cx, word [0x62edc4]
mov dword [esp + 0x50], edx
mov dl, byte [0x62edc6]
mov word [esp + 0x40], ax
mov eax, dword [0x62edc0]
mov word [esp + 0x58], cx
mov ecx, dword [0x631450]
mov byte [esp + 0x5a], dl
mov edx, dword [0x631454]
mov dword [esp + 0x54], eax
mov eax, dword [str.TAX____EXEMPT]
mov dword [esp + 0x78], ecx
mov cl, byte [0x63145a]
mov dword [esp + 0x7c], edx
mov edx, dword [str.TAX_____EXEMPT]
mov dword [esp + 0x74], eax
mov ax, word [0x631458]
mov byte [esp + 0x82], cl
mov ecx, dword [0x631444]
mov dword [esp + 0x84], edx
mov edx, dword [0x631448]
mov word [esp + 0x80], ax
mov eax, dword [0x631440]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x62edb4]
mov dword [esp + 0x90], edx
mov dx, word [0x62edb8]
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 [0x62eda8]
mov dword [esp + 0x44], eax
mov al, byte [0x62edba]
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 [0x62edac]
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 0x583570
mov dword [esp + 0x20], esi
jmp 0x5835f5
mov ecx, dword [ebp + 0x4070]
push str.COMMISSION
push ecx
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x5835a8
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 0x5835f5
mov al, byte [esp + 0x1b]
test al, al
je 0x5835f5
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 0x5835e1
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.0055b5a0
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.00583c20
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x583683
mov edx, dword [ebp + 0x40c4]
lea esi, [ebp + 0x40c4]
mov eax, dword [edx - 8]
test eax, eax
je 0x583677
push 0x2c
mov ecx, esi
call fcn.00596ed0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0059716a
test edi, edi
jne 0x5836fe
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x5836bb
lea eax, [esp + 0x38]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov edx, eax
add esp, 8
test edx, edx
je 0x5837f6
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.004eb680
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 0x5837f6
jle 0x5837f6
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x5837d0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x94]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x58375f
lea edx, [esp + 0x74]
lea eax, [esp + 0x94]
push edx
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x58375f
lea ecx, [esp + 0x84]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x5837f6
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 0x5837c1
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.004eb680
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 0x583761
cmp byte [esp + 0x1b], 1
je 0x583835
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
jmp 0x5837f6
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x5837f6
lea ecx, [esp + 0x44]
lea edx, [esp + 0x94]
push ecx
push edx
call ebx
mov edx, eax
add esp, 8
test edx, edx
jne 0x583853
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 0x58394a
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 0x583618
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0x34], eax
jmp 0x583951
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.004eb680
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 0x583923
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push edi
push esi
push ebx
lea ecx, [esp + 0x2c]
push 0x62ed78
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.004eb710
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 0x583c00
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 0x58395e
mov dword [esp + 0xf0], edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x5839bc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push 0x6313f0
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.004eb710
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 0x583a00
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 0x583a06
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 0x583a75
mov eax, dword [ebp + 0x40a0]
test eax, eax
je 0x583a62
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 0x583b8f
mov edx, dword [ebp + 0x40a0]
test edx, edx
jne 0x583abc
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 0x583b8f
mov edi, dword [ebp + 0x40a8]
cmp ebx, edi
jg 0x583ae0
cmp ebx, eax
jle 0x583ad5
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 0x583b8f
mov ecx, dword [ebp + 0x40ac]
test ecx, ecx
jne 0x583b0e
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x583b01
mov ecx, 4
jmp 0x583b0e
cmp ecx, 0x400
jle 0x583b0e
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x583b1d
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 0x583bfe
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
push 0x6313f0
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.004eb710
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