Function at 0x1001b060
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a57c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x194
mov eax, dword [0x1005f0f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xbc
xor edx, edx
mov al, byte [edx + 0x100598dc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x15c], al
and ecx, 0x800000ff
jns 0x1001b0c7
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1b
jl 0x1001b0a7
mov byte [ebp - 0x141], 0
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x180], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b120
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.10003e80
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x190]
call fcn.100067b0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x128], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x17c]
cmp edx, 0x10
jb 0x1001b1d6
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b1cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b3db
push edx
push ecx
call fcn.100274be
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x170]
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push ecx
cmovae eax, dword [ebp - 0x138]
push eax
call fcn.1003413e
add esp, 8
test eax, eax
jne 0x1001b388
mov ecx, 0x80
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x100598f8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1a0], al
and ecx, 0x800000ff
jns 0x1001b250
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x1001b230
mov byte [ebp - 0x192], 0
lea edx, [ebp - 0x138]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.10016e60
lea edx, [ebp - 0x1a0]
mov esi, eax
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001b280
sub edx, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1001b293
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x1a0]
push eax
push 0
call fcn.100096b0
mov edx, dword [ebp - 0x144]
add esp, 0xc
mov esi, eax
cmp edx, 0x10
jb 0x1001b2e4
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b2da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b3e0
push edx
push ecx
call fcn.100274be
add esp, 8
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
je 0x1001b388
mov ecx, 0x25
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + str.aG_Q_tyCEHBK]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x178], al
and ecx, 0x800000ff
jns 0x1001b320
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x38
jl 0x1001b300
mov byte [ebp - 0x140], 0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 6
call fcn.100110e0
mov byte [ebp - 4], 4
mov ecx, 0xbd
xor edx, edx
mov al, byte [edx + 0x10059944]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x168], al
and ecx, 0x800000ff
jns 0x1001b367
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x25
jl 0x1001b347
lea eax, [ebp - 0x168]
mov byte [ebp - 0x143], 0
push eax
call fcn.10033906
add esp, 4
call fcn.10010f70
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x1001b3be
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b3b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b3e5
push edx
push ecx
call fcn.100274be
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10026f69
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002df33
call fcn.1002df33
call fcn.1002df33
int3