Function at 0x41d859
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48db74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00404f00
mov byte [ebp - 4], 4
lea eax, [ebp + 0xc]
push eax
push str.Select_count___as_XXX_from_SALEDETAIL_where_BILLID_
lea ecx, [ebp - 0x3c]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 5
push 0x4a9d20
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x40]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x94]
call fcn.0041cd14
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41d9c8
push 0x4a9d5c
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x90]
or edx, 1
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00404f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
jmp 0x41dc4b
lea eax, [ebp + 0xc]
push eax
push str.Select_SUM_ITEMTOTAL__as_SSS_from_SALEDETAIL_where_BILLID
lea ecx, [ebp - 0x48]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 7
push 0x4a9d64
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 9
push 0x17
push 0
push 0x4a9da4
lea ecx, [ebp - 0x24]
call fcn.00404fa0
push 1
mov ecx, 0x4abae4
call fcn.00404ef0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405970
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.00405240
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00405930
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24]
call fcn.00404f70
mov dword [ebp - 0xd4], eax
push 1
push 3
push 3
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
mov ecx, dword [ebp - 0xd4]
call fcn.00404d90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.00405b10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.00405b10
push 0x4a9db4
lea ecx, [ebp - 0x7c]
call fcn.00405930
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00404f70
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.00404e50
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xe4]
call fcn.00405a30
fstp dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8c]
call fcn.00405b10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7c]
call fcn.00405b10
jmp 0x41dbdc
mov dword [ebp - 4], 4
fld dword [ebp - 0x20]
sub esp, 8
fstp qword [esp]
push 0x4a9dd8
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x90]
or ecx, 1
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00404f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8