Function at 0x100239f0
Capabilities:
Modify service

Disassembly:
push 0xffffffffffffffff
push 0x1005a471
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10076658]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10076658]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
mov ebp, dword [esp + 0xf8]
lea edi, [esp + 0xac]
mov dword [esp + 0x1c], eax
call fcn.1001eb10
push eax
xor edi, edi
mov edx, 0x10069b2c
lea eax, [esp + 0x94]
mov dword [esp + 0xf4], edi
call fcn.1001f0c0
add esp, 4
push eax
mov eax, 0x10069b2c
lea ecx, [esp + 0xcc]
mov byte [esp + 0xf4], 1
call fcn.10003910
add esp, 4
mov esi, 8
cmp dword [esp + 0xa4], esi
jb 0x10023aa2
mov ecx, dword [esp + 0x90]
push ecx
call fcn.1004076b
add esp, 4
mov ebx, 7
xor edx, edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], edi
mov word [esp + 0x90], dx
mov byte [esp + 0xf0], 4
cmp dword [esp + 0xc0], esi
jb 0x10023ae0
mov eax, dword [esp + 0xac]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
xor edx, edx
push edi
mov eax, 0x10064464
lea esi, [esp + 0x5c]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], edi
mov word [esp + 0xb0], cx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], dx
call fcn.10003430
mov byte [esp + 0xf0], 5
xor eax, eax
mov word [esp + 0x20], ax
push edi
mov eax, 0x10064464
lea esi, [esp + 0x24]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
call fcn.10003430
lea eax, [esp + 0x3c]
mov byte [esp + 0xf0], 6
call fcn.1001eca0
mov esi, eax
lea eax, [esp + 0x74]
mov byte [esp + 0xf0], bl
call fcn.1001ec10
lea ecx, [esp + 0x58]
push ecx
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xd4]
push ecx
mov edx, 2
push eax
lea ecx, [edx + 0xe]
mov edi, ebp
mov byte [esp + 0x104], 8
call fcn.1003eba0
test al, al
mov esi, 8
sete byte [esp + 0x17]
cmp dword [esp + 0x88], esi
jb 0x10023bac
mov edx, dword [esp + 0x74]
push edx
call fcn.1004076b
add esp, 4
xor edi, edi
xor eax, eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], ax
cmp dword [esp + 0x50], esi
jb 0x10023bd6
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1004076b
add esp, 4
xor edx, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], dx
cmp dword [esp + 0x34], esi
jb 0x10023bf8
mov eax, dword [esp + 0x20]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov byte [esp + 0xf0], 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], cx
cmp dword [esp + 0x6c], esi
jb 0x10023c22
mov edx, dword [esp + 0x58]
push edx
call fcn.1004076b
add esp, 4
cmp byte [esp + 0x17], 0
je 0x10023c49
cmp dword [esp + 0xdc], esi
jb 0x10023c42
mov eax, dword [esp + 0xc8]
push eax
call fcn.1004076b
add esp, 4
xor al, al
jmp 0x10023cf8
mov eax, dword [ebp + 0x158]
cmp eax, edi
je 0x10023c67
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea eax, [esp + 0x3c]
call fcn.1001ec40
cmp dword [eax + 0x14], esi
jb 0x10023c7d
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jmp 0x10023c81
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x158]
mov esi, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
cmp eax, edi
je 0x10023c9b
lea edx, [esp + 0x18]
push edx
push 1
push eax
call esi
cmp dword [esp + 0x50], 8
jb 0x10023caf
mov eax, dword [esp + 0x3c]
push eax
call fcn.1004076b
add esp, 4
cmp dword [ebp + 0x150], 4
jb 0x10023cd0
mov eax, dword [ebp + 0x158]
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x10023cd0
lea ecx, [esp + 0x18]
push ecx
push 3
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.1003f120
cmp dword [esp + 0xdc], 8
mov bl, al
jb 0x10023cf6
mov edx, dword [esp + 0xc8]
push edx
call fcn.1004076b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.10040061
add esp, 0xe0
ret 8