Function at 0x40b49b
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Enumerate services
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
xor edi, edi
mov dword [0x51a3ac], eax
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x40b872
mov edx, 0x5130bf
mov dword [0x51a3b0], 1
lea ecx, [ebp - 0x10]
call section..text
test eax, eax
je 0x40b865
push ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x84], edi
cmp dword [ebx], edi
je 0x40b85c
and dword [ebp - 0x78], 0
mov edi, ebx
mov dword [ebp - 0xc], edi
mov eax, dword [edi]
push 0x2c
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40b525
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40b839
lea ecx, [ebp - 4]
xor esi, esi
push ecx
push 0x24
lea ecx, [ebp - 0xac]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40b82d
cmp dword [ebp - 0xa8], 1
je 0x40b82d
cmp dword [ebp - 0xa8], 3
je 0x40b82d
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
mov esi, dword [ebp - 8]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x40b736
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x40b736
mov ecx, dword [ebp - 4]
call fcn.00405c2d
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x40b736
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x40b72e
mov esi, dword [ebp - 0x78]
lea edi, [ebp - 0xd0]
add esi, dword [ebp - 0x7c]
push 9
pop ecx
push 0x24
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0xd0]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x40b728
mov ecx, esi
call fcn.0040b415
test eax, eax
je 0x40b721
mov edi, dword [ebp - 0xc]
xor ebx, ebx
mov edx, ebx
mov edi, dword [edi]
mov dword [ebp - 0x74], 0x18
mov byte [ebp - 0x70], 0x4b
mov byte [ebp - 0x6f], 0x18
mov byte [ebp - 0x6e], 0x7d
mov byte [ebp - 0x6d], 0x18
mov byte [ebp - 0x6c], 0x6a
mov byte [ebp - 0x6b], 0x18
mov byte [ebp - 0x6a], 0x6e
mov byte [ebp - 0x69], 0x18
mov byte [ebp - 0x68], 0x71
mov byte [ebp - 0x67], 0x18
mov byte [ebp - 0x66], 0x7b
mov byte [ebp - 0x65], 0x18
mov byte [ebp - 0x64], 0x7d
mov byte [ebp - 0x63], 0x18
mov byte [ebp - 0x62], 0x22
mov byte [ebp - 0x61], 0x18
mov byte [ebp - 0x60], 0x38
mov byte [ebp - 0x5f], 0x18
mov byte [ebp - 0x5e], 0x3d
mov byte [ebp - 0x5d], 0x18
mov byte [ebp - 0x5c], 0x6b
mov byte [ebp - 0x5b], 0x18
mov byte [ebp - 0x5a], 0x35
mov byte [ebp - 0x59], 0x18
mov byte [ebp - 0x58], 0x26
mov byte [ebp - 0x57], 0x18
mov byte [ebp - 0x56], 0x3d
mov byte [ebp - 0x55], 0x18
mov byte [ebp - 0x54], 0x6b
mov byte [ebp - 0x53], 0x18
mov byte [ebp - 0x52], 0x18
mov al, byte [ebp - 0x70]
mov byte [ebp - 0x51], bl
mov al, byte [ebp + edx - 0x70]
mov ecx, dword [ebp - 0x74]
xor cl, al
mov byte [ebp + edx - 0x70], cl
inc edx
cmp edx, 0x1f
jb 0x40b690
mov byte [ebp - 0x51], bl
mov edx, ebx
mov dword [ebp - 0x3c], 0x44
mov byte [ebp - 0x38], 0x37
mov byte [ebp - 0x37], 0x44
mov byte [ebp - 0x36], 0x30
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0x2b
mov byte [ebp - 0x33], 0x44
mov byte [ebp - 0x32], 0x34
mov byte [ebp - 0x31], 0x44
mov byte [ebp - 0x30], 0x34
mov byte [ebp - 0x2f], 0x44
mov byte [ebp - 0x2e], 0x21
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x20
mov byte [ebp - 0x2b], 0x44
mov byte [ebp - 0x2a], 0x44
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x29], bl
mov al, byte [ebp + edx - 0x38]
mov ecx, dword [ebp - 0x3c]
xor cl, al
mov byte [ebp + edx - 0x38], cl
inc edx
cmp edx, 0xf
jb 0x40b6f1
push dword [ebp - 0xd0]
lea eax, [ebp - 0x70]
mov byte [ebp - 0x29], bl
push edi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00411c06
mov ebx, dword [ebp - 0x10]
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x7c]
call fcn.00405cd2
mov ecx, esi
call fcn.0040b415
test eax, eax
je 0x40b82d
mov esi, dword [edi]
xor ebx, ebx
mov byte [ebp - 0x28], 0x5b
mov byte [ebp - 0x27], 8
mov byte [ebp - 0x26], 0x6d
mov byte [ebp - 0x25], 8
mov byte [ebp - 0x24], 0x7a
mov byte [ebp - 0x23], 8
mov byte [ebp - 0x22], 0x7e
mov byte [ebp - 0x21], 8
mov byte [ebp - 0x20], 0x71
mov byte [ebp - 0x1f], 8
mov byte [ebp - 0x1e], 0x6b
mov byte [ebp - 0x1d], 8
mov byte [ebp - 0x1c], 0x6d
mov byte [ebp - 0x1b], 8
mov byte [ebp - 0x1a], 0x42
mov byte [ebp - 0x19], 8
mov byte [ebp - 0x18], 0x28
mov byte [ebp - 0x17], 8
mov byte [ebp - 0x16], 0x2d
mov byte [ebp - 0x15], 8
mov byte [ebp - 0x14], 0x7b
mov byte [ebp - 0x13], 8
mov byte [ebp - 0x12], 8
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x28]
mov eax, ebx
sub byte [ebp + eax - 0x28], 8
inc eax
cmp eax, 0x17
jb 0x40b7ad
mov dword [ebp - 0x50], 0x38
mov edx, ebx
mov byte [ebp - 0x4c], 0x4b
mov byte [ebp - 0x4b], 0x38
mov byte [ebp - 0x4a], 0x4c
mov byte [ebp - 0x49], 0x38
mov byte [ebp - 0x48], 0x57
mov byte [ebp - 0x47], 0x38
mov byte [ebp - 0x46], 0x48
mov byte [ebp - 0x45], 0x38
mov byte [ebp - 0x44], 0x48
mov byte [ebp - 0x43], 0x38
mov byte [ebp - 0x42], 0x5d
mov byte [ebp - 0x41], 0x38
mov byte [ebp - 0x40], 0x5c
mov byte [ebp - 0x3f], 0x38
mov byte [ebp - 0x3e], 0x38
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x3d], bl
mov al, byte [ebp + edx - 0x4c]
mov ecx, dword [ebp - 0x50]
xor cl, al
mov byte [ebp + edx - 0x4c], cl
inc edx
cmp edx, 0xf
jb 0x40b803
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 0x3d], bl
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00411c06
mov ebx, dword [ebp - 0x10]
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
add dword [ebp - 0x78], 0x24
inc eax
mov dword [ebp - 0x84], eax
lea edi, [ebx + eax*4]
mov eax, dword [edi]
mov dword [ebp - 0xc], edi
test eax, eax
jne 0x40b509
xor edi, edi
lea ecx, [ebp - 0x10]
call fcn.004010b9
pop ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [0x51a3b0], edi
pop edi
xor eax, eax
pop esi
leave
ret 4