Function at 0x1004421f
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
push 2
lea ecx, [ebp - 0xdc]
call fcn.1000e440
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x7d8c
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x138], 0xd5493e62
mov dword [ebp - 0x34], 0
jmp 0x10044277
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10044293
push dword [ebp - 0x34]
lea ecx, [ebp - 0xdc]
call fcn.1000e49e
mov dword [eax], 0x446df37d
jmp 0x10044270
push 0
lea ecx, [ebp - 0xdc]
call fcn.1000e49e
mov esi, eax
push 1
lea ecx, [ebp - 0xdc]
call fcn.1000e49e
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x100442cc
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
je 0x100442cc
cmp dword [ebp - 0x18], 0
jne 0x100442cc
and dword [ebp - 0xb0], 0
jmp 0x100442d6
mov dword [ebp - 0xb0], 1
push 1
lea ecx, [ebp - 0xdc]
call fcn.1000e49e
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0xb0]
imul eax, ecx
mov dword [ebp - 0xbc], eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.1000e49e
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x10044326
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1d
jle 0x100444b9
mov dword [ebp - 0x5c], 0xfffe
mov dword [ebp - 0x14], 0xd
jmp 0x10044347
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x13
jg 0x10044372
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x10044369
push 0x235e
push 0x303
call dword [sym.imp.GDI32.dll_SetMapMode]
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
jmp 0x10044340
mov dword [ebp - 0x14], 0
jmp 0x10044382
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1a
jge 0x100444b4
mov dword [ebp - 0xec], 0x1eca
cmp dword [ebp - 0xec], 0xe56
jge 0x1004449b
lea eax, [ebp - 0x3c]
push eax
push 0x100077f8
call fcn.100513ab
pop ecx
pop ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xf8], 0
je 0x1004449b
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x1000781c
call fcn.100513ab
add esp, 0xc
and dword [ebp - 0x40], 0
and dword [ebp - 0x44], 0
jmp 0x100443fc
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x24]
jge 0x10044425
lea eax, [ebp - 0x100]
push eax
push 0x100077f8
call fcn.100513ab
pop ecx
pop ecx
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x100]
mov dword [ebp - 0x40], eax
jmp 0x100443f5
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x24]
jl 0x10044436
cmp dword [ebp - 0x24], 2
jg 0x10044446
push 0x100078ec
call fcn.1005170c
pop ecx
jmp 0x100443b6
mov eax, dword [ebp - 0x40]
shl eax, 1
push eax
push 0x10007804
call fcn.100515a0
pop ecx
pop ecx
push dword [ebp - 0x24]
push 0x10007c40
call fcn.100515a0
pop ecx
pop ecx
mov dword [ebp - 0x20], 1
jmp 0x10044477
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x10044496
mov eax, dword [ebp - 0x20]
inc eax
push eax
push dword [ebp - 0x20]
push 0x10007944
call fcn.100515a0
add esp, 0xc
jmp 0x10044470
jmp 0x100443b6
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x100444af
push 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1004437b
jmp 0x1004431f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.1000e47c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x41fd9d08
mov dword [ebp - 0x104], 5
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x13c], 0xba2522ab
mov dword [ebp - 0x10c], 0xa260df39
push 2
lea ecx, [ebp - 0x134]
call fcn.1000e440
mov dword [ebp - 4], 1
mov dword [ebp - 0xa0], 0x5dbf
mov dword [ebp - 0x38], 0
jmp 0x10044540
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1004455c
push dword [ebp - 0x38]
lea ecx, [ebp - 0x134]
call fcn.1000e49e
mov dword [eax], 0xa5d840df
jmp 0x10044539
cmp dword [ebp - 0x28], 0
jne 0x10044574
cmp dword [ebp - 0x2c], 0
je 0x10044574
mov dword [ebp - 0xa4], 1
jmp 0x1004457b
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x5154
jl 0x10044590
mov dword [ebp - 0x64], 1
jmp 0x10044594
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x64]
cmp eax, 0xf9b6
jg 0x100445ae
mov dword [ebp - 0xac], 1
jmp 0x100445b5
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xac], eax
je 0x100445cc
mov dword [ebp - 0xb4], 1
jmp 0x100445d3
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x2c]
cmp eax, 1
jae 0x100445ed
mov dword [ebp - 0xf4], 1
jmp 0x100445f4
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x2c], 0xfff7
jb 0x10044612
mov dword [ebp - 0xf0], 1
jmp 0x10044619
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x28], 0xfffffffb
jle 0x10044631
mov dword [ebp - 0x70], 1
jmp 0x10044635
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.1000e47c
mov byte [ebp - 0x19], 0
push 2
lea ecx, [ebp - 0xe8]
call fcn.1000e440
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x50]
call fcn.1000e440
mov byte [ebp - 4], 3
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x8c], 0xb6f2ba10
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0x10], 0
jmp 0x100446ab
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x100446c1
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xcc], 0x5baf43b7
jmp 0x100446a4
mov dword [ebp - 0x10], 0
jmp 0x100446d1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x100446ed
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.1000e49e
mov dword [eax], 0xb653
jmp 0x100446ca
mov dword [ebp - 0x10], 0
jmp 0x100446fd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10044713
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.1000e49e
and dword [eax], 0
jmp 0x100446f6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xcc]
mov dword [ebp - 0x78], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0xcc], ecx
cmp dword [ebp - 0x78], 0
je 0x1004476f
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1004476a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6c6
push 0xd6d
push 0x777
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x1004489d
mov dword [ebp - 0x30], 0xf0aa6e6f
mov dword [ebp - 0xa8], 0x912530a9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x30], 0x68108531
jl 0x100447b0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xcc], 0
jne 0x100447b0
xor eax, eax
inc eax
jne 0x100447b0
and dword [ebp - 0xb8], 0
jmp 0x100447ba
mov dword [ebp - 0xb8], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xcc]
cmp dword [ebp - 0xb8], eax
je 0x100447d8
mov dword [ebp - 0x80], 1
jmp 0x100447dc
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x10044807
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xcc], 0
jne 0x10044807
and dword [ebp - 0x88], 0
jmp 0x10044811
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x88], 0xffffffff
jg 0x10044826
mov dword [ebp - 0xd0], 1
jmp 0x1004482d
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0x4039ee49
jl 0x10044845
mov dword [ebp - 0x90], 1
jmp 0x1004484c
and dword [ebp - 0x90], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xcc]
add eax, dword [ebp - 0x90]
cmp dword [ebp - 0x30], eax
jle 0x10044872
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xcc], 0
push 1
lea ecx, [ebp - 0xe8]
call fcn.1000e49e
mov eax, dword [ebp - 0x30]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0xcc]
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0xcc], eax
push 0
lea ecx, [ebp - 0x50]
call fcn.1000e49e
cmp dword [eax], 0
jne 0x100448c1
push 0
lea ecx, [ebp - 0x50]
call fcn.1000e49e
cmp dword [eax], 0
jne 0x100448c1
and dword [ebp - 0x54], 0
jmp 0x100448c8
mov dword [ebp - 0x54], 1
push 1
lea ecx, [ebp - 0xe8]
call fcn.1000e49e
cmp dword [eax], 0xab391500
jne 0x100448e9
mov dword [ebp - 0x98], 1
jmp 0x100448f0
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0xcc], ecx
push 0
lea ecx, [ebp - 0x50]
call fcn.1000e49e
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x110], eax
push 1
lea ecx, [ebp - 0xe8]
call fcn.1000e49e
cmp dword [eax], 0
je 0x10044946
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xcc], 0
je 0x10044946
mov dword [ebp - 0x6c], 1
jmp 0x1004494a
and dword [ebp - 0x6c], 0
push 0
lea ecx, [ebp - 0xe8]
call fcn.1000e49e
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax]
je 0x10044967
mov dword [ebp - 0x74], 1
jmp 0x1004496b
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.1000e49e
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
jne 0x10044985
mov dword [ebp - 0x7c], 1
jmp 0x10044989
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xfffffff9
jge 0x1004499b
mov dword [ebp - 0x84], 1
jmp 0x100449a2
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
push 0
lea ecx, [ebp - 0x50]
call fcn.1000e49e
add esi, dword [eax]
jne 0x100449d4
mov eax, 0x731d497c
test eax, eax
jne 0x100449d4
and dword [ebp - 0x94], 0
jmp 0x100449de
mov dword [ebp - 0x94], 1
push 0
lea ecx, [ebp - 0x50]
call fcn.1000e49e
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax]
jl 0x100449fe
mov dword [ebp - 0x9c], 1
jmp 0x10044a05
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 1
jl 0x10044a17
mov dword [ebp - 0x58], 1
jmp 0x10044a1b
and dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.1000e49e
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jge 0x10044a35
mov dword [ebp - 0x60], 1
jmp 0x10044a39
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.1000e47c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.1000e47c
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10044a75
push 0xf40
push 0x26d4
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret