Function at 0x40b0d0
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
jmp dword [sym.imp.MSVBVM60.DLL___vbaFPException]
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4019a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401280
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaRefVarAry]
xor esi, esi
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x94], esi
call ebx
mov eax, dword [eax]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
push edi
mov dword [ebp - 0x1c], eax
call ebx
mov ecx, dword [eax]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov edx, dword [ebp - 0x1c]
push esi
mov edi, eax
push edx
push esi
push edi
lea eax, [ebp - 0x40]
push 2
push eax
push 0x200c
mov dword [ebp - 0x18], edi
call dword [sym.imp.MSVBVM60.DLL___vbaRedimVar]
add esp, 0x1c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
cmp eax, ecx
jg 0x40b26a
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, edi
jg 0x40b259
sub esp, 0x10
mov ecx, 0x4003
mov ebx, esp
mov esi, ecx
lea eax, [ebp - 0x44]
sub esp, 0x10
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x90]
lea edx, [ebp - 0x20]
lea edi, [ebp - 0x20]
mov dword [ebx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, esi
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x70]
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x60]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, esi
push 2
mov dword [ecx], eax
lea eax, [ebp - 0x44]
mov dword [ecx + 4], edx
lea edx, [ebp - 0x54]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
mov edx, dword [eax]
add esp, 0x1c
mov ecx, esp
push 2
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexStore]
add esp, 0x38
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov eax, 1
add eax, ecx
jo 0x40b2cf
mov dword [ebp - 0x20], eax
xor esi, esi
jmp 0x40b17c
mov ecx, dword [ebp - 0x44]
mov eax, 1
add eax, ecx
jo 0x40b2cf
jmp 0x40b169
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
push 0x40b2a0
jmp 0x40b296
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4019a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x15c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401290
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0xb0], 0x406890
mov dword [ebp - 0xb8], 8
mov dword [ebp - 0xd0], 0x80020004
mov dword [ebp - 0xd8], 0xa
mov dword [ebp - 0xf0], 0x30
mov dword [ebp - 0xf8], 2
mov dword [ebp - 0x50], 0x80020004
mov dword [ebp - 0x58], 0xa
mov dword [ebp - 0x90], 0x405d8c
mov dword [ebp - 0x98], 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcGetObject]
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xb8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xb4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xd8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xd4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xd0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xcc]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xf8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xf4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xf0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xec]
mov dword [ecx + 0xc], eax
push 3
push 0x405fe0
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x40
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x128]
push edx
push 0x405dc8
call dword [sym.imp.MSVBVM60.DLL___vbaForEachCollObj]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x40ba81
mov dword [ebp - 4], 4
mov word [ebp - 0x130], 0x20
mov word [ebp - 0x12c], 1
mov word [ebp - 0x24], 1
jmp 0x40b4f6
mov cx, word [ebp - 0x24]
add cx, word [ebp - 0x12c]
jo 0x40bbdd
mov word [ebp - 0x24], cx
mov dx, word [ebp - 0x24]
cmp dx, word [ebp - 0x130]
jg 0x40b5d6
mov dword [ebp - 4], 5
push 0
push 0x406944
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
movsx edx, word [ebp - 0x24]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0
push 0xffffffffffffffff
push 1
push 0x405df4
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], 8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x68]
mov dword [edx], eax
mov ecx, dword [ebp - 0x64]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x60]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x5c]
mov dword [edx + 0xc], ecx
push 0x406944
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemSt]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 6
jmp 0x40b4e1
mov dword [ebp - 4], 7
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
call dword [eax + 0x300]
push eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov edx, dword [ebp - 0x94]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x90]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0xc], edx
push 0
push 0x406944
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x114]
push edx
call dword [ecx + 0x1ec]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x40b6b0
push 0x1ec
push 0x406600
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x14c], eax
jmp 0x40b6ba
mov dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 8
push 0
push 0x406944
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x2e4]
fnclex
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x40b74d
push 0x2e4
push 0x4067bc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x150], eax
jmp 0x40b757
mov dword [ebp - 0x150], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
fild dword [ecx]
fstp qword [ebp - 0x158]
fld dword [ebp - 0x110]
call dword [sym.imp.MSVBVM60.DLL___vbaFpR8]
fcomp qword [ebp - 0x158]
fnstsw ax
test ah, 0x41
jne 0x40b78a
mov dword [ebp - 0x15c], 1
jmp 0x40b794
mov dword [ebp - 0x15c], 0
mov edx, dword [ebp - 0x15c]
neg edx
mov word [ebp - 0x118], dx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx eax, word [ebp - 0x118]
test eax, eax
je 0x40ba5e
mov dword [ebp - 4], 9
push 0
push 0x406944
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
call dword [ecx + 0x2e4]
fnclex
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x40b83c
push 0x2e4
push 0x4067bc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x160], eax
jmp 0x40b846
mov dword [ebp - 0x160], 0
fld dword [ebp - 0x110]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x40]
mov dword [ecx], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
call dword [ecx + 0x110]
fnclex
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x40b8bd
push 0x110
push 0x4067bc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x164], eax
jmp 0x40b8c7
mov dword [ebp - 0x164], 0
movsx edx, word [ebp - 0x10c]
cmp edx, 1
jne 0x40ba2c
mov dword [ebp - 4], 0xb
cmp dword [0x41b9c0], 0
jne 0x40b903
push 0x41b9c0
push 0x406974
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x168], 0x41b9c0
jmp 0x40b90d
mov dword [ebp - 0x168], 0x41b9c0
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax]
mov dword [ebp - 0x114], ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x114]
push edx
call dword [ecx + 0x18]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x40b965
push 0x18
push 0x406964
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x16c], eax
jmp 0x40b96f
mov dword [ebp - 0x16c], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x11c], edx
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x11c]
push eax
call dword [edx + 0x80]
fnclex
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jge 0x40b9cb
push 0x80
push 0x406984
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x170], eax
jmp 0x40b9d5
mov dword [ebp - 0x170], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
fild dword [ecx]
fstp qword [ebp - 0x178]
fld dword [ebp - 0x110]
cmp dword [section..data], 0
jne 0x40b9fa
fdivr qword [ebp - 0x178]
jmp 0x40ba0b
push dword [ebp - 0x174]
push dword [ebp - 0x178]
call sub.MSVBVM60.DLL__adj_fdivr_m64
fnstsw ax
test al, 0xd
jne 0x40bbd8
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x40]
mov dword [ecx], eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0xd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
mov eax, dword [eax]
cmp eax, dword [edx + 4]
jle 0x40ba5e
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov edx, dword [edx]
mov dword [ecx + 4], edx
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x128]
push ecx
push 0x405dc8
call dword [sym.imp.MSVBVM60.DLL___vbaNextEachCollObj]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x40b4c0
mov dword [ebp - 4], 0x12
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
call dword [eax + 0x300]
push eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x114]
push eax
call dword [edx + 0x168]
fnclex
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x40bb08
push 0x168
push 0x406600
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x17c], eax
jmp 0x40bb12
mov dword [ebp - 0x17c], 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 4]
push edx
push 0x194
mov eax, dword [ebp - 0x110]
push eax
call fcn.0040684c
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
wait
push 0x40bbbb
jmp 0x40bb98
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x124]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
jmp 0x4019ac
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3