Function at 0x408090
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6e59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x100
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x40817e
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x408145
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x408126
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x408143
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.00420325
mov dword [eax], 1
jmp 0x40811b
jmp 0x408179
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x408179
push 0
push 0x2075
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x408519
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x408385
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x40823d
mov dword [ebp - 0x30], 1
jmp 0x408241
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
cmp dword [ebp - 0x30], 0
jne 0x40825d
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x40825d
and dword [ebp - 0x54], 0
jmp 0x408264
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0x41311e2d
jl 0x408276
mov dword [ebp - 0x38], 1
jmp 0x40827a
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jg 0x408290
mov dword [ebp - 0x88], 1
jmp 0x408297
and dword [ebp - 0x88], 0
mov eax, 0xfff7
cmp eax, 3
jb 0x4082aa
mov dword [ebp - 0x44], 1
jmp 0x4082ae
and dword [ebp - 0x44], 0
push 1
mov ecx, dword [ebp - 0x90]
call fcn.00420325
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0xfffffff8
jbe 0x4082d1
mov dword [ebp - 0x4c], 1
jmp 0x4082d5
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jg 0x4082e8
mov dword [ebp - 0x5c], 1
jmp 0x4082ec
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0xf7bdd484
jae 0x4082fe
mov dword [ebp - 0x3c], 1
jmp 0x408302
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jne 0x408315
mov dword [ebp - 0x40], 1
jmp 0x408319
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jne 0x40832f
mov dword [ebp - 0x98], 1
jmp 0x408336
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x408361
mov dword [ebp - 0x50], 1
jmp 0x408365
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xfffffffc
je 0x408374
mov dword [ebp - 0x58], 1
jmp 0x408378
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
jmp 0x408519
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x68], 0x65b
mov dword [ebp - 0xb0], str.vown_ksa_azdjvm_zcbwjpmk
cmp dword [ebp - 0x68], 0x848
jle 0x408428
and dword [ebp - 0x20], 0
jmp 0x4083c1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7b5c
jge 0x408428
and dword [ebp - 0x28], 0
jmp 0x4083d7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x227
jge 0x408426
and dword [ebp - 0x1c], 0
jmp 0x4083ed
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x13bc
jge 0x408424
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
mov ecx, 0xac67d8
call fcn.004200f3
jmp 0x4083e6
jmp 0x4083d0
jmp 0x4083ba
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x40843e
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 2
jg 0x4084d6
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0xf8], 0xee1c9741
mov dword [ebp - 0xec], 0xfffffffc
mov dword [ebp - 0xe8], 0xfffffffc
mov dword [ebp - 0xe4], 0xfffffffc
mov dword [ebp - 0xe0], 0xfffffffc
lea ecx, [ebp - 0x29]
call fcn.00420334
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x110]
call fcn.00420337
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x108]
call fcn.004202e3
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x108]
call fcn.00420309
jmp 0x408433
and dword [ebp - 4], 0
cmp dword [ebp - 0x68], 0x39c
jge 0x4084f3
mov edx, dword [ebp - 0xb0]
mov ecx, 0xac67d8
call fcn.00421ea9
jmp 0x40850f
or dword [ebp - 4], 0xffffffff
jmp 0x408519
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret