Function at 0x1001cc70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005aa90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1006c3ac]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
add edi, 0x1c
xor ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
test edi, edi
je 0x1001ccc0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, 1
mov dword [esp + 0x38], ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x80], 0
call fcn.1001b240
push 0x21
push str.WallPaperHistoryHistorySet.json
mov eax, esi
push eax
mov byte [esp + 0x8c], 1
call fcn.10013900
mov edx, dword [0x1006e504]
mov eax, dword [edx + 0xc]
mov ecx, 0x1006e504
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, esi
push ecx
lea esi, [esp + 0x14]
mov byte [esp + 0x84], 2
call fcn.1002b7e0
add esp, 4
test al, al
jne 0x1001cd3e
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1001d22e
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
call fcn.1001c8b0
test al, al
je 0x1001d212
lea edx, [esp + 0x18]
push edx
call fcn.1001b820
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1001d212
cmp dword [eax], 5
jne 0x1001d212
lea edi, [eax + 0x48]
xor eax, eax
mov word [esp + 0x5c], ax
push 4
mov eax, str.list
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
call fcn.1000b540
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
mov esi, edi
mov byte [esp + 0x88], 3
call fcn.1001e490
mov byte [esp + 0x80], 2
cmp dword [esp + 0x70], 8
jb 0x1001cdd6
mov eax, dword [esp + 0x5c]
push eax
call fcn.1003f2c6
add esp, 4
mov esi, dword [esp + 0x3c]
mov ebx, dword [edi + 0x18]
mov edi, dword [edi]
test esi, esi
je 0x1001cde7
cmp esi, edi
je 0x1001cdec
call fcn.1003f767
mov edi, dword [esp + 0x40]
cmp edi, ebx
je 0x1001d1f6
test esi, esi
jne 0x1001cf45
call fcn.1003f767
cmp edi, dword [esi + 0x18]
jne 0x1001ce0f
call fcn.1003f767
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1001d1f6
cmp dword [eax], 4
jne 0x1001d1f6
lea edi, [eax + 0x30]
lea esi, [esp + 0x24]
mov dword [esp + 0x20], edi
call fcn.100157a0
mov ebx, dword [edi + 0x10]
mov esi, dword [esp + 0x24]
cmp dword [edi + 0xc], ebx
jbe 0x1001ce44
call fcn.1003f767
mov edi, dword [edi]
test esi, esi
je 0x1001ce4e
cmp esi, edi
je 0x1001ce53
call fcn.1003f767
cmp dword [esp + 0x28], ebx
je 0x1001d165
test esi, esi
jne 0x1001cf4c
call fcn.1003f767
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esi + 0x10]
jb 0x1001ce78
call fcn.1003f767
mov edx, dword [esp + 0x28]
mov ebx, dword [edx]
test ebx, ebx
je 0x1001d136
cmp dword [ebx], 5
jne 0x1001d136
lea esi, [esp + 0x4c]
add ebx, 0x48
call fcn.1001f330
mov byte [esp + 0x80], 4
xor eax, eax
mov word [esp + 0x5c], ax
push 2
mov eax, 0x10060a30
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
call fcn.1000b540
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
mov esi, ebx
mov byte [esp + 0x88], 5
call fcn.1001e490
mov byte [esp + 0x80], 4
cmp dword [esp + 0x70], 8
jb 0x1001cefd
mov eax, dword [esp + 0x5c]
push eax
call fcn.1003f2c6
add esp, 4
mov esi, dword [esp + 0x3c]
mov edi, dword [ebx + 0x18]
mov eax, dword [ebx]
test esi, esi
je 0x1001cf0e
cmp esi, eax
je 0x1001cf13
call fcn.1003f767
cmp dword [esp + 0x40], edi
je 0x1001cf65
test esi, esi
jne 0x1001cf53
call fcn.1003f767
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esi + 0x18]
jne 0x1001cf30
call fcn.1003f767
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x28]
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x1001cf57
mov eax, dword [eax + 4]
jmp 0x1001cf5a
mov esi, dword [esi]
jmp 0x1001ce05
mov esi, dword [esi]
jmp 0x1001ce6a
mov esi, dword [esi]
jmp 0x1001cf22
add eax, 4
mov edx, eax
lea edi, [esp + 0x4c]
call fcn.10001d80
xor eax, eax
mov word [esp + 0x5c], ax
push 5
mov eax, str.local
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
call fcn.1000b540
mov ecx, esi
push ecx
lea edx, [esp + 0x30]
push edx
mov esi, ebx
mov byte [esp + 0x88], 6
call fcn.1001e490
mov byte [esp + 0x80], 4
cmp dword [esp + 0x70], 8
jb 0x1001cfbf
mov eax, dword [esp + 0x5c]
push eax
call fcn.1003f2c6
add esp, 4
mov esi, dword [esp + 0x2c]
mov edi, dword [ebx + 0x18]
mov eax, dword [ebx]
test esi, esi
je 0x1001cfd0
cmp esi, eax
je 0x1001cfd5
call fcn.1003f767
cmp dword [esp + 0x30], edi
je 0x1001d04c
test esi, esi
jne 0x1001d014
call fcn.1003f767
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esi + 0x18]
jne 0x1001cff2
call fcn.1003f767
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x28]
cmp dword [eax], 3
lea esi, [esp + 0x2c]
jne 0x1001d018
call fcn.1001e520
mov eax, dword [eax + 0x1c]
fld qword [eax + 0x28]
call fcn.10053370
jmp 0x1001d048
mov esi, dword [esi]
jmp 0x1001cfe4
call fcn.1001e520
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jne 0x1001d04c
lea esi, [esp + 0x2c]
call fcn.1001e520
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c], 8
jb 0x1001d03c
mov eax, dword [eax + 8]
jmp 0x1001d03f
add eax, 8
push eax
call fcn.100414f2
add esp, 4
mov dword [esp + 0x50], eax
xor eax, eax
mov word [esp + 0x5c], ax
push 3
mov eax, 0x10060a44
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
call fcn.1000b540
mov ecx, esi
push ecx
lea edx, [esp + 0x48]
push edx
mov esi, ebx
mov byte [esp + 0x88], 7
call fcn.1001e490
mov byte [esp + 0x80], 4
cmp dword [esp + 0x70], 8
jb 0x1001d0a6
mov eax, dword [esp + 0x5c]
push eax
call fcn.1003f2c6
add esp, 4
mov esi, dword [esp + 0x44]
mov edi, dword [ebx + 0x18]
mov ebx, dword [ebx]
test esi, esi
je 0x1001d0b7
cmp esi, ebx
je 0x1001d0bc
call fcn.1003f767
mov ebx, dword [esp + 0x48]
cmp ebx, edi
je 0x1001d0fa
test esi, esi
jne 0x1001d0e8
call fcn.1003f767
cmp ebx, dword [esi + 0x18]
jne 0x1001d0d7
call fcn.1003f767
mov eax, dword [ebx + 0x28]
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x1001d0ec
mov eax, dword [eax + 4]
jmp 0x1001d0ef
mov esi, dword [esi]
jmp 0x1001d0cd
add eax, 4
mov edx, eax
lea edi, [esp + 0x54]
call fcn.10001d80
mov ecx, dword [esp + 0x54]
cmp dword [ecx - 0xc], 0
je 0x1001d125
cmp dword [esp + 0x50], 2
ja 0x1001d125
mov edx, dword [esp + 0x4c]
cmp dword [edx - 0xc], 0
je 0x1001d125
mov edi, dword [ebp + 8]
lea eax, [esp + 0x4c]
push eax
add edi, 4
call fcn.1001e130
lea esi, [esp + 0x4c]
mov byte [esp + 0x80], 2
call fcn.1001f090
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1001d161
call fcn.1003f767
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x10]
jb 0x1001d153
call fcn.1003f767
add dword [esp + 0x28], 4
mov edi, dword [esp + 0x20]
jmp 0x1001ce33
mov eax, dword [eax]
jmp 0x1001d145
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.100144e0
push esi
call fcn.1003f2c6
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001d1a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0
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 0x1001d1c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1001d1df
cmp dword [esp + 0x38], 0
je 0x1001d1df
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.100144e0
push esi
call fcn.1003f2c6
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
add esp, 4
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001d23a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001d262
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x1001d271
test ebx, ebx
je 0x1001d271
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4