Function at 0x41d800
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557273
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [edi + 0x44]
push eax
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0040e810
lea edx, [esi + 0xf0]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xec]
push edx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a23f0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00403d90
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x41db04
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
lea ecx, [edi + 0x2c]
cmovae edx, dword [ebp - 0x40]
cmp dword [ecx + 0x14], 8
jb 0x41d89e
mov ecx, dword [ecx]
cmp dword [edi + 0x28], 8
lea eax, [edi + 0x14]
jb 0x41d8a9
mov eax, dword [eax]
push 0
push 0
push 0x584430
push 0
push 0
push edx
push 1
push 1
push 0x10
push 4
push ecx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x41d8dd
push eax
call edi
push ebx
call edi
jmp 0x41dd1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
push str.CURRENT_PATH
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004ad250
push 1
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00410d00
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41d960
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d956
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd45
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x41d9aa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d9a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd4a
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 8
push str.ERRORNUM
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00403f90
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x13]
mov byte [ebp - 4], 5
call fcn.00404aa0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp eax, ecx
je 0x41d9ff
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00403f90
push 1
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00410d00
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41da4c
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41da42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd4f
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41da84
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41da7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd54
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x10
push str.error_DeployPath
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00403f90
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.004b4180
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00411730
lea ecx, [ebp - 0x70]
call fcn.00403d90
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41dafc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41daf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd59
push edx
push ecx
call fcn.0051ec14
add esp, 8
push ebx
call edi
jmp 0x41dd1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
push str.CURRENT_PATH
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov edi, eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00403f90
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.004ad250
push 1
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.00410d00
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41db86
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41db7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd5e
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x41dbd0
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dbc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd63
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 8
push str.ERRORNUM
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00403f90
mov edx, edi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x13]
call fcn.00404aa0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, ecx
je 0x41dc24
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00403f90
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00410d00
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41dc71
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dc67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd68
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41dca9
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dc9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd6d
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x10
push str.error_DeployPath
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00403f90
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.004b4180
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00411730
lea ecx, [ebp - 0x70]
call fcn.00403d90
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41dd1d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd72
push edx
push ecx
call fcn.0051ec14
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00403d90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
int3