Function at 0x10006640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ad70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100068b6
lea eax, [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x100067a9
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
xor eax, eax
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x2e]
push eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x94]
call fcn.1000f431
and dword [ebp - 4], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x94]
call fcn.1000f59e
dec eax
mov dword [ebp - 0x5c], eax
jmp 0x10006703
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x5c]
jae 0x10006772
push dword [ebp - 0x24]
lea ecx, [ebp - 0x94]
call fcn.1000f5a6
mov dword [ebp - 0x74], eax
and dword [ebp - 0x18], 0
jmp 0x10006730
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], 2
jae 0x10006770
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
xor edx, edx
div dword [0x100735d0]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10001adc
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x18]
mov byte [ecx], al
jmp 0x10006722
jmp 0x100066fc
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.1000f4d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.1000f4d0
jmp 0x1000691d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0x2e04
mov dword [ebp - 0x58], str.uxcespl_kpyeqxnwh_zwngjtigw_yicr_cwsawoa_uueuda_rkxlaethf_qqyer_efigksxa_jdbfxyys_qknsllpk_sigei_mouu
cmp dword [ebp - 0x3c], 0x30e4
jle 0x10006861
and dword [ebp - 0x28], 0
jmp 0x100067dd
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5871
jge 0x10006861
and dword [ebp - 0x1c], 0
jmp 0x100067f3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1173
jge 0x1000685c
and dword [ebp - 0x14], 0
jmp 0x10006809
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x60c8
jge 0x1000685a
and dword [ebp - 0x2c], 0
jmp 0x1000681f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2d27
jge 0x10006858
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
shl edx, cl
and edx, dword [ebp - 0x28]
mov eax, edx
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov ecx, 0x10077318
call fcn.1000f05b
jmp 0x10006818
jmp 0x10006802
jmp 0x100067ec
jmp 0x100067d6
push 0
mov ecx, dword [ebp - 0x50]
call fcn.1000f3dc
mov dword [eax], 0xad6
mov dword [ebp - 4], 1
cmp dword [ebp - 0x3c], 0x2d04
jge 0x1000688e
mov edx, dword [ebp - 0x58]
mov ecx, 0x10077318
call fcn.10013928
jmp 0x100068aa
or dword [ebp - 4], 0xffffffff
jmp 0x100068b4
jmp 0x1000691d
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10006910
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1000690e
push 0x5acd
push 0x3bbb
push 0x1351
push 0x665a
push 0x6809
push 0
push 1
push 0x84c
push 0
call fcn.10006640
add esp, 0x24
jmp 0x1000691d
push 0xd5d
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret