Function at 0x42128c
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x4215f8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x42130b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
push 0x5867
push 0x78ae
push dword [ebp - 0x2c]
push dword [ebp - 0x80]
push 0x66f1
push 1
call fcn.0042162e
add esp, 0x18
jmp 0x4215f6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x421373
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x42136e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1fa2
push 0x36d
push 0x1730
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x4215f6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, 0x3399
test eax, eax
je 0x42159f
mov eax, dword [ebp - 8]
mov dword [eax], 0xfffffffe
push 0xfffffffffffffffe
pop eax
cmp eax, 0x12a30a4c
jle 0x4213c8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4213c8
mov dword [ebp - 0x18], 1
jmp 0x4213cc
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x4213df
mov dword [ebp - 0x38], 1
jmp 0x4213e3
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, 0x9e07
je 0x42140a
push 8
pop eax
test eax, eax
je 0x42140a
mov dword [ebp - 0x40], 1
jmp 0x42140e
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, 0xb780f885
test eax, eax
je 0x421433
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x421433
mov dword [ebp - 0x48], 1
jmp 0x421437
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, 0xdf860956
test eax, eax
je 0x42145c
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x42145c
mov dword [ebp - 0x50], 1
jmp 0x421460
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x42159f
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xfffffffa
jmp 0x421498
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x31
jg 0x42159d
mov dword [ebp - 0x94], 0x976d9935
mov dword [ebp - 0x90], 0x976d9935
mov dword [ebp - 0x8c], 0x976d9935
mov dword [ebp - 0x88], 0x976d9935
lea ecx, [ebp - 0x11]
call fcn.0042f4cc
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0042f4cf
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xb4]
call fcn.0042f47b
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x421514
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jg 0x42158d
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x421532
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jg 0x421588
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x10], 0
jmp 0x421551
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x421586
push 0
push 1
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x279e
push 0
push 0x1a74
push 0x2b61
push 0x7676
call fcn.00424c1f
add esp, 0x24
jmp 0x42154a
jmp 0x421527
jmp 0x421509
lea ecx, [ebp - 0xb4]
call fcn.0042f4a1
jmp 0x42148d
jmp 0x4215f6
push 0x6869
push 0x45ec
push 1
push 0x456c
push 0x26f1
push 0
push 0
push 0x2cfa
push 0
call fcn.00424303
add esp, 0x24
push 0x4145
push 0x66d7
push 0x67a6
push 0x20d
push 0x37f1
push 1
push 0x52fd
push 1
push 0
push 0
call fcn.0041482c
add esp, 0x28
jmp 0x42162a
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
push 0x751f
push 0x5ec1
push dword [ebp - 0x58]
push 0x3143
push 1
push dword [ebp - 0x60]
push 0x3200
push 0
call fcn.00423f63
add esp, 0x20
mov esp, ebp
pop ebp
ret