Function at 0x7026c8c0
Capabilities:
Access peb ldr_data
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x703194ab
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push ebp
push esi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov eax, dword [0x703580e4]
mov ebx, edx
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x703580e4
mov dword [esp + 0x20], ebx
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
xor eax, eax
push 0x4e
push eax
lea ecx, [esp + 0x2e]
mov dword [esp + 0x498], 0
push ecx
mov word [esp + 0x30], ax
call fcn.702e95e0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp dword [0x70359fe0], eax
je 0x7026c972
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x1c]
push edx
push 0x7026c220
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
cmp dword [esp + 0x1c], 0
jne 0x7026cbcd
push esi
mov eax, edi
call fcn.7026c460
add esp, 4
test eax, eax
je 0x7026ca7e
lea ecx, [esp + 0x24]
push ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.7020d620
add esp, 8
test eax, eax
je 0x7026c9bb
lea eax, [ebp - 0x10]
mov dword [esp + 0x490], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x7026cbe8
cmp dword [esp + 0x14], 0
je 0x7026c9fc
push esi
call fcn.70206e40
lea eax, [ebp - 0x10]
add esp, 4
mov dword [esp + 0x490], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7026c9f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x7026cbf6
call fcn.702276e0
push 0xc5
call fcn.7020db60
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x7026ca27
lea edx, [esp + 0x10]
push edx
mov eax, 0xc5
call fcn.7020dce0
mov ebp, dword [esp + 0x10]
cmp byte [0x7034d13b], 0
jne 0x7026ca34
xor esi, esi
jmp 0x7026ca50
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push 7
push eax
mov ebx, 0x7032eb1c
mov ecx, esi
call fcn.70207700
add esp, 8
mov esi, eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x490], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7026ca77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x7026cbf6
push ebx
push esi
mov eax, edi
call fcn.7026c4b0
add esp, 8
test eax, eax
je 0x7026ca98
push 0xc5
jmp 0x7026cb2f
mov ecx, esi
call fcn.7026c6c0
test eax, eax
je 0x7026caad
push 0xc2
jmp 0x7026cb2f
push esi
call fcn.702154e0
add esp, 4
test eax, eax
je 0x7026cb1b
push 0
push 0x26
lea ecx, [esp + 0x284]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x7026cb1b
push 0x104
lea edx, [esp + 0x78]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x7026cb1b
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsPrefixW]
test eax, eax
jne 0x7026cb1b
push 0xc3
jmp 0x7026cb2f
mov ecx, esi
call fcn.7026c3e0
test eax, eax
je 0x7026cbcd
push 0xc1
lea ebx, [esp + 0x14]
call fcn.7026c7b0
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.7026c260
add esp, 8
test eax, eax
je 0x7026cb69
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x7026cbdb
cmp dword [esp + 0x14], 0
je 0x7026cb89
push esi
call fcn.70206e40
add esp, 4
lea eax, [esp + 0x10]
call fcn.7020c950
mov eax, 1
jmp 0x7026cbf6
cmp byte [0x7034d13b], 0
jne 0x7026cba1
lea eax, [esp + 0x10]
xor esi, esi
call fcn.7020c950
mov eax, esi
jmp 0x7026cbf6
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
mov ebx, 0x7032eb1c
mov ecx, esi
call fcn.70207700
mov esi, eax
add esp, 8
lea eax, [esp + 0x10]
call fcn.7020c950
mov eax, esi
jmp 0x7026cbf6
lea eax, [ebp - 0x10]
mov dword [esp + 0x490], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7026cbf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x484
ret