Function at 0x417d24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cf8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00404f00
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
push str._Y_m_d
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CTime::Format
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
push ecx
push str.Select_count___as_XXX_from_SALEBILL_where_ID_like_
lea edx, [ebp - 0x50]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 8
push 0x4a94fc
mov ecx, dword [ebp - 0xc4]
push ecx
lea edx, [ebp - 0x54]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xb4]
call fcn.0041cd14
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x417f22
mov ecx, dword [ebp - 0x30]
push ecx
push str._s_00001
lea edx, [ebp - 0x28]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0xb0]
or ecx, 1
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00404f50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
jmp 0x4182bc
lea edx, [ebp - 0x30]
push edx
push str.Select_Max_ID__as_AAA_from_SALEBILL_where_ID_like_
lea eax, [ebp - 0x5c]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 0xa
push 0x4a9544
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [ebp - 0x60]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xc
push 0x17
push 0
push 0x4a957c
lea ecx, [ebp - 0x34]
call fcn.00404fa0
push 1
mov ecx, 0x4abae4
call fcn.00404ef0
push eax
lea ecx, [ebp - 0x70]
call fcn.00405970
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14]
call fcn.00405240
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x80]
call fcn.00405930
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x34]
call fcn.00404f70
mov dword [ebp - 0xfc], eax
push 1
push 3
push 3
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0xfc]
call fcn.00404d90
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x80]
call fcn.00405b10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
call fcn.00405b10
push 0x4a958c
lea ecx, [ebp - 0x94]
call fcn.00405930
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.00404f70
mov dword [ebp - 0x104], eax
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x104]
call fcn.00404e50
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x84]
call fcn.00405b30
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x114]
call fcn.004056a0
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x84]
call fcn.00405650
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa4]
call fcn.00405b10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x94]
call fcn.00405b10
push 5
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x120]
call fcn.00405240
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
add eax, 1
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x24]
push edx
push str.__05d
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xac]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
call fcn.00404f70
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
call fcn.00404d10
jmp 0x41824f
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0xb0]
or edx, 1
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00404f50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
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 4