Function at 0x1006a1a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078298
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100a04fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
xor ebx, ebx
mov edi, 0x10
mov eax, edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], ebx
call fcn.10073d20
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead000f
lea edx, [ebp - 0x54]
push 0x76beef
push edx
call fcn.10001af0
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1006a20d
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
cmp dword [ebp - 0x40], edi
jb 0x1006a235
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 4
call fcn.10073d20
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x1006a251
mov dword [eax], 0xabab0076
or esi, 0xffffffff
mov dword [ebp - 4], esi
cmp eax, ebx
je 0x1006a275
mov dword [eax], 0xcdcd0076
jmp 0x1006a275
test byte [0x100a4bb0], 1
mov dword [ebp - 0x5c], 6
jne 0x1006a2a8
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 2
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x5c]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1006a3bd
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x1006a2f8
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.100041d0
jmp 0x1006a306
push str.EnterFunction
push ecx
call fcn.10012390
add esp, 8
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.10001ab0
mov edi, eax
mov byte [ebp - 4], 4
test byte [0x100a4bb0], 1
jne 0x1006a348
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 5
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [0x100a4b64]
mov edx, dword [eax + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0x68], ecx
call edx
mov byte [ebp - 4], 6
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x1006a38a
cmp dword [edi + 0x14], 8
jb 0x1006a372
mov eax, dword [edi]
jmp 0x1006a374
mov eax, edi
mov edx, dword [ecx]
push 0x76
push str.WMIHelper_::RegisterEvent
push str.WMIWMIHelper.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x40], 8
jb 0x1006a3b1
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], esi
call fcn.10023b80
mov edi, dword [ebp - 0x58]
add edi, 4
mov dword [ebp - 0x5c], edi
cmp edi, ebx
je 0x1006a3d3
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov ebx, 7
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x58]
cmp byte [eax + 0x20], 0
jne 0x1006a637
mov eax, dword [ebp - 0x60]
xor esi, esi
cmp eax, esi
je 0x1006a3f7
mov dword [eax], 0xcdcd007d
test byte [0x100a4bb0], 1
mov dword [ebp - 0x58], 2
jne 0x1006a427
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 8
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
lea eax, [ebp - 0x58]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1006a505
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jne 0x1006a474
push 0x28
push str.m_bCoInitialize__FALSE_call_Init_first
mov ecx, eax
call fcn.100041d0
jmp 0x1006a482
push str.m_bCoInitialize__FALSE_call_Init_first
push ecx
call fcn.10012390
add esp, 8
push 0x1ff
push esi
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov edi, eax
mov bl, 0xa
mov byte [ebp - 4], bl
test byte [0x100a4bb0], 1
jne 0x1006a4c4
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xb
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
push 0x7d
push str.WMIHelper_::RegisterEvent
push str.WMIWMIHelper.cpp
push 2
mov ebx, edi
mov ecx, 0x100a4b60
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x1006a4f1
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 7
call fcn.10023b80
mov ebx, 7
xor esi, esi
mov eax, dword [ebp - 0x60]
cmp eax, esi
je 0x1006a512
mov dword [eax], 0xcdcd007e
test byte [0x100a4bb0], 1
mov dword [ebp - 0x58], 6
jne 0x1006a542
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xc
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1006a61b
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jne 0x1006a58f
push 0xc
push str.ExitFunction
mov ecx, eax
call fcn.100041d0
jmp 0x1006a59d
push str.ExitFunction
push ecx
call fcn.10012390
add esp, 8
mov ecx, dword [ebp - 0x18]
push 0x1ff
push esi
lea edx, [ebp - 0x54]
push edx
call fcn.10001ab0
mov edi, eax
mov bl, 0xe
mov byte [ebp - 4], bl
test byte [0x100a4bb0], 1
jne 0x1006a5df
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xf
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
push 0x7e
push str.WMIHelper_::RegisterEvent
push str.WMIWMIHelper.cpp
push 6
mov ebx, edi
mov ecx, 0x100a4b60
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x1006a60c
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x38]
push ecx
mov byte [ebp - 4], 7
call fcn.10023b80
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
cmp ecx, esi
je 0x1006a630
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
xor eax, eax
jmp 0x1006a849
inc dword [eax + 0x3c]
mov esi, dword [eax + 0x3c]
push 0x14
mov dword [ebp - 0x68], esi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x1006a665
mov ecx, dword [ebp - 0x6c]
push eax
mov edx, esi
call fcn.1006b950
mov esi, eax
jmp 0x1006a667
xor esi, esi
lea ecx, [ebp - 0x70]
push ecx
push 0x10083928
push 4
push 0
push 0x100839c8
mov byte [ebp - 4], bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1006a6b0
test esi, esi
je 0x1006a695
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006a6a9
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
xor eax, eax
jmp 0x1006a849
mov eax, dword [esi + 4]
mov edi, dword [ebp - 0x70]
test eax, eax
je 0x1006a6c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 4], 0
lea eax, [ebp - 0x64]
mov dword [esi + 4], edi
push eax
mov edi, str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
call fcn.10068ca0
mov edi, eax
lea ebx, [ebp - 0x6c]
mov byte [ebp - 4], 0x11
call fcn.10068c10
mov byte [ebp - 4], 0x12
mov ecx, dword [edi]
test ecx, ecx
je 0x1006a6f6
mov ecx, dword [ecx]
jmp 0x1006a6f8
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x1006a702
mov edx, dword [eax]
jmp 0x1006a704
xor edx, edx
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x28]
mov edi, dword [eax]
push esi
push 0
push 0x80
push ecx
mov ecx, dword [edi + 0x5c]
push edx
push eax
call ecx
lea edi, [ebp - 0x6c]
mov ebx, eax
call fcn.10068d40
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.10068d40
test ebx, ebx
jns 0x1006a81c
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, esi
call eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1006a752
mov dword [eax], 0xcdcd009f
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x64], 2
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1006a7ff
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push ebx
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 0x13
call fcn.10023cb0
mov edx, 0x1008b070
mov esi, eax
call fcn.100237d0
mov esi, eax
call fcn.10023810
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int_]
push 0x1ff
push 0
lea edx, [ebp - 0x54]
push edx
mov eax, edi
push eax
call fcn.10023d20
mov ecx, eax
call fcn.10001ab0
mov ebx, eax
push 0x9f
push str.WMIHelper_::RegisterEvent
push str.WMIWMIHelper.cpp
push 2
mov byte [ebp - 4], 0x14
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov ecx, edi
push ecx
mov byte [ebp - 4], 7
call fcn.10023b80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x1006a630
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
xor eax, eax
jmp 0x1006a849
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x68]
add eax, 0x2c
lea edx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
call fcn.1006af10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [eax], esi
test ecx, ecx
je 0x1006a847
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov eax, edi
lea esp, [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007236c
mov esp, ebp
pop ebp
ret 4