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

Disassembly:
push 0xffffffffffffffff
push 0x1005afa5
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1006c3ac]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006c3ac]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x5c]
xor ebp, ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
test edi, edi
je 0x10020d32
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0xf0], 0
cmp byte [ebx + 0x39], 0
jne 0x10020d59
test edi, edi
je 0x10020d52
test ebp, ebp
je 0x10020d52
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x1002121d
push 0x20
call fcn.1003f860
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esp + 0xf0], 1
test esi, esi
je 0x10020d7d
push esi
call fcn.100162f0
jmp 0x10020d7f
xor esi, esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0xf0], 0
test esi, esi
je 0x1002120c
push 0x18
call fcn.1003f860
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0xf0], 2
test eax, eax
je 0x10020db5
push eax
call fcn.1002f390
jmp 0x10020db7
xor eax, eax
mov dword [esp + 0x28], eax
mov byte [esp + 0xf0], 0
test eax, eax
je 0x1002120c
mov edi, dword [ebx + 0x10]
cmp edi, dword [ebx + 0x14]
jbe 0x10020dd8
call fcn.1003f767
mov esi, dword [ebx + 4]
mov ebp, edi
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], edi
cmp dword [ebx + 0x10], edi
jbe 0x10020df6
call fcn.1003f767
mov eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
lea ecx, [ecx]
test esi, esi
je 0x10020e0a
cmp esi, dword [esp + 0x58]
je 0x10020e0f
call fcn.1003f767
cmp ebp, edi
je 0x10021071
test esi, esi
jne 0x10020e4e
call fcn.1003f767
cmp ebp, dword [esi + 0x10]
jb 0x10020e2a
call fcn.1003f767
push 0x20
call fcn.1003f860
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
mov byte [esp + 0xf0], 3
test edi, edi
je 0x10020e52
push edi
call fcn.100162f0
jmp 0x10020e54
mov esi, dword [esi]
jmp 0x10020e20
xor edi, edi
mov byte [esp + 0xf0], 0
test edi, edi
je 0x10021034
push 0x68
call fcn.1003f860
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xf0], 4
test eax, eax
je 0x10020e8b
mov ecx, dword [ebp]
push eax
call fcn.10014330
mov esi, eax
jmp 0x10020e8d
xor esi, esi
mov byte [esp + 0xf0], 0
test esi, esi
je 0x10021034
mov eax, 0x10060a30
lea ecx, [esp + 0x38]
call fcn.1000b630
lea ecx, [esp + 0x38]
push ecx
push edi
mov byte [esp + 0xf8], 5
call fcn.100157e0
mov ebx, 8
mov dword [eax], esi
mov byte [esp + 0xf0], 0
cmp dword [esp + 0x50], ebx
jb 0x10020ee0
mov edx, dword [esp + 0x3c]
push edx
call fcn.1003f2c6
add esp, 4
push 0x68
call fcn.1003f860
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xf0], 6
test eax, eax
je 0x10020f07
mov ecx, dword [ebp + 4]
push eax
call fcn.10014330
mov esi, eax
jmp 0x10020f09
xor esi, esi
mov byte [esp + 0xf0], 0
test esi, esi
je 0x10021051
mov eax, str.thumbnail
lea ecx, [esp + 0x38]
call fcn.1000b630
lea eax, [esp + 0x38]
push eax
push edi
mov byte [esp + 0xf8], 7
call fcn.100157e0
mov dword [eax], esi
lea esi, [esp + 0x38]
mov byte [esp + 0xf0], 0
call fcn.10002040
push 0x68
call fcn.1003f860
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xf0], bl
test eax, eax
je 0x10020f73
mov ecx, dword [ebp + 8]
push eax
call fcn.10014330
mov esi, eax
jmp 0x10020f75
xor esi, esi
mov byte [esp + 0xf0], 0
test esi, esi
je 0x10021034
mov eax, str.thumb_mid
lea ecx, [esp + 0x38]
call fcn.1000b630
lea ecx, [esp + 0x38]
push ecx
push edi
mov byte [esp + 0xf8], 9
call fcn.100157e0
mov dword [eax], esi
lea esi, [esp + 0x38]
mov byte [esp + 0xf0], 0
call fcn.10002040
push 0x68
call fcn.1003f860
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0xf0], 0xa
test esi, esi
je 0x10020fed
sub esp, 0x20
mov dword [esp + 0x4c], esp
mov eax, esp
push edi
push eax
call fcn.10015900
push esi
call fcn.10014410
jmp 0x10020fef
xor eax, eax
mov byte [esp + 0xf0], 0
mov dword [esp + 0x20], eax
test eax, eax
je 0x10021026
mov edi, dword [esp + 0x28]
lea ebx, [esp + 0x20]
call fcn.1001e430
lea esi, [esp + 0x30]
call fcn.100226a0
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
jmp 0x10020e00
lea ecx, [esp + 0x14]
call fcn.100013f0
jmp 0x1002121b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002121b
cmp dword [esp + 0x18], 0
je 0x1002121b
push eax
jmp 0x10021215
cmp dword [esp + 0x14], 0
je 0x1002121b
cmp dword [esp + 0x18], 0
je 0x1002121b
mov edx, dword [esp + 0x14]
push edx
jmp 0x10021215
push 0x68
call fcn.1003f860
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov byte [esp + 0xf0], 0xb
test esi, esi
je 0x100210aa
mov ecx, dword [esp + 0x28]
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.1001e250
push esi
call fcn.1001c7f0
mov edi, eax
jmp 0x100210ac
xor edi, edi
mov byte [esp + 0xf0], 0
test edi, edi
je 0x10021034
xor ecx, ecx
push 4
mov eax, str.list
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], cx
call fcn.1000b540
mov edx, esi
mov byte [esp + 0xf0], 0xc
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.100157e0
mov dword [eax], edi
mov byte [esp + 0xf0], 0
cmp dword [esp + 0x50], 8
jb 0x10021116
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1003f2c6
add esp, 4
mov edx, dword [esp + 0x1c]
sub esp, 0x20
mov dword [esp + 0x4c], esp
mov eax, esp
push edx
push eax
call fcn.10015900
lea eax, [esp + 0x9c]
push eax
call fcn.10014410
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x60]
mov byte [esp + 0xf0], 0xd
call fcn.10014e30
lea esi, [esp + 0x1c]
mov byte [esp + 0xf0], 0xe
call fcn.1001b240
push 0x17
push str.FavoriteFavorite.json
mov ecx, esi
push ecx
mov byte [esp + 0xfc], 0xf
call fcn.10013900
lea ebx, [esp + 0x60]
mov eax, esi
call fcn.1002b8e0
mov bl, al
mov eax, dword [esp + 0x54]
test bl, bl
sete dl
mov byte [eax + 0x39], dl
mov byte [esp + 0xf0], 0xe
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100211b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x78], 8
jb 0x100211cb
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1003f2c6
add esp, 4
xor edx, edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], dx
mov byte [esp + 0xf0], dl
call fcn.100144e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10021208
cmp dword [esp + 0x18], 0
je 0x10021208
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
jmp 0x1002121d
test edi, edi
je 0x1002121b
test ebp, ebp
je 0x1002121b
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.1003f2d1
add esp, 0xe0
ret