Function at 0x42247f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041344c
push dword [ebp + 0x10]
call fcn.004019c6
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x4224d7
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4224c4
mov eax, 0x45131a
push eax
push 1
mov ebx, 0x234
call fcn.00427570
add esp, 0x10
push 0
mov ebx, 0x104
call fcn.00427340
add esp, 4
mov dword [ebp - 8], eax
push 0
mov ebx, pe_nt_image_headers32
call fcn.004273d0
add esp, 4
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x451318
push dword [ebp - 8]
mov ecx, 3
call fcn.00401108
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42252c
push ebx
call fcn.00426cbf
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42253c
push ebx
call fcn.00426cbf
add esp, 4
mov ebx, dword [ebp + 0x14]
push dword [ebx]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ecx, 2
call fcn.00401108
add esp, 8
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x422569
mov eax, 0x45131a
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42257d
mov eax, 0x45131a
push eax
push 2
mov ebx, 0x23c
call fcn.00427460
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4225a0
push ebx
call fcn.00426cbf
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4225b0
push ebx
call fcn.00426cbf
add esp, 4
push closesocket
push 0
push 1
mov ebx, 6
call fcn.004120d9
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4225db
mov eax, 0x45131a
push eax
push 0x80000004
push 0
push str.AAAAAA
push 0x80000004
push 0
push str.wmic__NAMESPACE:__root_subscription__PATH___EventFilter_CREATE_Name_AAAAAA___EventNameSpace_rootcimv2__QueryLanguage_WQL___Query_SELECT__FROM___InstanceModificationEvent_WITHIN_30_WHERE_TargetInstance_ISA_Win32_PerfFormattedData_PerfOS_System___wmic__NAMESPACE:__root_subscription__PATH_CommandLineEventConsumer_CREATE_Name_BBBBBB__CommandLineTemplate_CCCCCC___wmic__NAMESPACE:__root_subscription__PATH___FilterToConsumerBinding_CREATE_Filter___EventFilter.Name_AAAAAA____Consumer_CommandLineEventConsumer.Name_BBBBBB___r_n
push 6
mov ebx, 0x180
call fcn.004284e0
add esp, 0x4c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42261d
push ebx
call fcn.00426cbf
add esp, 4
pop eax
mov dword [ebp - 4], eax
push closesocket
push 0
push 1
mov ebx, 6
call fcn.004120d9
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x42264c
mov eax, 0x45131a
push eax
push 0x80000004
push 0
push str.BBBBBB
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42266c
mov eax, 0x45131a
push eax
push 6
mov ebx, 0x180
call fcn.004284e0
add esp, 0x4c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422696
push ebx
call fcn.00426cbf
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x14]
push dword [ebx]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ecx, 2
call fcn.00401108
add esp, 8
mov dword [ebp - 8], eax
push closesocket
push 0
push 1
mov ebx, 6
call fcn.004120d9
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4226dd
mov eax, 0x45131a
push eax
push 0x80000004
push 0
push str.CCCCCC
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4226fd
mov eax, 0x45131a
push eax
push 6
mov ebx, 0x180
call fcn.004284e0
add esp, 0x4c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x422723
push ebx
call fcn.00426cbf
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422737
push ebx
call fcn.00426cbf
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 1
push closesocket
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x422766
mov eax, 0x45131a
push eax
push 3
mov ebx, 0x2c0
call fcn.00427480
add esp, 0x28
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422789
push ebx
call fcn.00426cbf
add esp, 4
mov esp, ebp
pop ebp
ret 0x10