Function at 0x447cd0
Capabilities:
Create service
Modify service

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a7a1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 8]
add eax, 0x270f
mov dword [ebp - 0xfc], edi
cmp eax, 0x270f
ja 0x447d4c
push 0
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
push str.Table_argument_is_invalid
push dword [edi]
call fcn.0049f9e0
add esp, 0x10
inc dword [edi + 4]
jmp 0x448624
push 0x5e8e24
push dword [ebx + 0xc]
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
add esp, 0x1c
mov dword [ebp - 0x100], eax
test eax, eax
jne 0x447d9f
push eax
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
push str.No_name
push dword [edi]
call fcn.0049f9e0
add esp, 0x10
inc dword [edi + 4]
jmp 0x448624
push str.binary
push dword [ebx + 0xc]
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
add esp, 0x1c
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x447df2
push eax
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
push str.No_binary_path
push dword [edi]
call fcn.0049f9e0
add esp, 0x10
inc dword [edi + 4]
jmp 0x448624
push 0x10
push 0x6170d4
lea edx, [ebx + 0xc]
mov ecx, str.type
call fcn.0044abf0
push 3
push 0x6170dc
lea edx, [ebx + 0xc]
mov dword [ebp - 0x124], eax
mov ecx, str.start
call fcn.0044abf0
mov ecx, eax
lea edx, [ebx + 0xc]
and ecx, 0xf0000000
mov dword [ebp - 0x10c], ecx
mov ecx, 2
cmovne eax, ecx
mov ecx, str.error
push 1
push 0x6170e4
mov dword [ebp - 0x120], eax
call fcn.0044abf0
push str.group
push dword [ebx + 0xc]
mov dword [ebp - 0x11c], eax
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
add esp, 0x34
mov dword [ebp - 0x114], eax
push 0x5ebd40
push dword [ebx + 0xc]
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
xor esi, esi
mov dword [ebp - 0x20], 0
add esp, 0x1c
mov dword [ebp - 0x108], esi
test eax, eax
je 0x447ef5
mov ecx, 0x5ebd44
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x447ee2
test dl, dl
je 0x447ede
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x447ee2
add eax, 2
add ecx, 2
test dl, dl
jne 0x447ec2
xor ecx, ecx
jmp 0x447ee7
sbb ecx, ecx
or ecx, 1
test ecx, ecx
lea eax, [ebp - 0x20]
cmovne eax, esi
mov dword [ebp - 0x108], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
push str.depend
push dword [ebx + 0xc]
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push esi
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x44807f
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447f33
sub ecx, edx
push 0x5b3f86
mov dword [ebp - 0x104], ecx
lea eax, [ecx + 2]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0050fdd3
mov esi, eax
add esp, 8
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x447f81
push eax
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
push str.Failed_to_allocate_memory_for_dependencies
push dword [edi]
call fcn.0049f9e0
add esp, 0x10
inc dword [edi + 4]
jmp 0x448624
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
call fcn.0053aa88
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x44805b
push 0xb0
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.00512700
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.0044a3d0
mov edx, str.strcpy_s_failed._Error
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
push dword [ebp - 0x18]
mov ecx, eax
call fcn.00439a40
push 0
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
lea eax, [ebp - 0x13c]
add esp, 8
lea ecx, [ebp - 0xf8]
push eax
call fcn.0044a2e0
cmp dword [eax + 0x14], 0x10
jb 0x448003
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049f9e0
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x128]
cmp ecx, 0x10
jb 0x44804b
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448041
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448644
push ecx
push edx
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00447730
jmp 0x448617
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x44807f
nop
cmp byte [ecx + esi], 0x2f
jne 0x44807a
mov byte [ecx + esi], 0
inc ecx
cmp ecx, eax
jb 0x448070
push 0x5ebd94
push dword [ebx + 0xc]
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
add esp, 0x1c
mov dword [ebp - 0x104], eax
push 0x5ebd98
push dword [ebx + 0xc]
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
add esp, 0x1c
mov dword [ebp - 0x18], eax
push str.password
push dword [ebx + 0xc]
call fcn.0049f9e0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.004a0120
add esp, 0x1c
mov dword [ebp - 0x110], eax
mov edx, edi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push 2
call fcn.004475e0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x448617
push 0xf01ff
push dword [ebp - 0x100]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x44847d
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x13c], xmm0
mov byte [ebp - 0x13c], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x128], 0xf
movups xmm0, xmmword [ebp - 0x13c]
mov byte [ebp - 0x2c], 1
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x12c]
movq qword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x100]
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00447b50
add esp, 4
test eax, eax
je 0x448200
mov eax, dword [ebp - 0xfc]
push 0
push dword [eax]
call fcn.0049f7d0
mov ecx, dword [ebp - 0xfc]
add esp, 8
inc dword [ecx + 4]
cmp byte [ebp - 0x2c], 0
je 0x4481db
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
jmp 0x4481e0
push str.Unknown_error_while_stopping_service
push dword [ecx]
call fcn.0049f9e0
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0x44]
add esp, 8
inc dword [eax + 4]
call fcn.0041b740
jmp 0x448603
push dword [ebp - 0x18]
push dword [ebp - 0x110]
push dword [ebp - 0x104]
push esi
push dword [ebp - 0x108]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x44834d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.00512700
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.0044a3d0
mov edx, str.Failed_to_configure_service
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
mov edx, 0x5ebc70
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
push dword [ebp - 0x18]
mov ecx, eax
call fcn.00439810
mov eax, dword [ebp - 0xfc]
push 0
push dword [eax]
call fcn.0049f7d0
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0x13c]
add esp, 8
inc dword [ecx + 4]
lea ecx, [ebp - 0xf8]
push eax
call fcn.0044a2e0
cmp dword [eax + 0x14], 0x10
jb 0x4482e1
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xfc]
push dword [eax]
call fcn.0049f9e0
mov eax, dword [ebp - 0xfc]
add esp, 8
mov ecx, dword [ebp - 0x128]
inc dword [eax + 4]
cmp ecx, 0x10
jb 0x448335
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44832b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448649
push ecx
push edx
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00447730
lea ecx, [ebp - 0x44]
call fcn.0041b740
jmp 0x448603
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0041b740
cmp dword [ebp - 0x10c], 0
je 0x4485d3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x4485d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.00512700
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.0044a3d0
mov edx, str.Failed_to_switch_service_to_delayed_auto_start
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
mov edx, 0x5ebc70
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
push dword [ebp - 0x10c]
mov ecx, eax
call fcn.00439810
mov eax, dword [ebp - 0xfc]
push 0
push dword [eax]
call fcn.0049f7d0
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0x13c]
add esp, 8
inc dword [ecx + 4]
lea ecx, [ebp - 0xf8]
push eax
call fcn.0044a2e0
cmp dword [eax + 0x14], 0x10
jb 0x448426
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xfc]
push dword [eax]
call fcn.0049f9e0
mov eax, dword [ebp - 0xfc]
add esp, 8
mov ecx, dword [ebp - 0x128]
inc dword [eax + 4]
cmp ecx, 0x10
jb 0x4485c6
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4485bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44864e
jmp 0x4485bc
push dword [ebp - 0x110]
push dword [ebp - 0x104]
push esi
push dword [ebp - 0x108]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push 0xf01ff
push dword [ebp - 0x18]
push dword [ebp - 0x100]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x448359
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov edi, eax
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.00512700
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.0044a3d0
mov edx, str.Failed_to_create_service
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
mov edx, 0x5ebc70
lea ecx, [ebp - 0xe8]
call fcn.0042ef90
push edi
mov ecx, eax
call fcn.00439810
mov edi, dword [ebp - 0xfc]
push 0
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
lea eax, [ebp - 0x13c]
add esp, 8
lea ecx, [ebp - 0xf8]
push eax
call fcn.0044a2e0
cmp dword [eax + 0x14], 0x10
jb 0x448567
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049f9e0
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x128]
cmp ecx, 0x10
jb 0x4485af
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4485a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448653
push ecx
push edx
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00447730
jmp 0x44860e
push ecx
push edx
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00447730
jmp 0x448603
mov eax, dword [ebp - 0xfc]
push 1
push dword [eax]
call fcn.0049f7d0
mov ecx, dword [ebp - 0xfc]
push 0x5e3b9f
push dword [ecx]
inc dword [ecx + 4]
call fcn.0049f9e0
mov eax, dword [ebp - 0xfc]
add esp, 0x10
inc dword [eax + 4]
test edi, edi
je 0x44860e
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x448624
push esi
call fcn.00510360
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.0052865a
call fcn.0052865a
call fcn.0052865a
call fcn.0052865a
int3