Function at 0x439b40
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 0x554486
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x170
mov eax, dword [0x5ec3c8]
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 0x439be5
push 0
push dword [edi]
call fcn.0049a030
inc dword [edi + 4]
push str.Table_argument_is_invalid
push dword [edi]
call fcn.0049a240
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.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push str.name
push dword [ebx + 0xc]
call fcn.0049a240
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049a330
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.0049a980
add esp, 0x1c
mov dword [ebp - 0x144], eax
test eax, eax
jne 0x439c28
push eax
push dword [edi]
call fcn.0049a030
inc dword [edi + 4]
push str.No_name
jmp 0x439bb5
push str.description
push dword [ebx + 0xc]
call fcn.0049a240
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0049a330
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
call fcn.0049a980
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.00436640
mov eax, dword [ebp - 0x138]
add eax, 0x270f
cmp eax, 0x270f
jbe 0x43a07c
mov esi, dword [ebp - 0x13c]
push str.reset
push esi
call fcn.0049a240
push dword [ebp - 0x138]
push esi
call fcn.0049a330
push 0xffffffffffffffff
push esi
call fcn.0049a920
push str.reboot
push esi
mov dword [ebp - 0x150], eax
call fcn.0049a240
push dword [ebp - 0x138]
push esi
call fcn.0049a330
push 0
push 0xffffffffffffffff
push esi
call fcn.0049a980
add esp, 0x34
mov dword [ebp - 0x140], eax
push str.command
push esi
call fcn.0049a240
push dword [ebp - 0x138]
push esi
call fcn.0049a330
push 0
push 0xffffffffffffffff
push esi
call fcn.0049a980
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.00436640
mov edx, dword [ebp - 0x160]
lea ecx, [edx + 0x270f]
cmp ecx, 0x270f
jbe 0x43a07c
mov eax, 1
push eax
push edx
push dword [ebp - 0x164]
mov dword [ebp - 0x148], eax
call fcn.0049a370
add esp, 0xc
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0x164]
push 0xffffffffffffffff
push eax
call fcn.004366b0
mov ecx, dword [ebp - 0x158]
lea eax, [ecx + 0x270f]
cmp eax, 0x270f
jbe 0x43a076
mov esi, dword [ebp - 0x15c]
push 1
push ecx
push esi
call fcn.0049a370
add esp, 0xc
push 0
push 0xffffffffffffffff
push esi
call fcn.0049a980
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x138], edx
test edx, edx
jne 0x439e26
push eax
push dword [edi]
call fcn.0049a030
inc dword [edi + 4]
push str.Mailformed_action_table._No_action_type.
push dword [edi]
call fcn.0049a240
inc dword [edi + 4]
add esp, 0x10
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x439bc2
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x439e17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
add esp, 8
jmp 0x439bc2
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 0x439e40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00419cf0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0043e680
mov esi, dword [ebp - 0x120]
cmp byte [esi + 0xd], 0
jne 0x439eb6
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x168], ecx
jb 0x439e83
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.00437e00
add esp, 8
test eax, eax
je 0x439eae
js 0x439ebb
mov eax, dword [ebp - 0x134]
jmp 0x439ec7
mov eax, dword [ebp - 0x44]
jmp 0x439ec1
mov eax, dword [ebp - 0x134]
mov esi, dword [0x5f97a8]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x439f04
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x439efa
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x134], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x43a6ed
mov eax, dword [ebp - 0x134]
push ecx
push eax
call fcn.0050a4c5
add esp, 8
cmp dword [0x5f97a8], esi
jne 0x43a005
push 0xb0
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0050cdd0
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0043b0f0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 2
push str.Invalid_action
push eax
call fcn.0043d770
add esp, 8
push dword [ebp - 0x138]
push eax
call fcn.0043d770
add esp, 8
push 0
push dword [edi]
call fcn.0049a030
inc dword [edi + 4]
lea eax, [ebp - 0x44]
add esp, 8
lea ecx, [ebp - 0x118]
push eax
call fcn.0043b000
cmp dword [eax + 0x14], 0x10
jb 0x439f7e
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049a240
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x439fc0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439fb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6e8
push ecx
push edx
call fcn.0050a4c5
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.00438430
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x439bc2
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x439e17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
jmp 0x439e17
push 2
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
call fcn.0049a370
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 0x15c]
call fcn.0049a920
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 0x43a057
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 0x439d5d
lea eax, [ebp - 0x68]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043e520
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x160]
inc eax
jmp 0x439d5d
mov esi, dword [ebp - 0x11c]
push 0xf003f
mov edx, edi
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
call fcn.004382e0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x43a0e0
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x439bc2
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x43a0d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
add esp, 8
jmp 0x439bc2
push 0xf01ff
push eax
push dword [ebp - 0x144]
mov edx, edi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
call fcn.00438500
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0
jne 0x43a158
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x43a118
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x439bc2
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x43a149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
add esp, 8
jmp 0x439bc2
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x43a344
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a180
mov eax, dword [ebp - 0x14c]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00419cf0
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 0x43a30c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov esi, eax
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0050cdd0
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0043b0f0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 6
push str.Failed_to_set_service
push eax
call fcn.0043d770
add esp, 8
push dword [ebp - 0x144]
push eax
call fcn.0043d770
add esp, 8
push str._description_._Error
push eax
call fcn.0043d770
add esp, 8
mov ecx, eax
push esi
call fcn.0043b380
push 0
push dword [edi]
call fcn.0049a030
inc dword [edi + 4]
lea eax, [ebp - 0x60]
add esp, 8
lea ecx, [ebp - 0x118]
push eax
call fcn.0043b000
cmp dword [eax + 0x14], 0x10
jb 0x43a254
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049a240
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x43a296
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a28c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6f2
push ecx
push edx
call fcn.0050a4c5
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.00438430
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x43a2d5
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a2cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
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 0x43a2f5
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x439fcb
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x439fcb
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x43a344
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a33a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
add esp, 8
mov edx, dword [ebp - 0x150]
test edx, edx
jne 0x43a368
cmp dword [ebp - 0x140], edx
jne 0x43a368
test esi, esi
jne 0x43a368
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x24]
je 0x43a654
jmp 0x43a36b
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 0x43a3d7
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a3b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0042fb80
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 0x43a42a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a403
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.0042fb80
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 0x43a442
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 0x43a5da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov esi, eax
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0050cdd0
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0043b0f0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 9
push str.Failed_to_config_failure_actions_for_service
push eax
call fcn.0043d770
add esp, 8
push dword [ebp - 0x144]
push eax
call fcn.0043d770
add esp, 8
push 0x5cb6d8
push eax
call fcn.0043d770
add esp, 8
mov ecx, eax
push esi
call fcn.0043b380
push 0
push dword [edi]
call fcn.0049a030
inc dword [edi + 4]
lea eax, [ebp - 0x184]
add esp, 8
lea ecx, [ebp - 0x118]
push eax
call fcn.0043b000
cmp dword [eax + 0x14], 0x10
jb 0x43a4eb
mov eax, dword [eax]
push eax
push dword [edi]
call fcn.0049a240
inc dword [edi + 4]
add esp, 8
mov ecx, dword [ebp - 0x170]
cmp ecx, 0x10
jb 0x43a533
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a529
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.00438430
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x43a572
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a568
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
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 0x43a5b8
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a5ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
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 0x43a2f5
jmp 0x43a2ee
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x43a60e
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a604
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
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 0x43a654
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a64a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6ed
push ecx
push edx
call fcn.0050a4c5
add esp, 8
push 1
push dword [edi]
call fcn.0049a030
inc dword [edi + 4]
push 0x5c698b
push dword [edi]
call fcn.0049a240
inc dword [edi + 4]
add esp, 0x10
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43a2f5
jmp 0x43a2ee
call fcn.00522dda
call fcn.00522dda
call fcn.00522dda
int3