Function at 0x100122b5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057450
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 0x10012404
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0xbe9
mov dword [ebp - 0x70], str.jgjcw_hlpa_lpt_advsc_vsv
cmp dword [ebp - 0x30], 0xce0
jle 0x1001236d
and dword [ebp - 0x18], 0
jmp 0x10012310
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x76a9
jge 0x1001236d
and dword [ebp - 0x28], 0
jmp 0x10012326
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5e31
jge 0x1001236b
and dword [ebp - 0x20], 0
jmp 0x1001233c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x242f
jge 0x10012369
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
shl eax, cl
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x100711f8
call fcn.10003fa2
jmp 0x10012335
jmp 0x1001231f
jmp 0x10012309
lea eax, [ebp + 0x18]
mov dword [ebp - 0x5c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0xb3e
jge 0x1001238d
mov edx, dword [ebp - 0x70]
mov ecx, 0x100711f8
call fcn.1000634f
jmp 0x100123a9
or dword [ebp - 4], 0xffffffff
jmp 0x100123b3
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100123cc
push 0xa8d
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100123ff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x100123ff
push 0x4d9c
push 1
push 0xe33
push 0
push 0x6984
push 0
call fcn.100122b5
add esp, 0x18
jmp 0x10012571
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10012564
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], 0x33a5
mov dword [ebp - 0x60], str.itgxtgr_zbouvdjty_nlqqnqdoa_scafady_kjy_vbvohlds_ozwfaeo_faip_ahdofh
cmp dword [ebp - 0x34], 0x36e7
jle 0x10012513
push 0x1caa
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
and dword [ebp - 0x1c], 0
jmp 0x10012471
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4710
jge 0x10012513
and dword [ebp - 0x24], 0
jmp 0x1001248b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x29ce
jge 0x1001250e
and dword [ebp - 0x2c], 0
jmp 0x100124a1
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2142
jge 0x10012509
and dword [ebp - 0x14], 0
jmp 0x100124b7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6c8f
jge 0x10012507
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
xor eax, ecx
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10001a55
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.10003f82
push eax
call fcn.1003e75c
pop ecx
lea ecx, [ebp - 0x94]
call fcn.10003f78
jmp 0x100124b0
jmp 0x1001249a
jmp 0x10012484
jmp 0x1001246a
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
shr eax, 1
push eax
mov ecx, dword [ebp - 0x58]
call fcn.1000ed5c
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x337f
jge 0x1001253c
push dword [ebp - 0x60]
call fcn.1003e75c
pop ecx
jmp 0x10012558
or dword [ebp - 4], 0xffffffff
jmp 0x10012562
jmp 0x10012571
push 0xa8d
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret