Function at 0x8466480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x184002c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0840e590
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
je 0x84668d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
call fcn.0840e590
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x84668da
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x218], eax
call fcn.0840e590
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x84668e4
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x210], esi
call fcn.0840e590
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x84668ee
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
call fcn.0840e590
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x84668f8
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
call fcn.0840e590
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x8466902
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
call fcn.0840e590
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x846690c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
push 0
push 0xc8
mov dword [ebp - 0x21c], eax
call fcn.0840d800
add esp, 8
test eax, eax
je 0x84665ca
push 0xc8
push eax
lea ecx, [ebp - 0x210]
call fcn.0840e730
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x220]
push eax
push 0x67
call fcn.084648a0
lea eax, [ebp - 0x224]
push eax
push 0x66
call fcn.084648a0
lea eax, [ebp - 0x228]
push eax
push 0x6a
call fcn.084648a0
lea eax, [ebp - 0x21c]
push eax
push 0x68
call fcn.084648a0
add esp, 0x20
lea eax, [ebp - 0x22c]
push eax
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x230], eax
call fcn.0844a650
add esp, 4
add eax, 0x10
mov dword [edi], eax
call fcn.0845c430
add esp, 8
lea ecx, [ebp - 0x22c]
call fcn.08469140
call fcn.0840e590
mov ecx, eax
test ecx, ecx
je 0x8466916
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x84666ab
lea ecx, [ebp - 0x210]
call fcn.0840e1d0
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x8466683
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x210]
call fcn.08448bb0
mov esi, dword [ebp - 0x210]
mov edi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
push edi
push esi
call fcn.0844a730
lea eax, [ebp - 0x218]
push eax
call fcn.0844ad10
add esp, 4
lea ecx, [ebp - 0x218]
push dword [ebp - 0x228]
call fcn.08448ad0
lea ecx, [ebx + 0x258]
call fcn.0845f3c0
test eax, eax
js 0x8466791
push 0
push 0
push 0
mov dword [ebp - 0x214], 0x4d2fa200
mov dword [ebp - 0x210], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [ebx + 0x254], eax
test eax, eax
je 0x8466791
push 0
push 0
push 0
push 0x36ee80
lea ecx, [ebp - 0x214]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x8466791
push 0x2c
call fcn.0849b601
add esp, 4
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x846677b
push 0x2c
push 0
push eax
call fcn.0849dde0
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
add esp, 0xc
push 1
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call fcn.084444a0
jmp 0x846677d
xor eax, eax
push 0
push eax
push dword [ebx + 0x254]
lea ecx, [ebx + 0x258]
call fcn.08447210
cmp dword [ebx + 0x24c], 0
je 0x84667d1
push 2
push 4
lea eax, [ebx + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 2
jne 0x84667d1
push str.Service_started_resumed
push ebx
call fcn.084651b0
add esp, 8
lea eax, [ebx + 0x230]
push eax
push dword [ebx + 0x22c]
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x84667ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x8466806
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x8466825
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x8466844
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x8466863
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x230]
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x846687f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x218]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x846689e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x84668bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0849cd1e
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0840d910
push 0x80004005
call fcn.0840d910
push 0x80004005
call fcn.0840d910
push 0x80004005
call fcn.0840d910
push 0x80004005
call fcn.0840d910
push 0x80004005
call fcn.0840d910
push 0x80004005
call fcn.0840d910
push 0x80004005
call fcn.0840d910
int3