Function at 0x41956c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1dc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00404ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00401710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00401710
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00401710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00401710
mov byte [ebp - 4], 6
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x110
call fcn.00405420
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0x472148
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], 0
lea eax, [ebp + 8]
push eax
push str.Select__from_SALEDETAIL_where_BILLID
lea ecx, [ebp - 0x88]
push ecx
call fcn.00447095
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x144], edx
mov byte [ebp - 4], 7
push 0x46c414
mov eax, dword [ebp - 0x144]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00447021
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00446ec5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.00446d8c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00446d8c
mov byte [ebp - 4], 9
push 7
push 0
push 0x46c440
lea ecx, [ebp - 0x60]
call fcn.00404f70
push 1
mov ecx, 0x4720e0
call fcn.00404eb0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00405930
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.00405210
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
push edx
lea ecx, [ebp - 0xac]
call fcn.004058f0
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x164], eax
push 1
push 3
push 2
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x160]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00404d50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xac]
call fcn.00405ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x9c]
call fcn.00405ad0
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
call fcn.00404c90
mov word [ebp - 0x16a], ax
movsx eax, word [ebp - 0x16a]
test eax, eax
jne 0x419b9f
push str.ROWNO
lea ecx, [ebp - 0xc0]
call fcn.004058f0
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0xc0]
push ecx
lea edx, [ebp - 0xd0]
push edx
mov ecx, dword [ebp - 0x174]
call fcn.00404e10
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00405af0
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x184]
call fcn.00409270
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x54]
call fcn.00446f15
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb0]
call fcn.00405640
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd0]
call fcn.00405ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc0]
call fcn.00405ad0
push str.ITEMCOUNT
lea ecx, [ebp - 0xe4]
call fcn.004058f0
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x190], eax
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0x190]
call fcn.00404e10
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x198]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00405af0
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1a0]
call fcn.00409270
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00446f15
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xd4]
call fcn.00405640
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xf4]
call fcn.00405ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.00405ad0
push 0x46c464
lea ecx, [ebp - 0x104]
call fcn.004058f0
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x1ac]
call fcn.00404e10
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1b4]
call fcn.00405970
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x114]
call fcn.00405ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x104]
call fcn.00405ad0
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004190f3
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x1c0]
push edx
lea ecx, [ebp - 0x58]
call fcn.00446ec5
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x118]
call fcn.00446d8c
push str.ITEMTOTAL
lea ecx, [ebp - 0x128]
call fcn.004058f0
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x1c8]
call fcn.00404e10
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x1d0]
call fcn.004059f0
fstp dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x138]
call fcn.00405ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x128]
call fcn.00405ad0
fld dword [ebp - 0x1c]
sub esp, 8
fstp qword [esp]
push 0x46c47c
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00441ca9
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0x110
call fcn.004053f0
lea ecx, [ebp - 0x54]
call fcn.00405210
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x13c]
add ecx, 0x110
call fcn.00442252
lea ecx, [ebp - 0x58]
call fcn.00405210
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
push eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x13c]
add ecx, 0x110
call fcn.00442252
lea ecx, [ebp - 0x50]
call fcn.00405210
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x1e0]
push edx
push 2
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0x110
call fcn.00442252
lea ecx, [ebp - 0x5c]
call fcn.00405210
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
push ecx
push 3
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x13c]
add ecx, 0x110
call fcn.00442252
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
call fcn.00404d10
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x419764
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x13c]
add ecx, 0x110
call fcn.0041fdd0
push 1
mov eax, dword [ebp - 0x64]
cdq
mov ecx, 0x23
idiv ecx
push eax
mov eax, dword [ebp - 0x68]
cdq
mov ecx, 0x28
idiv ecx
push eax
mov edx, dword [ebp - 0x20]
imul edx, edx, 0xf
add edx, 0x5f
push edx
push 0x1b8
mov ecx, dword [ebp - 0x13c]
add ecx, 0xd4
call fcn.0044645d
mov ecx, dword [ebp - 0x13c]
add ecx, 0xd4
call fcn.0041fdb0
push 5
mov ecx, dword [ebp - 0x13c]
add ecx, 0xd4
call fcn.004464ed
lea ecx, [ebp - 0x60]
call fcn.00404f40
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
call fcn.00404cd0
jmp 0x419c93
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00446d8c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00446d8c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00446d8c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00446d8c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00446d8c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00410a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00446d8c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4