Function at 0x100408b2
Capabilities:
Enumerate pe sections
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070e93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1004092b
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x10040906
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x10040926
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
jmp 0x10041258
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x100409d3
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x100409b1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 3
jge 0x100409ce
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0xec]
call fcn.1001f296
or dword [eax], 0xffffffff
jmp 0x100409a6
jmp 0x10041258
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x178], 0xf606
mov dword [ebp - 0x160], 0x2667a876
mov dword [ebp - 0x168], 0xffffffff
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x13c], 0xffffffff
or dword [ebp - 0x114], 0xffffffff
or dword [ebp - 0x110], 0xffffffff
or dword [ebp - 0x10c], 0xffffffff
or dword [ebp - 0x108], 0xffffffff
lea ecx, [ebp - 0x49]
call fcn.1001f2a5
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.1001f2a8
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1a8]
call fcn.1001f254
and dword [ebp - 4], 0
mov dword [ebp - 0x14c], 0x1a0734f0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x158], 0x8ebd
push 4
lea ecx, [ebp - 0x120]
call fcn.1001f1f8
mov byte [ebp - 4], 1
push 0
push 0x4596
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.1004076d
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
push 0x592c
push 0x59ec
push 0
call fcn.10038b03
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.1001f27a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.1001f27a
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x20], 0xf5540d7f
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0xf4], 0xfffffffe
mov dword [ebp - 0xb0], 0xc130268d
mov dword [ebp - 0x20], 8
jmp 0x10040b3e
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 7
jge 0x10040c00
mov dword [ebp - 0xdc], 0x9d6b9c2d
push 1
lea ecx, [ebp - 0x12c]
call fcn.1001f1f8
mov dword [ebp - 4], 2
mov dword [ebp - 0xac], 0xfffffffe
push 0
lea eax, [ebp - 0x154]
push eax
push 0xe40
lea eax, [ebp - 0x12c]
push eax
push 0x8b4
call fcn.1004a7cb
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
push 0x5d8b
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0
lea eax, [ebp - 0xdc]
push eax
push 1
push 0x3311
lea eax, [ebp - 0xac]
push eax
push 0x1b22
push 0x3bec
push 0x629b
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0x2e5c
call fcn.1003e8ef
add esp, 0x40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.1001f27a
jmp 0x10040b37
mov dword [ebp - 0xc0], 0xa61928c1
mov byte [ebp - 0x17], 0
push 0x1734
push 0x1fb8
push 0x3aa1
lea eax, [ebp - 0x17]
push eax
push 0
push 1
push 0
call fcn.1003a968
add esp, 0x1c
push 0x75b9
push 0
lea eax, [ebp - 0xc0]
push eax
call fcn.10049f8c
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x40], 0
jmp 0x10040c70
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x40], eax
jge 0x10041258
mov dword [ebp - 0x174], 1
mov dword [ebp - 0xa0], 0xfa5c62e0
push 3
lea ecx, [ebp - 0x58]
call fcn.1001f1f8
mov dword [ebp - 4], 3
mov dword [ebp - 0x44], 0xc0001115
mov dword [ebp - 0x15c], 0xfe936be8
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0xc8], 0xe2ccf58d
mov dword [ebp - 0x78], 0xfffffff8
mov dword [ebp - 0x74], 0
push 0
push 0x4b09
push 0x1a7a
push 0x1c5d
lea eax, [ebp - 0x24]
push eax
push 1
push 0x331c
push 0x2cbc
push 0x16ac
push 0x4bc1
lea eax, [ebp - 0x58]
push eax
push 0x66cd
push 0x5b7f
push 0x4c34
call fcn.100373f2
add esp, 0x38
mov dword [ebp - 0x24], 0
jmp 0x10040d37
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10040d4d
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1cc], 0x86335c0
jmp 0x10040d30
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x44], eax
jle 0x10040d68
mov dword [ebp - 0x7c], 1
jmp 0x10040d6c
and dword [ebp - 0x7c], 0
push 2
lea ecx, [ebp - 0x58]
call fcn.1001f296
mov esi, eax
push 2
lea ecx, [ebp - 0x58]
call fcn.1001f296
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x10040d94
mov dword [ebp - 0xa4], 1
jmp 0x10040d9b
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xa4], eax
jne 0x10040db9
mov dword [ebp - 0x88], 1
jmp 0x10040dc0
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xa0], eax
jl 0x10040dd7
mov dword [ebp - 0x68], 1
jmp 0x10040ddb
and dword [ebp - 0x68], 0
push 2
lea ecx, [ebp - 0x58]
call fcn.1001f296
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [eax]
jle 0x10040df5
mov dword [ebp - 0x70], 1
jmp 0x10040df9
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x70]
jg 0x10040e13
cmp dword [ebp - 0x78], 0
jne 0x10040e13
and dword [ebp - 0x98], 0
jmp 0x10040e1d
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 0x5493a50e
je 0x10040e41
push 2
lea ecx, [ebp - 0x58]
call fcn.1001f296
cmp dword [eax], 0
jne 0x10040e41
and dword [ebp - 0x90], 0
jmp 0x10040e4b
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x90]
je 0x10040e65
cmp dword [ebp - 0x30], 0
je 0x10040e65
mov dword [ebp - 0x80], 1
jmp 0x10040e69
and dword [ebp - 0x80], 0
push 1
lea ecx, [ebp - 0x58]
call fcn.1001f296
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [eax]
jg 0x10040e83
mov dword [ebp - 0x60], 1
jmp 0x10040e87
and dword [ebp - 0x60], 0
push 2
lea ecx, [ebp - 0x58]
call fcn.1001f296
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
jle 0x10040ea1
mov dword [ebp - 0x64], 1
jmp 0x10040ea5
and dword [ebp - 0x64], 0
push 2
lea ecx, [ebp - 0x58]
call fcn.1001f296
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [eax]
jne 0x10040ebf
mov dword [ebp - 0x6c], 1
jmp 0x10040ec3
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb95ae649
jne 0x10040ede
mov dword [ebp - 0x84], 1
jmp 0x10040ee5
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x84]
jle 0x10040efc
mov dword [ebp - 0x8c], 1
jmp 0x10040f03
and dword [ebp - 0x8c], 0
push 2
lea ecx, [ebp - 0x58]
call fcn.1001f296
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
jge 0x10040f23
mov dword [ebp - 0x94], 1
jmp 0x10040f2a
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1001f27a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x10040fb6
push 0x3cb4
push 0x6ae5
push 0x63ad
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10037be6
add esp, 0x20
mov dword [ebp - 0x18c], 6
push 0x1f1
push 0
push 0
call fcn.1004697e
add esp, 0xc
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
push 0x208a
push 0xb3b
push 0
call fcn.100456da
add esp, 0x10
jmp 0x10040c60
push 4
lea ecx, [ebp - 0x198]
call fcn.1001f1f8
mov dword [ebp - 4], 4
mov dword [ebp - 0x3c], 0xe1e87df2
mov dword [ebp - 0x164], 0x1fc3eee
mov dword [ebp - 0x17c], 0x99d94b4b
push 3
lea ecx, [ebp - 0x188]
call fcn.1001f1f8
mov byte [ebp - 4], 5
mov dword [ebp - 0xe0], 1
push 0
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1004375e
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x10041025
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004103e
push dword [ebp - 0x10]
lea ecx, [ebp - 0x188]
call fcn.1001f296
or dword [eax], 0xffffffff
jmp 0x1004101e
mov dword [ebp - 0x10], 0
jmp 0x1004104e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10041064
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1c0], 0
jmp 0x10041047
push 0x30e2
push 0x1ed7
push 0
call fcn.1003b0eb
add esp, 0xc
mov dword [ebp - 0x3c], 3
jmp 0x10041088
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1004111c
mov dword [ebp - 0x16c], 0x7d65
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x34], 0
jmp 0x100410b6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x100410cc
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x1b8], 6
jmp 0x100410af
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x100410f8
push 0x1ef3
push 0x3544
push 0
push 0x2e9f
push 0x7ef0
push 0
call fcn.1003e3b7
add esp, 0x18
push 0x3a9a
push 0
push 0
push 0x38
lea eax, [ebp - 0xe0]
push eax
push 0x135f
call fcn.100406dc
add esp, 0x18
jmp 0x10041081
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x188]
call fcn.1001f27a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.1001f27a
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [eax + 0xc]
push ecx
push 0x56a1
push 0x6ded
call fcn.1001e80c
pop ecx
pop ecx
call eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xe8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x48]
call fcn.1001ec0c
add esp, 0xc
push 3
lea ecx, [ebp - 0x138]
call fcn.1001f1f8
mov dword [ebp - 4], 6
mov dword [ebp - 0x2c], 0x38ecf54c
push 0x32bc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x138]
push eax
push 0
push 0x43ad
call fcn.10037b16
add esp, 0x14
mov dword [ebp - 0x1c], 0
jmp 0x100411d2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100411e8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x144], 0x3126ff23
jmp 0x100411cb
mov dword [ebp - 0x2c], 0
jmp 0x100411f8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x10041226
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x144], 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x138]
call fcn.1001f296
cmp dword [eax], 0
je 0x10041224
jmp 0x10041226
jmp 0x100411f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.1001f27a
push 0x6eab
push 0
push 1
lea eax, [ebp - 0x14]
push eax
push 0x40f
lea eax, [ebp - 0x48]
push eax
call fcn.100406dc
add esp, 0x18
jmp 0x10040c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret