Function at 0x1004375d
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
push 4
lea ecx, [ebp - 0x30]
call fcn.1001673e
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
jmp 0x1004379a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x100437ad
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x80], 1
jmp 0x10043793
lea eax, [ebp - 0x10]
push eax
push 0xfdd
push 0x7419
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10043ed7
add esp, 0x14
mov dword [ebp - 0x10], 0
jmp 0x100437d9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x100437ec
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x74], 0xe075257
jmp 0x100437d2
push 3
lea ecx, [ebp - 0x30]
call fcn.100167dc
and dword [eax], 0
jmp 0x10043813
push 3
lea ecx, [ebp - 0x30]
call fcn.100167dc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x30]
call fcn.100167dc
cmp dword [eax], 2
jg 0x100438cf
mov dword [ebp - 0x1c], 0xad86e52d
push 3
lea ecx, [ebp - 0x8c]
call fcn.1001673e
mov byte [ebp - 4], 1
push 0x17f2
push 0xb7a
lea eax, [ebp - 0x8c]
push eax
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.100468c0
add esp, 0x14
push 3
lea ecx, [ebp - 0x30]
call fcn.100167dc
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x80], 0
je 0x10043884
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.100167c0
jmp 0x100438cf
mov dword [ebp - 0x1c], 2
jmp 0x10043894
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x100438bb
push 3
lea ecx, [ebp - 0x30]
call fcn.100167dc
mov eax, dword [eax]
mov esi, dword [ebp + eax*4 - 0x80]
push 2
lea ecx, [ebp - 0x8c]
call fcn.100167dc
mov dword [eax], esi
jmp 0x1004388d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.100167c0
jmp 0x100437fb
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 1
jg 0x100438e5
mov dword [ebp - 0x44], 1
jmp 0x100438e9
and dword [ebp - 0x44], 0
push 3
lea ecx, [ebp - 0x30]
call fcn.100167dc
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
mov dword [ebp - 0x94], eax
push 0xfffffffffffffffb
pop eax
cmp eax, 0xfffffff9
jne 0x10043914
mov dword [ebp - 0x64], 1
jmp 0x10043918
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 1
jl 0x10043927
mov dword [ebp - 0x3c], 1
jmp 0x1004392b
and dword [ebp - 0x3c], 0
imul eax, dword [ebp - 0x3c], 0
mov dword [ebp - 0x60], eax
push 1
lea ecx, [ebp - 0x30]
call fcn.100167dc
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x44]
neg ecx
cmp ecx, eax
jne 0x10043960
mov dword [ebp - 0x50], 1
jmp 0x10043964
and dword [ebp - 0x50], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x50], eax
jge 0x100439c0
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x24], 2
jmp 0x10043989
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x100439bb
mov dword [ebp - 0x18], 0x6728ad64
mov dword [ebp - 0x18], 0
jmp 0x100439a6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100439b9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x74], 0
jmp 0x1004399f
jmp 0x10043982
jmp 0x10043ab8
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x5c], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x74]
push 3
lea ecx, [ebp - 0x30]
call fcn.100167dc
mov dword [eax], esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x20], eax
jg 0x10043a00
mov dword [ebp - 0x4c], 1
jmp 0x10043a04
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x4c], eax
je 0x10043a15
mov dword [ebp - 0x34], 1
jmp 0x10043a19
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
add eax, 0x5f87
jne 0x10043a2f
cmp dword [ebp - 0x5c], 0
jne 0x10043a2f
and dword [ebp - 0x58], 0
jmp 0x10043a36
mov dword [ebp - 0x58], 1
imul eax, dword [ebp - 0x58], 0xa7fc
test eax, eax
jne 0x10043a53
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x74], 0
jne 0x10043a53
and dword [ebp - 0x68], 0
jmp 0x10043a5a
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x68], 3
jbe 0x10043a72
mov eax, 0xd3d38e20
test eax, eax
je 0x10043a72
mov dword [ebp - 0x38], 1
jmp 0x10043a76
and dword [ebp - 0x38], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x38], eax
jg 0x10043a8d
mov dword [ebp - 0x40], 1
jmp 0x10043a91
and dword [ebp - 0x40], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0x74], ecx
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10043ab8
push 0
push 0x4c1
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100167c0
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
jne 0x10043ad2
and dword [ebp - 0x48], 0
jmp 0x10043aef
call fcn.10066a57
mov esi, eax
call fcn.10066a57
imul esi, eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 8]
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret