Function at 0x100384c0
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x10098070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
jmp 0x100384e7
mov ecx, dword [ebp - 0x54]
add ecx, 0x64
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 0x14]
add edx, 0x1964
cmp dword [ebp - 0x54], edx
ja 0x10038c35
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x577d
ja 0x1003864b
cmp dword [ebp - 0x24], 0x577d
je 0x1003895d
cmp dword [ebp - 0x24], 0x53f9
ja 0x100385bf
cmp dword [ebp - 0x24], 0x53f9
je 0x10038bde
cmp dword [ebp - 0x24], 0x3be9
ja 0x10038593
cmp dword [ebp - 0x24], 0x3be9
je 0x10038ae1
cmp dword [ebp - 0x24], 0x3b21
ja 0x10038581
cmp dword [ebp - 0x24], 0x3b21
je 0x10038b64
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
sub dword [ebp - 0x40], 0xc2a
je 0x10038ba3
sub dword [ebp - 0x40], 0x64
je 0x10038a88
jmp 0x10038c30
cmp dword [ebp - 0x24], 0x3b85
je 0x10038a26
jmp 0x10038c30
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
sub dword [ebp - 0x2c], 0x3c4d
je 0x10038a66
sub dword [ebp - 0x2c], 0x64
je 0x10038a9f
sub dword [ebp - 0x2c], 0x64
je 0x10038a03
jmp 0x10038c30
cmp dword [ebp - 0x24], 0x55ed
ja 0x1003861f
cmp dword [ebp - 0x24], 0x55ed
je 0x10038bf3
cmp dword [ebp - 0x24], 0x5525
ja 0x1003860d
cmp dword [ebp - 0x24], 0x5525
je 0x100387aa
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
sub dword [ebp - 0x44], 0x545d
je 0x100389dc
sub dword [ebp - 0x44], 0x64
je 0x100388ee
jmp 0x10038c30
cmp dword [ebp - 0x24], 0x5589
je 0x1003877a
jmp 0x10038c30
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
sub dword [ebp - 0x30], 0x5651
je 0x10038b4b
sub dword [ebp - 0x30], 0x64
je 0x100389be
sub dword [ebp - 0x30], 0x64
je 0x100387db
jmp 0x10038c30
cmp dword [ebp - 0x24], 0x6ce8
ja 0x100386ee
cmp dword [ebp - 0x24], 0x6ce8
je 0x10038a5c
cmp dword [ebp - 0x24], 0x6b58
ja 0x100386c2
cmp dword [ebp - 0x24], 0x6b58
je 0x1003897f
cmp dword [ebp - 0x24], 0x6a90
ja 0x100386b0
cmp dword [ebp - 0x24], 0x6a90
je 0x10038919
cmp dword [ebp - 0x24], 0x57e1
je 0x100387c6
cmp dword [ebp - 0x24], 0x6a2c
je 0x1003893b
jmp 0x10038c30
cmp dword [ebp - 0x24], 0x6af4
je 0x10038a0c
jmp 0x10038c30
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
sub dword [ebp - 0x34], 0x6bbc
je 0x10038b95
sub dword [ebp - 0x34], 0x64
je 0x10038966
sub dword [ebp - 0x34], 0x64
je 0x10038973
jmp 0x10038c30
cmp dword [ebp - 0x24], 0x6edc
ja 0x1003874e
cmp dword [ebp - 0x24], 0x6edc
je 0x10038b3b
cmp dword [ebp - 0x24], 0x6e14
ja 0x1003873c
cmp dword [ebp - 0x24], 0x6e14
je 0x100389a3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
sub dword [ebp - 0x48], 0x6d4c
je 0x100387ce
sub dword [ebp - 0x48], 0x64
je 0x100388e2
jmp 0x10038c30
cmp dword [ebp - 0x24], 0x6e78
je 0x10038934
jmp 0x10038c30
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
sub dword [ebp - 0x38], 0x6f40
je 0x10038b76
sub dword [ebp - 0x38], 0x64
je 0x10038a3f
sub dword [ebp - 0x38], 0x64
je 0x10038924
jmp 0x10038c30
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
push 0x40
push 0x1000
mov ecx, dword [ebp + 8]
call fcn.1005ad60
push eax
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
call ecx
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], edx
jmp 0x10038c30
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], 0
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x58], ecx
jmp 0x10038c30
mov al, byte [ebp - 0x1d]
jmp 0x10038c38
mov eax, dword [edi + 0x1c]
mov byte [eax + 0x7f], 1
push ebx
jmp 0x10038c30
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x64]
add eax, dword [edx + 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
movzx edx, byte [ebp - 0x25]
test edx, edx
je 0x100388dd
mov dword [ebp - 0x5c], 0x3845
jmp 0x10038807
mov eax, dword [ebp - 0x5c]
add eax, 0x2d
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x3872
ja 0x100388dd
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x4c], edx
sub dword [ebp - 0x4c], 0x3845
je 0x10038834
sub dword [ebp - 0x4c], 0x2d
je 0x10038855
jmp 0x100388d8
push 0xf01ff
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x68], edx
jmp 0x100388d8
cmp dword [ebp - 0x68], 0
jne 0x10038869
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 0x25], 0
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x100388d8
mov dword [ebp - 0x60], 0x7146
jmp 0x10038883
mov edx, dword [ebp - 0x60]
add edx, 0x46
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0x718c
ja 0x100388d8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x50], ecx
sub dword [ebp - 0x50], 0x7146
je 0x100388bf
sub dword [ebp - 0x50], 0x46
je 0x100388a9
jmp 0x100388d6
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100388d6
lea ecx, [ebp - 0x88]
push ecx
push 0
push 0
push 1
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2A]
jmp 0x1003887a
jmp 0x100387fe
jmp 0x10038c30
call fcn.100057c0
pop ecx
pop ebx
jmp 0x10038c30
push 0xa
push str.rvic
lea eax, [ebp - 0x10]
push eax
call fcn.10069cf0
add esp, 0xc
mov ecx, dword [0x1008dd88]
mov dword [ebp - 8], ecx
mov byte [ebp - 0x39], 1
mov dl, byte [ebp - 0x39]
mov byte [ebp - 0x25], dl
jmp 0x10038c30
jle 0x10038834
jmp 0x10038c30
mov dword [ebp - 0x54], 0x7008
add byte [eax], al
nop
nop
jmp 0x10038c30
test eax, eax
jmp 0x10038c30
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
je 0x10038ba3
push esi
push dword [edi + 0x14]
call dword [0x10098f48]
mov dword [ebp - 4], eax
test eax, eax
jmp 0x10038c30
mov byte [ebp - 0x1d], 1
jmp 0x10038c30
test eax, eax
je 0x10038b40
jmp 0x10038c30
mov ecx, dword [edi + 0x1c]
push ebx
add ecx, 0x40
jmp 0x10038c30
call fcn.10029380
pop ecx
push esi
mov ebx, eax
push ebx
push dword [edi + 0x14]
call dword [0x10098dfc]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov ecx, dword [edi + 0x1c]
jmp 0x10038c30
jmp 0x10038ae1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
mov dword [edx + 4], ecx
cmp dword [ebp - 0x58], 0
jne 0x100389d7
mov byte [ebp - 0x25], 0
jmp 0x10038c30
push 1
push 0x1008fb0c
lea eax, [ebp - 0x1c]
push eax
call fcn.1006db47
add esp, 0xc
push 0x1008dd88
lea ecx, [ebp - 0x12]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x10038c30
mov esp, ebp
pop ebp
ret
push ebx
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
jmp 0x10038c30
test eax, eax
je 0x10038a6b
mov ecx, dword [ebp + 8]
int 0x29
mov dword [0x1009a139], eax
mov dword [0x1009a0ac], ecx
jmp 0x10038c30
call dword [0x10098c38]
push 0
push dword [edi + 0x14]
call dword [0x10098b5c]
and dword [edi + 0x14], 0
pop edi
leave
ret
call fcn.10035dd0
jmp 0x10038c30
mov ebp, 0xe95204b1
mov dword [0x1009a0ab], eax
lea eax, [ebp + 8]
mov dword [0x1009a0b0], eax
mov eax, dword [ebp - 0x31c]
mov eax, dword [0x1009a105]
jmp 0x10038c30
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [edx + 0x18], 0
setne al
mov byte [ebp - 0x1d], al
mov al, byte [ebp - 0x1d]
jmp 0x10038c38
mov dword [0x1009a10c], eax
mov dword [0x1009a127], 0xc0000409
mov dword [0x1009a111], 1
mov dword [0x1009a0fd], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1009a151], ecx
push dword [str.Designed]
call fcn.1002c600
jmp 0x10038c30
mov dword [0x1009a0af], edx
mov dword [0x1009a189], ebx
mov dword [0x1009a14b], esi
mov dword [0x1009a124], edi
mov word [0x1009a090], ss
mov word [0x1009a0e1], cs
mov word [0x1009a0d0], ds
mov word [0x1009a093], es
mov word [0x1009a0a4], fs
mov word [0x1009a0b8], gs
pushf
pop dword [0x1009a0cc]
mov eax, dword [ebp]
mov dword [0x1009a134], eax
mov eax, dword [ebp + 4]
jmp 0x10038c30
lodsd eax, dword [esi]
cwde
loope 0x10038b66
or byte [edi], 0x84
out dx, al
cld
invalid
je 0x10038834
jmp 0x10038c30
mov ecx, dword [ebp - 0x84]
push ecx
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x58], eax
jmp 0x10038c30
sub esp, 0x31c
sbb al, 3
add byte [eax], al
push 0x17
call fcn.1000de30
jmp 0x10038c30
mov ecx, dword [edi + 0x1c]
push esi
add ecx, 0x40
call fcn.1002dac0
mov eax, dword [edi + 0x1c]
mov byte [eax + 0x7f], 1
and dword [edi + 0x1c], 0
pop esi
push dword [edi]
jmp 0x10038c30
add ecx, 0x40
push ebx
call fcn.100432c0
jmp 0x10038c30
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0
jne 0x10038bb8
mov byte [ebp - 0x1d], 0
mov al, byte [ebp - 0x1d]
jmp 0x10038c38
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jne 0x10038bca
mov byte [ebp - 0x1d], 0
mov al, byte [ebp - 0x1d]
jmp 0x10038c38
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], 0
jne 0x10038bdc
mov byte [ebp - 0x1d], 0
mov al, byte [ebp - 0x1d]
jmp 0x10038c38
jmp 0x10038c30
push 5
push 0x1008fb10
lea edx, [ebp - 0x1c]
push edx
call fcn.1006fe81
add esp, 0xc
jmp 0x10038c30
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x64], 0
jne 0x10038c12
mov byte [ebp - 0x1d], 0
mov al, byte [ebp - 0x1d]
jmp 0x10038c38
mov ecx, dword [ebp + 8]
call fcn.1005ad60
push eax
mov ecx, dword [ebp + 8]
call fcn.1005b120
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1006b1f0
add esp, 0xc
jmp 0x100384de
mov al, byte [ebp - 0x1d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100685c5
mov esp, ebp
pop ebp
ret