Function at 0x4146e0
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x60]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
push fcn.004146a0
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x88]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00412c90
mov edx, dword [ebp - 0x20]
mov ecx, 1
mov al, 0x20
call fcn.00408e00
test eax, eax
je 0x41478f
push 0
mov eax, 0x485c74
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, 0x485c74
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x20]
mov ecx, 2
call fcn.004081a0
push 0
mov ecx, str.___run
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
call fcn.00407e40
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x4c], 0
je 0x4147d3
push 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov eax, 0x485c98
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x20]
mov ecx, 2
call fcn.004081a0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x18]
call fcn.00407d50
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x1c]
call fcn.00407d50
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 0x48]
mov edx, dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
call fcn.00407d50
mov edx, dword [ebx + 0x30]
lea eax, [ebp - 0x28]
call fcn.00407d50
cmp dword [ebp - 0x28], 0
jne 0x414820
mov dword [ebp - 0x4c], 0
jmp 0x41482f
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x41482c
mov eax, 0x4a72e0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x2c]
call fcn.00407d50
cmp dword [ebp - 0x2c], 0
jne 0x414850
mov dword [ebp - 0x50], 0
jmp 0x41485f
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41485c
mov eax, 0x4a72e0
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x24]
mov eax, dword [eax*4 + 0x47f0f0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
test dword [eax + 0x40], 4
je 0x414885
cmp dword [ebx + 0x24], 0
jne 0x4148aa
or dword [ebp - 0x34], 0x100
cmp dword [ebx + 0x24], 0
jne 0x4148aa
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x40]
call fcn.0041a0a0
cmp eax, 1
jle 0x4148aa
mov eax, dword [ebp - 0x34]
xor eax, 0x10
or eax, 0x20
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x28]
mov eax, dword [eax*4 + 0x47f100]
mov dword [ebp - 0x38], eax
cmp dword [ebx + 0x28], 2
jae 0x4148ca
cmp dword [ebx + 0x24], 1
je 0x4148ca
mov dword [ebp - 0x38], 2
mov eax, dword [ebx + 0x2c]
cmp dword [ebx + 0x2c], 0
je 0x4148e0
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x44], eax
jmp 0x4148e7
mov dword [ebp - 0x44], 0
mov eax, dword [ebx + 0x18]
mov eax, dword [eax*4 + 0x47f120]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x10]
call fcn.00414560
mov dword [ebp - 0x48], eax
xor eax, eax
push fcn.00414680
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41492a
mov eax, 0x4a72e0
push eax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x414937
mov eax, 0x4a72e0
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push 0xf01ff
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x414952
mov eax, 0x4a72e0
push eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41495f
mov eax, 0x4a72e0
push eax
push dword [ebp - 0xc]
call fcn.0043a810
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x414974
call fcn.00433a10
xor eax, eax
push fcn.00414660
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x14]
call fcn.00407d50
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4149a1
mov eax, 0x4a72e0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 1
push dword [ebp - 0x10]
call fcn.0043a7f0
cmp dword [ebp - 0x44], 0
je 0x4149c4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x2c], edx
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00414660
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00414680
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004146a0
pop ebx
mov esp, ebp
pop ebp
ret