Function at 0x43a216
Capabilities:
Delete directory
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x43a442
lea eax, [ebp + 0x24]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x43a418
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x43a2cf
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x43a416
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
mov eax, 0xcbbb
test eax, eax
je 0x43a341
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x43a341
mov dword [ebp - 0x28], 1
jmp 0x43a345
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jg 0x43a364
push 3
mov ecx, dword [ebp - 0x1c]
call fcn.00434f4e
cmp dword [eax], 0
jne 0x43a364
and dword [ebp - 0x18], 0
jmp 0x43a36b
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
neg eax
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp - 0x60]
call fcn.00434f4e
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0xffffffff
ja 0x43a399
mov dword [ebp - 0x10], 1
jmp 0x43a39d
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jge 0x43a3b5
mov dword [ebp - 0x20], 1
jmp 0x43a3b9
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x7f4
jl 0x43a3cb
mov dword [ebp - 0x14], 1
jmp 0x43a3cf
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov esi, dword [eax]
sub esi, dword [ebp - 0x14]
shl esi, 2
push 3
mov ecx, dword [ebp - 0x1c]
call fcn.00434f4e
cmp esi, dword [eax]
jg 0x43a3f1
mov dword [ebp - 0x24], 1
jmp 0x43a3f5
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x2a83a0f0
jle 0x43a407
mov dword [ebp - 0x2c], 1
jmp 0x43a40b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
add eax, 7
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
jmp 0x43a440
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
push 0
push dword [ebp - 0x88]
push dword [ebp - 0x90]
call fcn.00448dac
add esp, 0xc
jmp 0x43a49e
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x43a490
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x43a486
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x43a48e
push 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
jmp 0x43a49e
push 0x55b5
push 0
call fcn.0043cd6f
pop ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret