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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42915b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea esi, [ecx + 2]
mov dword [ebp - 0x2c], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425113
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402080
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
mov esi, dword [ebp - 0x30]
sub eax, esi
mov dword [ebp - 4], 0
cmp eax, 0x28
jb 0x4251d3
cmp ecx, 7
lea edx, [ebp - 0x40]
lea eax, [esi + 0x28]
cmova edx, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x5c], edx
cmp edx, 0x431730
jae 0x425183
lea eax, [edx + esi*2]
cmp eax, str.SELECT__FROM_Win32_Service_WHERE_Name
jb 0x425183
cmp edx, str.SELECT__FROM_Win32_Service_WHERE_Name
ja 0x425177
xor edi, edi
jmp 0x425188
mov edi, edx
sub edi, str.SELECT__FROM_Win32_Service_WHERE_Name
sar edi, 1
jmp 0x425188
mov edi, 0x28
lea eax, [esi*2 + 2]
push eax
lea ecx, [edx + 0x50]
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
lea esi, [edi + edi]
push esi
push str.SELECT__FROM_Win32_Service_WHERE_Name
push dword [ebp - 0x5c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x5c]
lea edx, [edi*2 + 0x431730]
mov eax, 0x28
add ecx, esi
sub eax, edi
add eax, eax
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x40]
add esp, 0x24
jmp 0x4251e9
push 0x28
push str.SELECT__FROM_Win32_Service_WHERE_Name
push 0
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x40]
push 0x28
call fcn.00402560
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
mov byte [ebp - 4], 1
cmp eax, 1
jb 0x425251
lea eax, [ecx + 1]
cmp edx, 7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov dword [eax + ecx*2], 0x27
lea eax, [ebp - 0x28]
jmp 0x425265
push 1
push 0x4316d8
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x28]
push 1
call fcn.00402430
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4252d8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4252ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42531c
push ecx
push edx
call fcn.0042604c
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x42532c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425322
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x425322
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042604c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x44], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x68], eax
mov eax, dword [edi]
lea edi, [ebp - 0x58]
cmova edi, dword [ebp - 0x58]
push 0xc
mov dword [ebp - 0x2c], 7
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x60], eax
call fcn.0042601c
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x425392
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x425394
test edi, edi
jne 0x425557
jmp 0x425394
xor esi, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x7c], esi
test esi, esi
je 0x425561
mov eax, dword [esi]
push 0xc
mov byte [ebp - 4], 6
mov dword [ebp - 0x5c], eax
call fcn.0042601c
mov edi, eax
add esp, 4
mov dword [ebp - 0x70], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x4253e8
push 0x42a888
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x42556b
jmp 0x4253ea
xor edi, edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], edi
test edi, edi
je 0x425575
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
push 0
push 0x30
push dword [ebp - 0x5c]
push dword [edi]
push dword [ebp - 0x74]
call dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
or eax, 0xffffffff
mov ecx, eax
lock xadd dword [edi + 8], ecx
dec ecx
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x425460
mov eax, dword [edi]
test eax, eax
je 0x425435
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42544c
push eax
call fcn.00426063
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0042604c
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
or eax, 0xffffffff
mov byte [ebp - 4], 4
lock xadd dword [esi + 8], eax
dec eax
jne 0x42549d
mov eax, dword [esi]
test eax, eax
je 0x42547b
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x425492
push eax
call fcn.00426063
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0042604c
add esp, 8
mov esi, dword [ebp - 0x60]
test esi, esi
js 0x4254fe
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push edx
push 1
mov dword [ebp - 0x78], 0
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
mov esi, eax
test esi, esi
js 0x4254f5
cmp dword [ebp - 0x78], 0
jbe 0x4254f5
mov ecx, dword [ebp - 0x64]
push 0
push 0
push dword [ebp - 0x6c]
mov eax, dword [ecx]
push 0
push str.ProcessId
push ecx
call dword [eax + 0x10]
mov esi, eax
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x42553a
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425530
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x425530
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042604c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426399
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00426f80
push 0x8007000e
call fcn.00426f80
push 0x8007000e
call fcn.00426f80
push 0x8007000e
call fcn.00426f80
int3