Function at 0x1001b3f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1005932c
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1006c3ac]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006c3ac]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x23c]
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov ecx, str.D:IN_Wallpaper_Downloads_
mov dword [esp + 0x20], ebx
call fcn.10001cd0
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x1006094c
mov dword [esp + 0x238], ebx
call fcn.10001cd0
mov ecx, eax
mov byte [esp + 0x234], 1
call fcn.1002ba50
mov esi, eax
mov byte [esp + 0x234], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001b497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x1001b4b2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10002fe0
add eax, 0x10
mov dword [ebp], eax
jmp 0x1001b5e6
push 0x104
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x1001b5db
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
call fcn.10001cd0
mov byte [esp + 0x234], 2
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jle 0x1001b5b9
push 0x3a
push ecx
call fcn.10041326
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x1001b5b9
sub eax, ecx
sar eax, 1
cmp eax, edi
je 0x1001b5b9
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
call fcn.1001b750
mov byte [esp + 0x234], 3
mov esi, dword [esp + 0x1c]
push esi
push str._s:IN_Wallpaper_Downloads_
lea edi, [esp + 0x1c]
call fcn.100126a0
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 0xfffffff0
call fcn.10002fe0
add eax, 0x10
mov dword [ebp], eax
lea eax, [esi - 0x10]
mov byte [esp + 0x234], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001b571
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001b598
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1001b5fe
lea eax, [ecx - 0x10]
mov byte [esp + 0x234], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001b5db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
mov ecx, str.C:IN_Wallpaper_Downloads_
call fcn.10001cd0
mov dword [esp + 0x234], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x1001b60a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1003f2d1
add esp, 0x224
ret 4