Function at 0x41f26f
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x41f375
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x41f339
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x41f325
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x9c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x41f337
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x41f337
call dword [sym.imp.USER32.dll_EndMenu]
jmp 0x41f370
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], eax
push 0x3450
push 0x2283
push 0
push 0x44d6
push 0x70c9
push 1
push 0x2127
push dword [ebp - 0xa4]
call fcn.00413e6f
add esp, 0x20
jmp 0x41f743
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0xa48bbca6
mov dword [ebp - 0xc], 0xffffffff
push 3
lea ecx, [ebp - 0x28]
call fcn.00450d2f
mov dword [ebp - 0x14], 0
jmp 0x41f3af
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x41f3c8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.00450e1d
mov dword [eax], 3
jmp 0x41f3a8
mov dword [ebp - 4], 0
jmp 0x41f3d8
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xf
jle 0x41f3f5
mov dword [ebp - 0xc4], 0xdc4b
cmp dword [ebp - 0xc4], 0
je 0x41f3f3
jmp 0x41f3f5
jmp 0x41f3d1
cmp dword [ebp - 4], 0
jne 0x41f4c5
cmp dword [ebp - 4], 0
je 0x41f45e
cmp dword [ebp - 4], 0
jne 0x41f417
cmp dword [ebp - 4], 0
jne 0x41f417
and dword [ebp - 0x68], 0
jmp 0x41f41e
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x68], eax
jl 0x41f42f
mov dword [ebp - 0x34], 1
jmp 0x41f433
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
jl 0x41f442
mov dword [ebp - 0x70], 1
jmp 0x41f446
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41f458
cmp dword [ebp - 0xc], 0
je 0x41f45e
and dword [ebp - 0x54], 0
jmp 0x41f465
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x54]
jge 0x41f476
mov dword [ebp - 0x3c], 1
jmp 0x41f47a
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x3c], eax
jne 0x41f48b
mov dword [ebp - 0x64], 1
jmp 0x41f48f
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x30b91ee4
jne 0x41f4aa
mov eax, 0xf15cc7c4
test eax, eax
je 0x41f4aa
mov dword [ebp - 0x44], 1
jmp 0x41f4ae
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 4]
je 0x41f4c5
cmp dword [ebp - 0xc], 0
jne 0x41f4c5
and dword [ebp - 0x78], 0
jmp 0x41f4cc
mov dword [ebp - 0x78], 1
mov eax, 0xcabe
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
cmp eax, 1
jl 0x41f4e5
mov dword [ebp - 0x5c], 1
jmp 0x41f4e9
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x5c], eax
je 0x41f4fa
mov dword [ebp - 0x80], 1
jmp 0x41f4fe
and dword [ebp - 0x80], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00450e1d
push 0
lea ecx, [ebp - 0x28]
call fcn.00450e1d
cmp dword [eax], 0
jne 0x41f523
cmp dword [ebp - 0xc], 0
jne 0x41f523
and dword [ebp - 0x4c], 0
jmp 0x41f52a
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x4c]
sub eax, 0x2fa9ed9c
je 0x41f6fb
mov dword [ebp - 0x1c], 0xffff
mov dword [ebp - 8], 1
mov dword [ebp - 0x18], 0xfafeceb2
mov dword [ebp - 0x40], 0xfffd
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x90], 0xfffffffe
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x41f581
push 0
push 0x60c
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1c], eax
jg 0x41f5a4
mov dword [ebp - 0x6c], 1
jmp 0x41f5a8
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0
jae 0x41f5c1
mov dword [ebp - 0x30], 0xc3f1
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
jmp 0x41f6f9
mov dword [ebp - 0xd4], 0xc19c50ed
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x41f5e3
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 8], 0
jmp 0x41f5f3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jg 0x41f6f9
push dword [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.00450e1d
mov ecx, dword [ebp - 4]
cmp dword [eax], ecx
jge 0x41f618
mov dword [ebp - 0x38], 1
jmp 0x41f61c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 4], eax
jle 0x41f633
mov dword [ebp - 0x48], 1
jmp 0x41f637
and dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0x1672
imul eax, dword [ebp - 0x18], 0xfffffffb
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xd0], eax
push dword [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.00450e1d
cmp dword [ebp - 0x88], 0
je 0x41f67a
push 1
lea ecx, [ebp - 0x28]
call fcn.00450e1d
cmp dword [eax], 0
je 0x41f67a
mov dword [ebp - 0x50], 1
jmp 0x41f67e
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x50]
jg 0x41f68f
mov dword [ebp - 0x58], 1
jmp 0x41f693
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x58], eax
jl 0x41f6a4
mov dword [ebp - 0x60], 1
jmp 0x41f6a8
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
push dword [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.00450e1d
push dword [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.00450e1d
push dword [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.00450e1d
mov eax, 0x1bd9
test eax, eax
jne 0x41f6e7
cmp dword [ebp - 0xc], 0
jne 0x41f6e7
and dword [ebp - 0x2c], 0
jmp 0x41f6ee
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jmp 0x41f5ec
jmp 0x41f71b
mov dword [ebp - 0x98], 0xfff9
mov dword [ebp - 0xa0], 0xadbe56f6
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x28]
call fcn.00450e01
push dword [ebp - 0xa8]
push 0x1238
push 0x1ca9
push 0
push dword [ebp - 0xb0]
call fcn.00412d7a
add esp, 0x14
mov esp, ebp
pop ebp
ret