Function at 0x1002d62c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ad4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002d7aa
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1002d69f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [eax], 0xffffffff
jmp 0x1002d7a5
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002d6d9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfffffff6
jg 0x1002d7a5
mov dword [ebp - 0x28], 0xfffffff6
mov dword [ebp - 0x70], 0xdad816f9
cmp dword [ebp - 0x28], 0
je 0x1002d70b
mov eax, 0xd193e056
test eax, eax
je 0x1002d70b
mov dword [ebp - 0x34], 1
jmp 0x1002d70f
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x74]
imul eax, dword [eax], 0x7863
cmp eax, dword [ebp - 0x28]
jle 0x1002d72f
mov dword [ebp - 0x2c], 1
jmp 0x1002d733
and dword [ebp - 0x2c], 0
imul eax, dword [ebp - 0x2c], 0xd3b0
cmp eax, 0xffffffff
jne 0x1002d748
mov dword [ebp - 0x30], 1
jmp 0x1002d74c
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xa05d
je 0x1002d75e
mov dword [ebp - 0x38], 1
jmp 0x1002d762
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x38]
jne 0x1002d773
mov dword [ebp - 0x3c], 1
jmp 0x1002d777
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x270e7ad5
je 0x1002d78e
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1002d78e
and dword [ebp - 0x40], 0
jmp 0x1002d795
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
jmp 0x1002d6ce
jmp 0x1002d8cd
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x44], 0x7ba4
mov dword [ebp - 0x84], str.iwiama_vkb_odjxxixqd_vrz_wouagf_atop_wjveomgyr
cmp dword [ebp - 0x44], 0x7d81
jle 0x1002d875
and dword [ebp - 0x20], 0
jmp 0x1002d7e1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x472
jge 0x1002d868
and dword [ebp - 0x18], 0
jmp 0x1002d7f7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xa08
jge 0x1002d863
and dword [ebp - 0x1c], 0
jmp 0x1002d80d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x17f9
jge 0x1002d861
and dword [ebp - 0x24], 0
jmp 0x1002d823
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20bb
jge 0x1002d85f
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sar eax, cl
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0x10075ef8
call fcn.10001a90
jmp 0x1002d81c
jmp 0x1002d806
jmp 0x1002d7f0
jmp 0x1002d7da
push 0x251
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push dword [ebp - 0x7c]
push 0x38f1
push 0
push dword [ebp - 0x80]
call fcn.1002a68b
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0x781f
jge 0x1002d8a7
mov edx, dword [ebp - 0x84]
mov ecx, 0x10075ef8
call fcn.1000350c
jmp 0x1002d8c3
or dword [ebp - 4], 0xffffffff
jmp 0x1002d8cd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret