Function at 0x498ef0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5b927a
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
push 4
mov dword [esp + 0x1c], edi
call fcn.00579757
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x234], 1
xor ebx, ebx
cmp eax, ebx
je 0x498f55
mov dword [eax], edi
jmp 0x498f57
xor eax, eax
mov dword [esp + 0x234], 0xffffffff
mov dword [edi], eax
mov dword [esp + 0x234], 3
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x234], 5
lea eax, [esp + 0x10]
push 0x2a
push eax
call fcn.00476800
add esp, 8
mov byte [esp + 0x234], 6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x498ff3
lea edx, [esp + 0x14]
push 0x694154
push edx
lea ecx, [esp + 0x18]
call fcn.0040fcd8
add esp, 8
mov byte [esp + 0x234], 7
push eax
mov eax, edi
call fcn.00413ad9
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498ff3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
call fcn.00498dd0
mov byte [esp + 0x234], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x499059
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x49904b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49904b
call fcn.0040b471
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x499040
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
xor ebx, ebx
jmp 0x499059
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x18]
call fcn.0040b3ac
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x499083
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x4990d9
lea edx, [esp + 0x14]
push 0x694154
push edx
lea ecx, [esp + 0x18]
call fcn.0040fcd8
add esp, 8
mov byte [esp + 0x234], 0xb
push eax
mov eax, edi
call fcn.00413ad9
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4990d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x206
lea edx, [esp + 0x26]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x2c], cx
call fcn.0057e5e0
add esp, 0xc
push 0x104
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x499110
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
call fcn.0040b3ac
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], ebx
je 0x499184
lea eax, [esp + 0x14]
push str.InfusedApps
push eax
lea ecx, [esp + 0x18]
call fcn.0040fcd8
add esp, 8
mov byte [esp + 0x234], 0xd
push eax
mov eax, edi
call fcn.00413ad9
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x499184
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4991ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], esi
mov eax, edi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.005796dc
add esp, 0x228
ret