Function at 0x1008a140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2c8
mov esi, esp
mov dword [esi + 0x2b0], ebp
mov dword [esi + 0x2b4], esp
mov dword [esi + 0x2c0], 0xffffffff
mov dword [esi + 0x2bc], 0x1008de20
lea eax, [esi + 0x2b8]
mov edi, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [esi + 0x2b8], ecx
mov dword fs:[0], eax
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 5
mov dword [esi + 0xd8], 0
movzx eax, byte [0x10283b09]
push 8
push 0xc0
call fcn.10013860
add esp, 8
test eax, eax
mov dword [esi + 0xc], eax
je 0x1008a453
mov ebx, eax
lea eax, [esi + 0x20]
push 0xc0
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lock inc dword [ebx]
jle 0x1008a482
mov eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0xc]
lea edi, [esi + 0xe0]
push 0x8c
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0xe0]
nop dword [eax + eax]
mov ebx, eax
test bl, 1
jne 0x1008a2ca
cmp ebx, 0xfffffffe
je 0x1008a484
lea ecx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [edx + 0xe0], ecx
jne 0x1008a230
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x2c]
push 0x8c
push edi
push eax
mov edi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x20]
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 1
mov dword [esi + 4], edi
mov dword [esi + 0x2c0], 2
mov dword [esi + 0xc0], eax
lea eax, [edi + 0x40]
push ecx
push eax
call fcn.100d8870
add esp, 8
mov eax, dword [esi + 4]
sub eax, 0xffffff80
push eax
call fcn.1014c120
add esp, 4
mov ecx, dword [esi + 0x14]
jmp 0x1008a2f2
lea eax, [esi + 0x188]
push 0x8c
push edi
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor eax, 4
mov dword [esi + 0x20], ecx
or eax, dword [esi + 4]
jne 0x1008a30a
mov edi, dword [ebp + 8]
mov dword [edi + 8], ecx
mov dword [edi + 4], 0
mov dword [edi], 3
jmp 0x1008a43d
mov dword [esi + 8], ecx
mov dword [esi + 0x18], ebx
lea eax, [esi + 0x224]
push 0x8c
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x20]
mov dword [esi + 0x2c0], 4
push eax
call fcn.100cded0
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1008a35d
lock dec dword [eax]
jne 0x1008a35d
lea eax, [esi + 0x20]
mov dword [esi + 0x2c0], 2
push eax
call fcn.10095860
add esp, 4
lea eax, [esi + 0xec]
push 0x8c
lea ecx, [esi + 0x224]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x2c0], 3
mov dword [esi + 0xe8], eax
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 1
mov dword [esi + 0x180], ecx
mov ecx, dword [esi + 4]
mov edi, edx
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 3
xor edi, 3
or edi, ecx
je 0x1008a46e
mov dword [esi + 0x24], ecx
lea eax, [esi + 0xe8]
mov dword [esi + 0x20], edx
lea ecx, [esi + 0x28]
push 0xa0
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x98
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x188]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0xb8]
call fcn.100871d0
lea ecx, [esi + 0xe0]
mov dword [esi + 0x2c0], 2
call fcn.10087390
push 0x98
lea eax, [esi + 0x188]
push eax
mov edi, dword [ebp + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x2b8]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x2c0], 1
push 0xc0
push 8
call fcn.101cb670
add esp, 8
jmp 0x1008a482
push 0x101da7bc
push 0x14
push 0x101da746
call fcn.101cb830
add esp, 0xc
ud2
mov ecx, 7
int 0x29
ud2