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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10071328
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1008ab54]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push str.extensions
xor esi, esi
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], esi
call fcn.10034210
cmp byte [eax + 8], 0
push str.extensions
je 0x10020ec1
push ebx
call fcn.10034210
push str.settings
push eax
call fcn.10034210
cmp byte [eax + 8], 0
push str.extensions
push ebx
je 0x10020ea5
call fcn.10034210
push str.settings
push eax
call fcn.10034210
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.10034660
mov dword [esp + 0x98], esi
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
lea edi, [esi + 4]
mov edi, edi
test esi, esi
je 0x10020e78
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x92492493
imul ecx
mov eax, dword [esp + 0x14]
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp eax, esi
jae 0x10020e74
push str.extensions
push ebx
call fcn.10034210
push str.settings
push eax
call fcn.10034210
cmp dword [edi + 0x14], 0x10
jb 0x10020bad
mov ecx, dword [edi]
jmp 0x10020baf
mov ecx, edi
push ecx
push eax
call fcn.10034210
cmp byte [eax + 8], 0
je 0x10020d85
cmp dword [esp + 0x14], esi
jb 0x10020bcb
call fcn.1004984b
push str.extensions
push ebx
call fcn.10034210
push str.settings
push eax
call fcn.10034210
cmp dword [edi + 0x14], 0x10
jb 0x10020beb
mov ecx, dword [edi]
jmp 0x10020bed
mov ecx, edi
push ecx
push eax
call fcn.10034210
push eax
lea ecx, [esp + 0x40]
call fcn.10033540
push str.path
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa0], 1
call fcn.10034210
cmp byte [eax + 8], 0
push str.path
lea ecx, [esp + 0x40]
je 0x10020d64
push ecx
call fcn.10034210
lea esi, [esp + 0x6c]
mov ecx, eax
call fcn.100337d0
mov byte [esp + 0x98], 2
call fcn.10040589
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x10020dcc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x98], 3
cmp dword [esp + 0x84], 0x10
mov eax, dword [esp + 0x70]
jae 0x10020c7f
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call fcn.10012ee0
mov edx, dword [esp + 0x38]
mov byte [esp + 0x98], 4
mov ecx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s_smanifest.json
push eax
call fcn.10012ec0
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10020cd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x24]
push ebx
call fcn.10020620
add esp, 4
test al, al
jne 0x10020dd6
lea eax, [ebx - 0x10]
mov byte [esp + 0x98], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10020d0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x84], 0x10
jb 0x10020d23
mov ecx, dword [esp + 0x70]
push ecx
call fcn.1003efae
add esp, 4
lea eax, [esp + 0x3c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
mov byte [esp + 0x98], 0
call fcn.100336a0
add dword [esp + 0x14], 1
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
add edi, 0x1c
jmp 0x10020b60
lea edx, [esp + 0x50]
push edx
call fcn.10034500
lea eax, [esp + 0x4c]
call fcn.100336a0
mov byte [esp + 0x98], 0
lea eax, [esp + 0x3c]
jmp 0x10020db6
cmp dword [esp + 0x14], esi
jb 0x10020d90
call fcn.1004984b
push str.extensions
push ebx
call fcn.10034210
push str.settings
push eax
call fcn.10034210
mov ecx, eax
lea eax, [edi - 4]
lea esi, [esp + 0x5c]
call fcn.10034630
mov eax, esi
call fcn.100336a0
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x2c]
add edi, 0x1c
jmp 0x10020b60
push 0x80004005
call fcn.10001100
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x28]
call fcn.1001e4a0
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x10020df2
mov eax, dword [eax + 4]
jmp 0x10020df5
add eax, 4
mov edi, dword [esp + 0x20]
push eax
mov ecx, edi
call fcn.10012ee0
lea eax, [ebx - 0x10]
mov byte [esp + 0x98], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10020e25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x84], esi
jb 0x10020e3b
mov ecx, dword [esp + 0x70]
push ecx
call fcn.1003efae
add esp, 4
lea eax, [esp + 0x3c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
mov byte [esp + 0x98], 0
call fcn.100336a0
lea esi, [esp + 0x28]
call fcn.1001e430
mov eax, edi
jmp 0x10020ee8
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [esp + 0x98], 0xffffffff
je 0x10020ed6
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push edx
mov eax, esi
call fcn.1001e670
add esp, 4
push esi
call fcn.1003efae
add esp, 4
jmp 0x10020ed6
call fcn.10034210
push str.settings
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call fcn.10034500
lea eax, [esp + 0x5c]
jmp 0x10020ed1
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
call fcn.10034500
lea eax, [esp + 0x4c]
call fcn.100336a0
mov esi, dword [esp + 0x20]
push 0x10077b2c
mov ecx, esi
call fcn.10013140
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10048e2f
mov esp, ebp
pop ebp
ret