Function at 0x1001f249
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100642f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xfc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1001f42c
mov dword [ebp - 0x50], 0x51
mov dword [ebp - 0x84], str.gviiv_lhu_tdbioqh_hispiy_rvdpbczbg_huttz_harb_cix_uihtzi
cmp dword [ebp - 0x50], 0x2d4
jle 0x1001f2fa
and dword [ebp - 0x38], 0
jmp 0x1001f2a1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2e7
jge 0x1001f2ed
and dword [ebp - 0x2c], 0
jmp 0x1001f2b7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4b33
jge 0x1001f2eb
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
mov ecx, 0x10081078
call fcn.10004aca
jmp 0x1001f2b0
jmp 0x1001f29a
push 0x1ca2
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0xfffffc71
jge 0x1001f320
mov edx, dword [ebp - 0x84]
mov ecx, 0x10081078
call fcn.10006f4f
jmp 0x1001f33c
or dword [ebp - 4], 0xffffffff
jmp 0x1001f346
lea eax, [ebp + 0x34]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x1001f3c7
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x1001f3a8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 4
jge 0x1001f3c5
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
call fcn.10004de4
mov dword [eax], 3
jmp 0x1001f39d
jmp 0x1001f427
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001f407
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1001f427
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xd8]
call fcn.10004de4
mov dword [eax], 0x383c67ee
jmp 0x1001f3fc
jmp 0x1001f70d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1001f5c7
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x3c], 0x112d
mov dword [ebp - 0xcc], str.hms_vwp_iygpowq_zctqtrwte_djmk_yysuhaxc_xlqaef
cmp dword [ebp - 0x3c], 0x1403
jle 0x1001f568
and dword [ebp - 0x30], 0
jmp 0x1001f4ad
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x401e
jge 0x1001f568
and dword [ebp - 0x34], 0
jmp 0x1001f4c7
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4469
jge 0x1001f563
and dword [ebp - 0x28], 0
jmp 0x1001f4e1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xee2
jge 0x1001f55e
and dword [ebp - 0x24], 0
jmp 0x1001f4f7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7f1a
jge 0x1001f559
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
sar eax, cl
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x10c]
call fcn.10001ab5
pop ecx
pop ecx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.10004aaa
push eax
call fcn.1004c653
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.10004aa0
jmp 0x1001f4f0
jmp 0x1001f4da
jmp 0x1001f4c0
jmp 0x1001f4a6
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [eax], 0xec2e0cf5
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0xdd3
jge 0x1001f59c
push dword [ebp - 0xcc]
call fcn.1004c653
pop ecx
jmp 0x1001f5b8
or dword [ebp - 4], 0xffffffff
jmp 0x1001f5c2
jmp 0x1001f70d
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jg 0x1001f673
mov dword [ebp - 0xc0], 1
jmp 0x1001f67a
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
sub ecx, 3
cmp ecx, dword [eax]
jl 0x1001f695
mov dword [ebp - 0x58], 1
jmp 0x1001f699
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jl 0x1001f6ac
mov dword [ebp - 0x40], 1
jmp 0x1001f6b0
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [eax]
cmp ecx, 0xfffffff6
jl 0x1001f6c6
mov dword [ebp - 0x44], 1
jmp 0x1001f6ca
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
je 0x1001f6dd
mov dword [ebp - 0x4c], 1
jmp 0x1001f6e1
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jl 0x1001f701
mov dword [ebp - 0x5c], 1
jmp 0x1001f705
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret