Function at 0x41bf20
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b9bf
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd0]
push 0xb
xor eax, eax
mov dword [ebp - 0xbc], 7
push 0x4b261c
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00403c50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
push 4
xor eax, eax
mov dword [ebp - 0xa4], 7
push 0x4b1ecc
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.00403c50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
push 5
xor eax, eax
mov dword [ebp - 0x8c], 7
push str.State
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00403c50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
push 9
xor eax, eax
mov dword [ebp - 0x74], 7
push str.StartMode
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00403c50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
push 0xb
xor eax, eax
mov dword [ebp - 0x5c], 7
push str.ServiceType
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00403c50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push 8
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x4b266c
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00403c50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
push 9
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.StartName
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403c50
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
mov byte [ebp - 0xec], 0
push dword [ebp - 0xec]
mov dword [ebp - 0x10c], 0
push eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
push eax
lea ecx, [ebp - 0x10c]
call fcn.00413530
push fcn.00404f50
push 7
push 0x18
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 9
push eax
call fcn.0045c4f2
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push 0x1b
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SELECT__FROM_Win32_Service
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403c50
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043d3b0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41c16c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403050
push 2
lea ecx, [ebp - 0x15c]
mov byte [ebp - 0x164], 2
call fcn.0040d400
mov byte [ebp - 4], 0xc
mov ebx, dword [ebp - 0xfc]
mov esi, ebx
mov edi, dword [ebp - 0x10c]
cmp ebx, dword [ebp - 0xf8]
je 0x41c430
mov ecx, dword [ebp - 0x108]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0xec], ebx
nop dword [eax]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 4
cmp ebx, eax
jne 0x41c556
push 1
lea ecx, [ebp - 0x14c]
mov byte [ebp - 0x154], 1
call fcn.0040d400
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x120], 0
test ebx, ebx
jle 0x41c3fa
xor ebx, ebx
mov dword [ebp - 0x124], edi
mov eax, edi
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004152c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 8
push str.PathName
call fcn.0040bcc0
add esp, 8
test eax, eax
jne 0x41c346
mov ecx, dword [esi]
add ecx, ebx
cmp byte [ecx], 3
jne 0x41c346
sub esp, 0x18
push esp
call fcn.0041b1c0
lea ecx, [ebp - 0xe8]
call fcn.00439ac0
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0xf
push 0x18
mov byte [ebp - 0x13c], 3
call fcn.0045bdbe
mov edi, eax
add esp, 0x1c
lea eax, [ebp - 0xfd]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x168], edi
mov dword [ebp - 0xf0], edi
mov byte [ebp - 4], 0x11
test edi, edi
je 0x41c2c9
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x41c2b3
mov eax, dword [edi]
jmp 0x41c2b5
mov eax, edi
push 0xffffffffffffffff
push 0
push dword [ebp - 0x128]
mov ecx, edi
mov byte [eax], 0
call fcn.00402d80
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x134], edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x154]
call fcn.0040c410
mov edx, eax
mov al, byte [edx]
mov byte [edx], 3
mov ecx, dword [edx + 8]
mov byte [ebp - 0x13c], al
mov eax, dword [edx + 0xc]
mov dword [edx + 8], edi
mov edi, dword [ebp - 0x130]
mov dword [ebp - 0x134], ecx
lea ecx, [ebp - 0x13c]
mov dword [edx + 0xc], edi
mov dword [ebp - 0x130], eax
call fcn.004119c0
mov eax, dword [ebp - 0xd4]
cmp eax, 0x10
jb 0x41c3aa
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00402eb0
jmp 0x41c3aa
mov eax, dword [esi]
lea ecx, [ebp - 0x11c]
add eax, ebx
push eax
call fcn.0040eb90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x154]
call fcn.0040c410
mov edi, eax
mov al, byte [ebp - 0x11c]
mov cl, byte [edi]
mov byte [edi], al
mov eax, dword [ebp - 0x114]
mov byte [ebp - 0x11c], cl
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x110], edx
call fcn.004119c0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41c3c3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402eb0
mov edi, dword [ebp - 0x120]
add ebx, 0x10
mov eax, dword [ebp - 0x124]
inc edi
add eax, 0x18
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], eax
cmp edi, dword [ebp - 0xec]
jl 0x41c204
mov ebx, dword [ebp - 0xec]
mov edi, dword [ebp - 0x10c]
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x164]
call fcn.00413000
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0xc
call fcn.004119c0
add esi, 0xc
cmp esi, dword [ebp - 0xf8]
jne 0x41c1c0
mov ebx, dword [ebp - 0xfc]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040eb90
mov esi, dword [ebp - 0x12c]
mov al, byte [ebp - 0x11c]
mov cl, byte [esi + 0x20]
mov byte [esi + 0x20], al
mov eax, dword [ebp - 0x114]
mov edx, dword [esi + 0x2c]
mov byte [ebp - 0x11c], cl
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x11c]
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x110], edx
call fcn.004119c0
lea ecx, [ebp - 0x164]
call fcn.004119c0
test ebx, ebx
je 0x41c4ce
push dword [ebp - 0xf0]
mov edx, dword [ebp - 0xf8]
push ecx
mov ecx, ebx
call fcn.00413600
mov ecx, dword [ebp - 0xf4]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.004131f0
test edi, edi
je 0x41c509
push dword [ebp - 0xf0]
mov edx, dword [ebp - 0x108]
push ecx
mov ecx, edi
call fcn.004136d0
mov ecx, dword [ebp - 0x104]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.00413250
mov dword [ebp - 4], 0x14
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x41c538
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41c538
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41c538
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bdad
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x164]
call fcn.004119c0
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x41c4ce
push dword [ebp - 0xf0]
mov edx, dword [ebp - 0xf8]
push ecx
mov ecx, esi
call fcn.00413600
mov ecx, dword [ebp - 0xf4]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
jmp 0x41c4c9