Function at 0x448df0
Capabilities:
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 0x55a926
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x170
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebx + 8]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x10]
add eax, 0x270f
mov dword [ebp - 0x154], edi
cmp eax, 0x270f
ja 0x448e95
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]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
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 - 0x144], eax
test eax, eax
jne 0x448ed8
push eax
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
push str.No_name
jmp 0x448e65
push str.description
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
mov dword [ebp - 0x14c], eax
xorps xmm0, xmm0
xor eax, eax
movq qword [ebp - 0x28], xmm0
add esp, 0x1c
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x150], eax
xor esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push str.failure
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0xc]
call fcn.00445bc0
mov eax, dword [ebp - 0x138]
add eax, 0x270f
cmp eax, 0x270f
jbe 0x449326
mov esi, dword [ebp - 0x13c]
push str.reset
push esi
call fcn.0049f9e0
push dword [ebp - 0x138]
push esi
call fcn.0049fad0
push 0xffffffffffffffff
push esi
call fcn.004a00c0
push str.reboot
push esi
mov dword [ebp - 0x150], eax
call fcn.0049f9e0
push dword [ebp - 0x138]
push esi
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push esi
call fcn.004a0120
add esp, 0x34
mov dword [ebp - 0x140], eax
push str.command
push esi
call fcn.0049f9e0
push dword [ebp - 0x138]
push esi
call fcn.0049fad0
push 0
push 0xffffffffffffffff
push esi
call fcn.004a0120
add esp, 0x1c
lea ecx, [ebp - 0x13c]
mov esi, eax
lea eax, [ebp - 0x164]
mov dword [ebp - 0x11c], esi
push str.actions
push eax
call fcn.00445bc0
mov edx, dword [ebp - 0x160]
lea ecx, [edx + 0x270f]
cmp ecx, 0x270f
jbe 0x449326
mov eax, 1
push eax
push edx
push dword [ebp - 0x164]
mov dword [ebp - 0x148], eax
call fcn.0049fb10
add esp, 0xc
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0x164]
push 0xffffffffffffffff
push eax
call fcn.00445c30
mov ecx, dword [ebp - 0x158]
lea eax, [ecx + 0x270f]
cmp eax, 0x270f
jbe 0x449320
mov esi, dword [ebp - 0x15c]
push 1
push ecx
push esi
call fcn.0049fb10
add esp, 0xc
push 0
push 0xffffffffffffffff
push esi
call fcn.004a0120
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x138], edx
test edx, edx
jne 0x4490d6
push eax
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
push str.Mailformed_action_table._No_action_type.
push dword [edi]
call fcn.0049f9e0
inc dword [edi + 4]
add esp, 0x10
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x448e72
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4490c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
jmp 0x448e72
mov ecx, edx
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4490f0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00417cb0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0044ae70
mov esi, dword [ebp - 0x120]
cmp byte [esi + 0xd], 0
jne 0x449166
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x168], ecx
jb 0x449133
mov eax, dword [eax]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
push dword [ebp - 0x168]
cmovae ecx, edx
mov dword [ebp - 0x134], edx
mov edx, dword [ebp - 0x34]
push eax
call fcn.004474a0
add esp, 8
test eax, eax
je 0x44915e
js 0x44916b
mov eax, dword [ebp - 0x134]
jmp 0x449177
mov eax, dword [ebp - 0x44]
jmp 0x449171
mov eax, dword [ebp - 0x134]
mov esi, dword [0x6170ec]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x4491b4
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x4491aa
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x134], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x449992
mov eax, dword [ebp - 0x134]
push ecx
push eax
call fcn.0050fd95
add esp, 8
cmp dword [0x6170ec], esi
jne 0x4492af
push 0xb0
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00512700
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0044a3d0
mov edx, str.Invalid_action
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.0042ef90
mov edx, dword [ebp - 0x138]
mov ecx, eax
call fcn.0042ef90
push 0
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
lea eax, [ebp - 0x44]
add esp, 8
lea ecx, [ebp - 0x118]
push eax
call fcn.0044a2e0
cmp dword [eax + 0x14], 0x10
jb 0x449228
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049f9e0
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x44926a
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449260
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44998d
push ecx
push edx
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.00447730
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x448e72
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4490c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
jmp 0x4490c7
push 2
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
call fcn.0049fb10
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 0x15c]
call fcn.004a00c0
mov ecx, dword [ebp - 0x24]
add esp, 8
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
cmp ecx, dword [ebp - 0x20]
je 0x449301
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x148]
mov dword [ecx], edx
add dword [ebp - 0x24], 8
inc eax
mov edx, dword [ebp - 0x160]
jmp 0x44900d
lea eax, [ebp - 0x68]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044ad10
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x160]
inc eax
jmp 0x44900d
mov esi, dword [ebp - 0x11c]
push 0xf003f
mov edx, edi
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
call fcn.004475e0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x44938a
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x448e72
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x44937b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
jmp 0x448e72
push 0xf01ff
push eax
push dword [ebp - 0x144]
mov edx, edi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
call fcn.00447800
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0
jne 0x449402
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4493c2
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x448e72
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4493f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
jmp 0x448e72
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4495ec
mov ecx, eax
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x449430
mov eax, dword [ebp - 0x14c]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00417cb0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x4495b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov esi, eax
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00512700
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0044a3d0
mov edx, str.Failed_to_set_service
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x108]
call fcn.0042ef90
mov edx, dword [ebp - 0x144]
mov ecx, eax
call fcn.0042ef90
mov edx, str._description_._Error
mov ecx, eax
call fcn.0042ef90
push esi
mov ecx, eax
call fcn.00439810
push 0
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
lea eax, [ebp - 0x60]
add esp, 8
lea ecx, [ebp - 0x118]
push eax
call fcn.0044a2e0
cmp dword [eax + 0x14], 0x10
jb 0x4494fc
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049f9e0
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x44953e
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449534
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449997
push ecx
push edx
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.00447730
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x44957d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449573
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test eax, eax
je 0x44959d
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x449275
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x449275
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x4495ec
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4495e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov edx, dword [ebp - 0x150]
test edx, edx
jne 0x449610
cmp dword [ebp - 0x140], edx
jne 0x449610
test esi, esi
jne 0x449610
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x24]
je 0x4498f9
jmp 0x449613
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0xf
test edx, edx
movlpd qword [ebp - 0x12c], xmm0
movups xmmword [ebp - 0x44], xmm0
cmovne eax, edx
mov byte [ebp - 0x44], 0
movlpd qword [ebp - 0x124], xmm0
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 7
test esi, esi
je 0x44967e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x449657
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00439c70
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x128], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov esi, dword [ebp - 0x140]
mov byte [ebp - 4], 8
test esi, esi
je 0x4496d7
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4496b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.00439c70
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x60]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x4496ef
sub eax, ecx
mov dword [ebp - 0x120], ecx
sar eax, 3
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x130]
push eax
push 2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x44987f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov esi, eax
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00512700
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0044a3d0
mov edx, str.Failed_to_config_failure_actions_for_service
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x108]
call fcn.0042ef90
mov edx, dword [ebp - 0x144]
mov ecx, eax
call fcn.0042ef90
mov edx, 0x5ebf58
mov ecx, eax
call fcn.0042ef90
push esi
mov ecx, eax
call fcn.00439810
push 0
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
lea eax, [ebp - 0x184]
add esp, 8
lea ecx, [ebp - 0x118]
push eax
call fcn.0044a2e0
cmp dword [eax + 0x14], 0x10
jb 0x449790
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049f9e0
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x170]
cmp ecx, 0x10
jb 0x4497d8
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4497ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.00447730
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x449817
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44980d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x44985d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449853
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test eax, eax
je 0x44959d
jmp 0x449596
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x4498b3
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4498a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x4498f9
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4498ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449992
push ecx
push edx
call fcn.0050fd95
add esp, 8
push 1
push dword [edi]
call fcn.0049f7d0
inc dword [edi + 4]
push 0x5e3b9f
push dword [edi]
call fcn.0049f9e0
inc dword [edi + 4]
add esp, 0x10
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x44959d
jmp 0x449596
call fcn.0052865a
call fcn.0052865a
call fcn.0052865a
int3