Function at 0x41b830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a54a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x10], esp
mov eax, dword [0x48fd28]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x80], eax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x24]
push eax
push str.Select_COUNT___as_XXX_from_SALEBILL
push ecx
mov byte [ebp - 4], 8
call fcn.00472315
push 0x49a880
lea edx, [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], 9
call fcn.004722a1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00472099
mov eax, str.ADODB.Recordset
mov byte [ebp - 4], 0xb
test eax, eax
je 0x41b926
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00429560
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push str.ADODB.Recordset
push ebx
push ebx
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41b91a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x41b926
push 0x17
push ebx
push edi
lea ecx, [ebp - 0x14]
call fcn.00404750
mov eax, dword [0x49a948]
mov word [ebp - 0x48], 9
mov dword [ebp - 0x40], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x4c]
mov bl, 0xc
push eax
mov byte [ebp - 4], bl
mov esi, eax
mov word [ebp - 0x60], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x41b965
test esi, esi
je 0x41b965
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
test eax, eax
jne 0x41b97d
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x48]
push 1
push 3
push 3
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
sub esp, 0x10
mov esi, eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x44]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x40]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x60]
mov ecx, esp
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x58]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x54]
mov dword [ecx + 0xc], edi
call dword [edx + 0xa0]
test eax, eax
jge 0x41b9d6
push 0x48d1d0
push esi
push eax
call fcn.004348a8
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x60]
push edx
mov byte [ebp - 4], bl
call edi
test eax, eax
jge 0x41b9ef
push eax
call fcn.0043489a
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push eax
call edi
test eax, eax
jge 0x41ba03
push eax
call fcn.0043489a
push 0x48d3d8
mov word [ebp - 0x60], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x41ba2d
mov ecx, 0x48d3d8
test ecx, ecx
je 0x41ba2d
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
test eax, eax
jne 0x41ba42
push 0x80004003
call fcn.0043489a
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x9c]
push edx
push eax
call fcn.004046c0
mov esi, eax
cmp word [esi], 3
jne 0x41ba65
mov ecx, dword [esi + 8]
mov dword [ebp - 0x18], ecx
jmp 0x41ba98
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push 3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call fcn.00404b40
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xf
call edi
test eax, eax
jge 0x41ba95
push eax
call fcn.0043489a
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xe
push ecx
call edi
test eax, eax
jge 0x41baaf
push eax
call fcn.0043489a
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
push edx
call edi
test eax, eax
jge 0x41bac3
push eax
call fcn.0043489a
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41bad7
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
test eax, eax
jge 0x41baf2
push 0x48d1d0
push esi
push eax
call fcn.004348a8
mov eax, dword [ebp - 0x18]
mov ebx, 8
test eax, eax
mov dword [ebp - 4], ebx
jne 0x41bc56
mov edx, dword [ebp - 0x6c]
push 0x48f2f0
push 0
push 0x180
mov eax, dword [edx + 0x168]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.00472099
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00472099
lea ecx, [ebp - 0x14]
call fcn.00404740
jmp 0x41dd68
lea ecx, [ebp + 8]
lea edx, [ebp - 0x24]
push ecx
push str.Select_SUM_ACTTOTAL__as_AAA_SUM_PEOPLES__as_BBB_COUNT___as_CCC_from_SALEBILL
push edx
call fcn.00472315
push 0x49a880
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x14
push eax
call fcn.004722a1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x15
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00472099
mov ecx, str.ADODB.Recordset
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x41bcfb
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00429560
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push str.ADODB.Recordset
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41bcee
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x41bcfb
push 0x17
push 0
push edi
lea ecx, [ebp - 0x14]
call fcn.00404750
mov eax, dword [0x49a948]
mov word [ebp - 0x60], 9
mov dword [ebp - 0x58], eax
push eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x17
push eax
mov esi, eax
mov word [ebp - 0x48], bx
call fcn.00434947
test eax, eax
mov dword [ebp - 0x40], eax
jne 0x41bd37
test esi, esi
je 0x41bd37
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x18
test eax, eax
jne 0x41bd4f
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x60]
push 1
push 3
push 3
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
sub esp, 0x10
mov esi, eax
mov dword [edx], edi
mov edi, dword [ebp - 0x5c]
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x58]
mov dword [edx + 8], edi
mov edi, dword [ebp - 0x54]
mov dword [edx + 0xc], edi
mov edi, dword [ebp - 0x48]
mov edx, esp
push eax
mov dword [edx], edi
mov edi, dword [ebp - 0x44]
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x40]
mov dword [edx + 8], edi
mov edi, dword [ebp - 0x3c]
mov dword [edx + 0xc], edi
call dword [ecx + 0xa0]
test eax, eax
jge 0x41bda8
push 0x48d1d0
push esi
push eax
call fcn.004348a8
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x17
call edi
test eax, eax
jge 0x41bdc2
push eax
call fcn.0043489a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x16
push ecx
call edi
test eax, eax
jge 0x41bdd6
push eax
call fcn.0043489a
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41bdea
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea ecx, [ebp - 0x66]
push ecx
push eax
mov esi, eax
call dword [edx + 0x50]
test eax, eax
jge 0x41be06
push 0x48d1d0
push esi
push eax
call fcn.004348a8
cmp word [ebp - 0x66], 0
jne 0x41c051
push 0x48e7e4
mov word [ebp - 0x60], bx
call fcn.00434947
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x41be39
mov edx, 0x48e7e4
test edx, edx
je 0x41be39
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x19
test eax, eax
jne 0x41be4e
push 0x80004003
call fcn.0043489a
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x9c]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004046c0
mov esi, eax
cmp word [esi], 4
jne 0x41be71
fld dword [esi + 8]
fstp dword [ebp - 0x20]
jmp 0x41beaa
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1b
call fcn.00404b40
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1a
call edi
test eax, eax
jge 0x41bea4
push eax
call fcn.0043489a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x19
push eax
call edi
test eax, eax
jge 0x41bec1
push eax
call fcn.0043489a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x16
push ecx
call edi
test eax, eax
jge 0x41bed5
push eax
call fcn.0043489a
mov edx, dword [ebp - 0x20]
push 0x48f284
mov dword [ebp - 0x68], edx
mov word [ebp - 0x60], bx
call fcn.00434947
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x41bf03
mov eax, 0x48f284
test eax, eax
je 0x41bf03
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1c
test eax, eax
jne 0x41bf18
push 0x80004003
call fcn.0043489a
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.004046c0
mov esi, eax
cmp word [esi], 3
jne 0x41bf38
mov ebx, dword [esi + 8]
jmp 0x41bf6a
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push 3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1e
call fcn.00404b40
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 0x1d
call edi
test eax, eax
jge 0x41bf68
push eax
call fcn.0043489a
mov ebx, esi
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 0x1c
push edx
call edi
test eax, eax
jge 0x41bf81
push eax
call fcn.0043489a
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x16
push eax
call edi
test eax, eax
jge 0x41bf95
push eax
call fcn.0043489a
push 0x48f280
mov word [ebp - 0x60], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x41bfbf
mov ecx, 0x48f280
test ecx, ecx
je 0x41bfbf
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1f
test eax, eax
jne 0x41bfd4
push 0x80004003
call fcn.0043489a
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x9c]
push edx
push eax
call fcn.004046c0
mov esi, eax
cmp word [esi], 3
jne 0x41bff4
mov esi, dword [esi + 8]
jmp 0x41c024
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push 3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x21
call fcn.00404b40
mov esi, dword [ebp - 0x40]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x20
call edi
test eax, eax
jge 0x41c024
push eax
call fcn.0043489a
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x1f
push eax
call edi
test eax, eax
jge 0x41c03b
push eax
call fcn.0043489a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x16
push ecx
call edi
test eax, eax
jge 0x41c057
push eax
call fcn.0043489a
jmp 0x41c057
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 8]
fld dword [ebp - 0x20]
sub esp, 8
lea edx, [ebp - 0x64]
fstp qword [esp]
push str._.2f
push edx
call fcn.0046d44d
add esp, 0x10
lea eax, [ebp - 0x84]
push ebx
push 0x48d364
push eax
call fcn.0046d44d
add esp, 0xc
lea ecx, [ebp - 0x88]
push esi
push 0x48d364
push ecx
call fcn.0046d44d
mov edx, dword [ebp - 0x64]
add esp, 0xc
mov esi, 0x1f
lea ecx, [ebp - 0x1c]
mov eax, dword [edx - 8]
push 0x48e4f0
sub esi, eax
call fcn.004721d6
xor edi, edi
mov bl, 0x22
lea eax, [esi - 1]
cmp edi, eax
jge 0x41c0ed
lea ecx, [ebp - 0x1c]
push 0x48e4f0
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x16
call fcn.00472099
inc edi
jmp 0x41c0b9
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
push 0x48e424
push ecx
call fcn.00472315
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x23
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047223b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x6c]
push eax
push 0
mov edx, dword [ecx + 0x168]
push 0x180
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x16
call fcn.00472099
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41c153
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
test eax, eax
jge 0x41c16e
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea edx, [ebp - 0x108]
mov dword [ebp - 4], 8
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x24]
push eax
push str.Select_SUM_TOTAL__as_XXX_from_SALEBILL
push ecx
mov byte [ebp - 4], 0x27
call fcn.00472315
push 0x49a880
lea edx, [ebp - 0x18]
mov bl, 0x28
push eax
push edx
mov byte [ebp - 4], bl
call fcn.004722a1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x29
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x27
call fcn.00472099
push 0x48e2f8
push 0x48f250
lea ecx, [ebp - 0x4c]
call fcn.0046cdda
push str.BEGINDATE
push str.ENDDATE
lea ecx, [ebp - 0x4c]
call fcn.0046cdda
mov eax, str.ADODB.Recordset
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x41c36a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00429560
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push str.ADODB.Recordset
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41c35d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x41c36a
push 0x17
push 0
push edi
lea ecx, [ebp - 0x14]
call fcn.00404750
mov eax, dword [0x49a948]
mov word [ebp - 0x60], 9
mov dword [ebp - 0x58], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x4c]
mov bl, 0x2b
push eax
mov byte [ebp - 4], bl
mov esi, eax
mov word [ebp - 0x48], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x40], eax
jne 0x41c3a9
test esi, esi
je 0x41c3a9
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x2c
test eax, eax
jne 0x41c3c1
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x60]
push 1
push 3
push 3
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
sub esp, 0x10
mov esi, eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x58]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x54]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x48]
mov ecx, esp
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x44]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x40]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edi
call dword [edx + 0xa0]
test eax, eax
jge 0x41c41a
push 0x48d1d0
push esi
push eax
call fcn.004348a8
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], bl
call esi
test eax, eax
jge 0x41c433
push eax
call fcn.0043489a
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x2a
push eax
call esi
test eax, eax
jge 0x41c447
push eax
call fcn.0043489a
push 0x48d3d8
mov word [ebp - 0x48], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x40], eax
jne 0x41c471
mov ecx, 0x48d3d8
test ecx, ecx
je 0x41c471
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov bl, 0x2d
test eax, eax
mov byte [ebp - 4], bl
jne 0x41c487
push 0x80004003
call fcn.0043489a
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x9c]
push edx
push eax
call fcn.004046c0
lea ecx, [ebp - 0x108]
push eax
push ecx
mov byte [ebp - 4], 0x2e
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x41c4b6
push eax
call fcn.0043489a
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], bl
push edx
call esi
test eax, eax
jge 0x41c4cc
push eax
call fcn.0043489a
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x2a
push eax
call esi
test eax, eax
jge 0x41c4e0
push eax
call fcn.0043489a
fld qword [ebp - 0x100]
fcom dword [0x47c860]
fnstsw ax
test ah, 0x41
jne 0x41c514
fld dword [ebp - 0x68]
fadd st(1)
sub esp, 8
lea ecx, [ebp - 0x64]
fstp dword [ebp - 0x68]
fstp qword [esp]
push str._.2f
push ecx
call fcn.0046d44d
add esp, 0x10
jmp 0x41c523
push str.0.00
lea ecx, [ebp - 0x64]
fstp st(0)
call fcn.004721d6
mov edx, dword [ebp - 0x64]
mov esi, 0x21
push 0x48e4f0
lea ecx, [ebp - 0x1c]
mov eax, dword [edx - 8]
sub esi, eax
call fcn.004721d6
xor edi, edi
mov bl, 0x2f
lea eax, [esi - 1]
cmp edi, eax
jge 0x41c575
lea ecx, [ebp - 0x1c]
push 0x48e4f0
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2a
call fcn.00472099
inc edi
jmp 0x41c541
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
push 0x48f22c
push ecx
call fcn.00472315
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x30
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047223b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x6c]
push eax
push 0
mov edx, dword [ecx + 0x168]
push 0x180
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x2a
call fcn.00472099
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41c5db
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
test eax, eax
jge 0x41c5f6
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea edx, [ebp + 8]
lea eax, [ebp - 0x24]
push edx
push str.Select_SUM_TOTAL__as_XXX_from_SALEBILL
push eax
mov dword [ebp - 4], 0x27
call fcn.00472315
push str._and_PAYMODE88
lea ecx, [ebp - 0x18]
mov bl, 0x34
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.004722a1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x35
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x27
call fcn.00472099
mov edx, str.ADODB.Recordset
mov byte [ebp - 4], 0x36
test edx, edx
je 0x41c7bd
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00429560
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push str.ADODB.Recordset
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41c7b0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x41c7bd
push 0x17
push 0
push edi
lea ecx, [ebp - 0x14]
call fcn.00404750
mov eax, dword [0x49a948]
mov word [ebp - 0x60], 9
mov dword [ebp - 0x58], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x4c]
mov bl, 0x37
push eax
mov byte [ebp - 4], bl
mov esi, eax
mov word [ebp - 0x48], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x40], eax
jne 0x41c7fc
test esi, esi
je 0x41c7fc
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x38
test eax, eax
jne 0x41c814
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x60]
push 1
push 3
push 3
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
sub esp, 0x10
mov esi, eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x58]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x54]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x48]
mov ecx, esp
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x44]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x40]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edi
call dword [edx + 0xa0]
test eax, eax
jge 0x41c86d
push 0x48d1d0
push esi
push eax
call fcn.004348a8
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], bl
call esi
test eax, eax
jge 0x41c886
push eax
call fcn.0043489a
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x36
push eax
call esi
test eax, eax
jge 0x41c89a
push eax
call fcn.0043489a
push 0x48d3d8
mov word [ebp - 0x48], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x40], eax
jne 0x41c8c4
mov ecx, 0x48d3d8
test ecx, ecx
je 0x41c8c4
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov bl, 0x39
test eax, eax
mov byte [ebp - 4], bl
jne 0x41c8da
push 0x80004003
call fcn.0043489a
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x9c]
push edx
push eax
call fcn.004046c0
lea ecx, [ebp - 0x108]
push eax
push ecx
mov byte [ebp - 4], 0x3a
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x41c909
push eax
call fcn.0043489a
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], bl
push edx
call esi
test eax, eax
jge 0x41c91f
push eax
call fcn.0043489a
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x36
push eax
call esi
test eax, eax
jge 0x41c933
push eax
call fcn.0043489a
fld qword [ebp - 0x100]
fcom dword [0x47c860]
fnstsw ax
test ah, 0x41
jne 0x41c967
fld dword [ebp - 0x68]
fadd st(1)
sub esp, 8
lea ecx, [ebp - 0x64]
fstp dword [ebp - 0x68]
fstp qword [esp]
push str._.2f
push ecx
call fcn.0046d44d
add esp, 0x10
jmp 0x41c976
push str.0.00
lea ecx, [ebp - 0x64]
fstp st(0)
call fcn.004721d6
mov edx, dword [ebp - 0x64]
mov esi, 0x23
push 0x48e4f0
lea ecx, [ebp - 0x1c]
mov eax, dword [edx - 8]
sub esi, eax
call fcn.004721d6
xor edi, edi
mov bl, 0x3b
lea eax, [esi - 1]
cmp edi, eax
jge 0x41c9c8
lea ecx, [ebp - 0x1c]
push 0x48e4f0
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x36
call fcn.00472099
inc edi
jmp 0x41c994
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
push 0x48f1f8
push ecx
call fcn.00472315
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x3c
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047223b
mov eax, dword [eax]
mov esi, dword [ebp - 0x6c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov ecx, dword [esi + 0x168]
push 0
push 0x180
push ecx
call edi
lea ecx, [ebp - 0x18]
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x36
call fcn.00472099
mov edx, dword [esi + 0x168]
push str._______________________________________
push 0
push 0x180
push edx
call edi
mov eax, dword [0x48fd28]
mov dword [ebp - 0x50], eax
fld dword [ebp - 0x68]
sub esp, 8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x3d
fstp qword [esp]
push str._.2f
push ecx
call fcn.0046d44d
mov edx, dword [ebp - 0x50]
add esp, 0x10
mov ebx, 0x26
lea ecx, [ebp - 0x1c]
mov eax, dword [edx - 8]
push 0x48e4f0
sub ebx, eax
call fcn.004721d6
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
lea eax, [ebx - 1]
cmp ecx, eax
jge 0x41cab2
lea ecx, [ebp - 0x1c]
push 0x48e4f0
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x3e
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x3d
call fcn.00472099
inc dword [ebp - 0x20]
jmp 0x41ca78
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.0047223b
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x168]
push 0
push 0x180
push eax
call edi
lea ecx, [ebp - 0x18]
call fcn.00472099
mov ecx, dword [esi + 0x168]
push 0x48f1a8
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x168]
push 0x48f180
push 0
push 0x180
push edx
call edi
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41cb1c
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
test eax, eax
jge 0x41cb37
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x36
call fcn.00472099
lea edx, [ebp + 8]
lea eax, [ebp - 0x24]
push edx
push str.Select_CLASS_Sum_ACTTOTAL__as_XXX_Sum_VALTOTAL__as_VVV__count___from_PAYDETAIL_where_BILLID_in__Select_ID_from_SALEBILL
push eax
mov dword [ebp - 4], 0x27
call fcn.00472315
push str.__group_by_CLASS_having_count___1
lea ecx, [ebp - 0x18]
mov bl, 0x42
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.004722a1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x43
call fcn.00472186
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00472099
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x27
call fcn.00472099
mov edx, str.ADODB.Recordset
mov byte [ebp - 4], 0x44
test edx, edx
je 0x41cd0a
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00429560
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push str.ADODB.Recordset
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41ccfd
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
jmp 0x41cd0a
push 0x17
push 0
push edi
lea ecx, [ebp - 0x14]
call fcn.00404750
mov eax, dword [0x49a948]
mov word [ebp - 0x60], 9
mov dword [ebp - 0x58], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x4c]
mov bl, 0x45
push eax
mov byte [ebp - 4], bl
mov esi, eax
mov word [ebp - 0x48], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x40], eax
jne 0x41cd49
test esi, esi
je 0x41cd49
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x46
test eax, eax
jne 0x41cd61
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x60]
push 1
push 3
push 3
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
sub esp, 0x10
mov esi, eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x58]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x54]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x48]
mov ecx, esp
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x44]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x40]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edi
call dword [edx + 0xa0]
test eax, eax
jge 0x41cdba
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea edx, [ebp - 0x48]
mov byte [ebp - 4], bl
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edx
call ebx
test eax, eax
jge 0x41cdd3
push eax
call fcn.0043489a
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x44
push eax
call ebx
test eax, eax
jge 0x41cde7
push eax
call fcn.0043489a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41ce09
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x66]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
test eax, eax
jge 0x41ce25
push 0x48d1d0
push esi
push eax
call fcn.004348a8
cmp word [ebp - 0x66], 0
jne 0x41d33d
mov edi, 8
push str.CLASS
mov word [ebp - 0x60], di
call fcn.00434947
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x41ce5d
mov eax, str.CLASS
test eax, eax
je 0x41ce5d
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x47
test eax, eax
jne 0x41ce72
push 0x80004003
call fcn.0043489a
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.004046c0
mov esi, eax
mov dword [ebp - 0x50], 0
cmp word [esi], di
mov byte [ebp - 4], 0x48
jne 0x41cea5
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push eax
call fcn.00404920
jmp 0x41cedd
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x49
call fcn.00404b40
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x50]
push edx
call fcn.00404920
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x48
push eax
call ebx
test eax, eax
jge 0x41cedd
push eax
call fcn.0043489a
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 0x4a
test ecx, ecx
je 0x41ceef
call fcn.00404a50
jmp 0x41cef1
xor eax, eax
push eax
lea ecx, [ebp - 0xb4]
call fcn.00472107
lea ecx, [ebp - 0x50]
call fcn.00404a00
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x4d
push ecx
call ebx
test eax, eax
jge 0x41cf1c
push eax
call fcn.0043489a
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 0x4c
push edx
call ebx
test eax, eax
jge 0x41cf30
push eax
call fcn.0043489a
push 0x48d3d8
mov word [ebp - 0xc8], di
call fcn.00434947
test eax, eax
mov dword [ebp - 0xc0], eax
jne 0x41cf5e
mov eax, 0x48d3d8
test eax, eax
je 0x41cf5e
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x4f
test eax, eax
jne 0x41cf73
push 0x80004003
call fcn.0043489a
lea ecx, [ebp - 0xc8]
lea edx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.004046c0
mov esi, eax
cmp word [esi], 4
jne 0x41cf9c
fld dword [esi + 8]
fstp dword [ebp - 0xac]
jmp 0x41cfea
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push 4
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x51
call fcn.00404b40
mov ecx, dword [ebp - 0xec]
lea edx, [ebp - 0xf4]
push edx
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 0x50
call ebx
test eax, eax
jge 0x41cfde
push eax
call fcn.0043489a
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x4f
push ecx
call ebx
test eax, eax
jge 0x41d001
push eax
call fcn.0043489a
lea edx, [ebp - 0xc8]
mov byte [ebp - 4], 0x4c
push edx
call ebx
test eax, eax
jge 0x41d018
push eax
call fcn.0043489a
push 0x48f0b8
mov word [ebp - 0x9c], di
call fcn.00434947
test eax, eax
mov dword [ebp - 0x94], eax
jne 0x41d046
mov eax, 0x48f0b8
test eax, eax
je 0x41d046
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x52
test eax, eax
jne 0x41d05b
push 0x80004003
call fcn.0043489a
lea ecx, [ebp - 0x9c]
lea edx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.004046c0
mov esi, eax
cmp word [esi], 4
jne 0x41d084
fld dword [esi + 8]
fstp dword [ebp - 0xb0]
jmp 0x41d0d2
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push 4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x54
call fcn.00404b40
mov ecx, dword [ebp - 0xd4]
lea edx, [ebp - 0xdc]
push edx
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 0x53
call ebx
test eax, eax
jge 0x41d0c6
push eax
call fcn.0043489a
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x52
push ecx
call ebx
test eax, eax
jge 0x41d0e9
push eax
call fcn.0043489a
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 0x4c
push edx
call ebx
test eax, eax
jge 0x41d100
push eax
call fcn.0043489a
fld dword [ebp - 0xac]
fadd dword [ebp - 0x24]
mov eax, dword [0x48fd28]
mov dword [ebp - 0xa8], eax
fstp dword [ebp - 0x24]
fld dword [ebp - 0xb0]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
fld dword [ebp - 0xac]
sub esp, 8
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x56
fstp qword [esp]
push str._.2f
push eax
call fcn.0046d44d
fld dword [ebp - 0xb0]
add esp, 0x10
lea ecx, [ebp - 0xa0]
sub esp, 8
fstp qword [esp]
push str._.2f
push ecx
call fcn.0046d44d
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xb4]
add esp, 0x10
mov esi, 0x19
mov ecx, dword [ecx - 8]
mov eax, dword [edx - 8]
sub esi, ecx
push 0x48e4f0
lea ecx, [ebp - 0x1c]
sub esi, eax
call fcn.004721d6
xor edi, edi
lea edx, [esi - 1]
push 0x48e4f0
cmp edi, edx
jge 0x41d1d2
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xe0]
push eax
push ecx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x57
call fcn.00472186
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x56
call fcn.00472099
inc edi
jmp 0x41d197
lea ecx, [ebp - 0xa4]
call fcn.00472107
mov edx, dword [ebp - 0xa0]
mov esi, 0xe
mov byte [ebp - 4], 0x58
mov eax, dword [edx - 8]
sub esi, eax
xor edi, edi
lea eax, [esi - 1]
cmp edi, eax
jge 0x41d234
lea ecx, [ebp - 0xa4]
push 0x48e4f0
lea edx, [ebp - 0xe4]
push ecx
push edx
call fcn.004722a1
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x59
call fcn.00472186
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x58
call fcn.00472099
inc edi
jmp 0x41d1f3
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xb4]
push eax
lea edx, [ebp - 0x38]
push ecx
push edx
call fcn.0047223b
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0x78]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x5a
call fcn.0047223b
lea ecx, [ebp - 0xa4]
lea edx, [ebp - 0x74]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x5b
call fcn.0047223b
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0x70]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x5c
call fcn.0047223b
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x6c]
push 0
push 0x180
mov ecx, dword [eax + 0x168]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x70]
call fcn.00472099
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x5b
call fcn.00472099
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x5a
call fcn.00472099
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x58
call fcn.00472099
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41d2e1
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x90]
test eax, eax
jge 0x41d2fc
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x56
call fcn.00472099
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x55
call fcn.00472099
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x4c
call fcn.00472099
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x44
call fcn.00472099
jmp 0x41cdf5
mov eax, dword [ebp - 0x6c]
push 0x48f1a8
push 0
push 0x180
mov ecx, dword [eax + 0x168]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x48fd28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x8c], eax
fld dword [ebp - 0x24]
sub esp, 8
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 0x5e
fstp qword [esp]
push str._.2f
push edx
call fcn.0046d44d
fld dword [ebp - 0x18]
add esp, 0x10
lea eax, [ebp - 0x8c]
sub esp, 8
fstp qword [esp]
push str._.2f
push eax
call fcn.0046d44d
mov ecx, dword [ebp - 0x20]
add esp, 0x10
mov esi, 0x14
mov eax, dword [ecx - 8]
push 0x48e4f0
lea ecx, [ebp - 0x1c]
sub esi, eax
call fcn.004721d6
xor edi, edi
mov bl, 0x5f
lea edx, [esi - 1]
push 0x48e4f0
cmp edi, edx
jge 0x41d3f4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push eax
push ecx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00472186
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x5e
call fcn.00472099
inc edi
jmp 0x41d3c0
lea ecx, [ebp - 0x80]
call fcn.004721d6
mov edx, dword [ebp - 0x8c]
mov esi, 0xe
mov bl, 0x60
mov eax, dword [edx - 8]
sub esi, eax
xor edi, edi
lea eax, [esi - 1]
cmp edi, eax
jge 0x41d444
lea ecx, [ebp - 0x80]
push 0x48e4f0
lea edx, [ebp - 0x38]
push ecx
push edx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.00472186
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x5e
call fcn.00472099
inc edi
jmp 0x41d410
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x70]
push eax
push 0x48f0b0
push ecx
call fcn.00472315
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 0x61
push edx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0047223b
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x78]
push ecx
mov bl, 0x62
push eax
push edx
mov byte [ebp - 4], bl
call fcn.0047223b
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x38]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x63
call fcn.0047223b
mov eax, dword [eax]
mov esi, dword [ebp - 0x6c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x168]
push 0
push 0x180
push eax
call edi
lea ecx, [ebp - 0x38]
call fcn.00472099
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00472099
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x61
call fcn.00472099
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x5e
call fcn.00472099
mov ecx, dword [esi + 0x168]
push 0x48f1a8
push 0
push 0x180
push ecx
call edi
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov esi, 0x1c
push 0x48e4f0
mov ecx, dword [ecx - 8]
mov eax, dword [edx - 8]
sub esi, ecx
lea ecx, [ebp - 0x1c]
sub esi, eax
call fcn.004721d6
xor edi, edi
mov bl, 0x64
lea edx, [esi - 1]
cmp edi, edx
jge 0x41d54c
lea eax, [ebp - 0x1c]
push 0x48e4f0
lea ecx, [ebp - 0x38]
push eax
push ecx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00472186
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x5e
call fcn.00472099
inc edi
jmp 0x41d518
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x70]
push edx
push 0x48e5ac
push eax
call fcn.00472315
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x74]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x65
call fcn.0047223b
push 0x48e5a4
push eax
lea eax, [ebp - 0x78]
mov bl, 0x66
push eax
mov byte [ebp - 4], bl
call fcn.004722a1
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x38]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x67
call fcn.0047223b
mov eax, dword [eax]
mov esi, dword [ebp - 0x6c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x168]
push 0
push 0x180
push eax
call edi
lea ecx, [ebp - 0x38]
call fcn.00472099
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00472099
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x65
call fcn.00472099
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x5e
call fcn.00472099
mov ecx, dword [esi + 0x168]
push 0x48f1a8
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x168]
push str._________________
push 0
push 0x180
push edx
call edi
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41d621
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
test eax, eax
jge 0x41d63c
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x5d
call fcn.00472099
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x44
call fcn.00472099
mov edx, dword [0x48fd28]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x7c], edx
push str.Select_ID_TOTAL_from_SALEBILL_where_STATUS__
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x6b
call fcn.004721d6
mov eax, str.ADODB.Recordset
mov byte [ebp - 4], 0x6c
test eax, eax
je 0x41d7f5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00429560
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push str.ADODB.Recordset
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41d7e8
call ebx
call ebx
jmp 0x41d7f5
push 0x17
push 0
push edi
lea ecx, [ebp - 0x14]
call fcn.00404750
mov eax, dword [0x49a948]
mov word [ebp - 0x60], 9
mov dword [ebp - 0x58], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x4c]
mov bl, 0x6d
push eax
mov byte [ebp - 4], bl
mov esi, eax
mov word [ebp - 0x48], 8
call fcn.00434947
test eax, eax
mov dword [ebp - 0x40], eax
jne 0x41d834
test esi, esi
je 0x41d834
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x6e
test eax, eax
jne 0x41d84c
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x60]
push 1
push 3
push 3
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
sub esp, 0x10
mov esi, eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x58]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x54]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x48]
mov ecx, esp
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x44]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x40]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edi
call dword [edx + 0xa0]
test eax, eax
jge 0x41d8a5
push 0x48d1d0
push esi
push eax
call fcn.004348a8
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], bl
call edi
test eax, eax
jge 0x41d8be
push eax
call fcn.0043489a
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x6c
push eax
call edi
test eax, eax
jge 0x41d8d2
push eax
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ebx, 8
test eax, eax
jne 0x41d8eb
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x66]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
test eax, eax
jge 0x41d907
push 0x48d1d0
push esi
push eax
call fcn.004348a8
cmp word [ebp - 0x66], 0
jne 0x41dc1c
push 0x48d384
mov word [ebp - 0xdc], bx
call fcn.00434947
test eax, eax
mov dword [ebp - 0xd4], eax
jne 0x41d940
mov eax, 0x48d384
test eax, eax
je 0x41d940
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x6f
test eax, eax
jne 0x41d955
push 0x80004003
call fcn.0043489a
lea ecx, [ebp - 0xdc]
lea edx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.004046c0
mov esi, eax
mov dword [ebp - 0x50], 0
cmp word [esi], bx
mov byte [ebp - 4], 0x70
jne 0x41d98b
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push eax
call fcn.00404920
jmp 0x41d9cf
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x71
call fcn.00404b40
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x50]
push edx
call fcn.00404920
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x70
push eax
call edi
test eax, eax
jge 0x41d9cf
push eax
call fcn.0043489a
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 0x72
test ecx, ecx
je 0x41d9e1
call fcn.00404a50
jmp 0x41d9e3
xor eax, eax
push eax
lea ecx, [ebp - 0x24]
call fcn.00472107
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x41d9ff
call fcn.00408400
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x75
push ecx
call edi
test eax, eax
jge 0x41da16
push eax
call fcn.0043489a
lea edx, [ebp - 0xdc]
mov byte [ebp - 4], 0x74
push edx
call edi
test eax, eax
jge 0x41da2d
push eax
call fcn.0043489a
push str.TOTAL
mov word [ebp - 0xf4], bx
call fcn.00434947
test eax, eax
mov dword [ebp - 0xec], eax
jne 0x41da5b
mov eax, str.TOTAL
test eax, eax
je 0x41da5b
push 0x8007000e
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x77
test eax, eax
jne 0x41da70
push 0x80004003
call fcn.0043489a
lea ecx, [ebp - 0xf4]
lea edx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.004046c0
mov esi, eax
cmp word [esi], 4
jne 0x41da96
fld dword [esi + 8]
fstp dword [ebp - 0x18]
jmp 0x41dadb
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push 4
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x79
call fcn.00404b40
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
push edx
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0x78
call edi
test eax, eax
jge 0x41dad5
push eax
call fcn.0043489a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x77
push ecx
call edi
test eax, eax
jge 0x41daf2
push eax
call fcn.0043489a
lea edx, [ebp - 0xf4]
mov byte [ebp - 4], 0x74
push edx
call edi
test eax, eax
jge 0x41db09
push eax
call fcn.0043489a
fld dword [ebp - 0x18]
sub esp, 8
lea eax, [ebp - 0x7c]
fstp qword [esp]
push str._.2f
push eax
call fcn.0046d44d
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x7c]
add esp, 0x10
mov esi, 0x26
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
sub esi, ecx
push 0x48e4f0
lea ecx, [ebp - 0x1c]
sub esi, eax
call fcn.004721d6
xor edi, edi
lea eax, [esi - 1]
cmp edi, eax
jge 0x41db7c
lea ecx, [ebp - 0x1c]
push 0x48e4f0
lea edx, [ebp - 0x78]
push ecx
push edx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x7a
call fcn.00472186
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x74
call fcn.00472099
inc edi
jmp 0x41db47
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x70]
push ecx
push edx
call fcn.0047223b
lea ecx, [ebp - 0x7c]
lea edx, [ebp - 0x74]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x7b
call fcn.0047223b
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x6c]
push 0
push 0x180
mov ecx, dword [eax + 0x168]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x74]
call fcn.00472099
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x74
call fcn.00472099
fld dword [ebp - 0x18]
fadd dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
test eax, eax
fstp dword [ebp - 0x20]
jne 0x41dbea
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x90]
test eax, eax
jge 0x41dc05
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x6c
call fcn.00472099
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x41d8d2
fld dword [ebp - 0x20]
fcomp dword [0x47c860]
fnstsw ax
test ah, 0x40
jne 0x41dce6
fld dword [ebp - 0x20]
sub esp, 8
lea eax, [ebp - 0x7c]
fstp qword [esp]
push str._.2f
push eax
call fcn.0046d44d
mov ecx, dword [ebp - 0x7c]
add esp, 0x10
mov esi, 0x26
mov eax, dword [ecx - 8]
push 0x48e4f0
lea ecx, [ebp - 0x1c]
sub esi, eax
call fcn.004721d6
xor edi, edi
mov bl, 0x7c
lea edx, [esi - 1]
cmp edi, edx
jge 0x41dc9c
lea eax, [ebp - 0x1c]
push 0x48e4f0
lea ecx, [ebp - 0x38]
push eax
push ecx
call fcn.004722a1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00472186
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x6c
call fcn.00472099
inc edi
jmp 0x41dc68
mov esi, dword [ebp - 0x6c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push str._______________________________________
push 0
mov edx, dword [esi + 0x168]
push 0x180
push edx
call edi
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x38]
push ecx
push edx
call fcn.0047223b
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x168]
push 0
push 0x180
push eax
call edi
lea ecx, [ebp - 0x38]
call fcn.00472099
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41dcfa
push 0x80004003
call fcn.0043489a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x80]
test eax, eax
jge 0x41dd15
push 0x48d1d0
push esi
push eax
call fcn.004348a8
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x27
call fcn.00472099
lea edx, [ebp - 0x108]
mov byte [ebp - 4], 8
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41dd3f
push eax
call fcn.0043489a
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.00472099
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00472099
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test eax, eax
je 0x41dd68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00472099
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.00472099
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00472099
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00472099
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00472099
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00472099
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x144]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4