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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2b0
mov esi, esp
mov dword [esi + 0x298], ebp
mov dword [esi + 0x29c], esp
mov dword [esi + 0x2a8], 0xffffffff
mov dword [esi + 0x2a4], 0x100a6920
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x2a0]
movzx edx, byte [ebp + 0x14]
mov ecx, dword fs:[0]
mov dword [esi + 0x2a0], ecx
mov dword fs:[0], eax
xor eax, eax
cmp eax, dword [edi + 8]
jno 0x100a4efa
jmp 0x100a4f09
cmp byte [edi + 0x28], 1
jne 0x100a4f09
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [esi + 8], ecx
lea ecx, [edi + 0x14]
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov dword [esi + 0x2a8], 1
movzx edx, dl
lea edi, [ebp + 0x10]
lea ebx, [esi + 0x78]
mov dword [esi + 0x1c], ecx
push ecx
push dword [esi + 8]
push eax
push edx
push edi
push ebx
call fcn.100f3dd0
add esp, 0x18
mov edx, dword [ebp + 8]
cmp dword [esi + 0x80], 2
jne 0x100a4fc1
mov ecx, dword [esi + 0x7c]
mov dword [edx + 8], 2
mov eax, dword [esi + 0x78]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0xc], eax
mov dword [edx + 4], 0
mov dword [edx], 1
cmp dword [ecx], 2
jne 0x100a504b
lea eax, [ecx + 4]
mov dword [esi + 0x2a8], 9
mov dword [esi + 8], eax
push eax
call fcn.1006efa0
add esp, 4
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0xc], 0xffffffff
je 0x100a4fa6
add ecx, 0xc
mov dword [esi + 0x2a8], 8
call fcn.1009b610
mov ecx, dword [esi + 8]
mov byte [esi + 5], 1
mov dword [esi + 0x2a8], 0
call fcn.1008eb00
jmp 0x100a505e
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
lea eax, [esi + 0x80]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x74], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, 0
movsd qword [esi + 0x68], xmm1
movsd qword [esi + 0x60], xmm0
test byte [edx], 1
je 0x100a5034
mov ecx, dword [esi + 0x30]
lea eax, [edx + 4]
mov byte [esi + 0xf], 1
mov dword [esi + 0x2a8], 3
mov dword [esi + 0x38], ecx
push eax
call fcn.100f34d0
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
mov dword [esi + 0x54], eax
mov eax, 1
xor ecx, ecx
cmp ecx, dword [edx + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x50], eax
jno 0x100a508b
mov dword [esi + 0x14], 0x80000000
jmp 0x100a50f0
mov byte [esi + 5], 1
mov dword [esi + 0x2a8], 0
call fcn.1009a580
mov eax, dword [ebp + 0x10]
lock dec dword [eax]
mov eax, dword [ebp + 8]
jne 0x100a5393
lea eax, [ebp + 0x10]
mov dword [esi + 0x2a8], 0xffffffff
push eax
call fcn.1006b080
mov eax, dword [ebp + 8]
add esp, 4
jmp 0x100a5393
mov ecx, dword [edx + 0x10]
xor eax, eax
lea edi, [ecx + ecx]
test ecx, ecx
js 0x100a53ce
cmp edi, 0x7ffffffe
mov dword [esi + 0x28], ecx
ja 0x100a53ce
mov ebx, dword [edx + 0xc]
test edi, edi
je 0x100a50d3
movzx eax, byte [0x10284b49]
push 2
push edi
call fcn.10013770
add esp, 8
test eax, eax
je 0x100a53c9
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x14], ecx
jmp 0x100a50df
mov eax, 2
mov dword [esi + 0x14], 0
push edi
push ebx
mov dword [esi + 0x24], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
movzx ecx, byte [edx + 0x28]
mov ch, byte [edx + 0x29]
test eax, eax
mov byte [esi + 0x13], cl
mov byte [esi + 0x12], ch
je 0x100a5121
lock inc dword [eax]
jle 0x100a53ec
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esi + 0x58], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x5c], ecx
jmp 0x100a512f
mov dword [esi + 0x58], 0
mov dword [esi + 0x18], 0
mov eax, dword [ebp + 0x18]
lea ecx, [esi + 0x1d8]
push 0xc0
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor ecx, ecx
cmp dword [esi + 0x60], 0
je 0x100a519a
movsd xmm0, qword [esi + 0x64]
mov edi, dword [esi + 0x6c]
movsd qword [esi + 0x78], xmm0
mov dword [esi + 0x80], edi
mov eax, dword [esi + 0x78]
test eax, eax
mov dword [esi + 8], eax
js 0x100a53a8
je 0x100a51d7
movzx eax, byte [0x10284b49]
push 1
push dword [esi + 8]
call fcn.10013770
add esp, 8
test eax, eax
je 0x100a53ac
mov dword [esi + 0x2a8], 5
jmp 0x100a51e1
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], 1
mov dword [esi + 8], 0
cmp ecx, dword [eax]
jo 0x100a5210
mov dword [esi + 0x2a8], 6
push eax
lea eax, [esi + 0x78]
push eax
call fcn.100acb80
add esp, 8
mov eax, dword [esi + 0x7c]
mov ebx, dword [esi + 0x78]
mov edi, dword [esi + 0x80]
mov dword [esi + 0x1c], eax
jmp 0x100a5215
mov edi, 1
mov eax, 1
push dword [esi + 8]
push edi
mov dword [esi + 0x20], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x78]
mov dword [esi + 0x2a8], 5
push eax
call fcn.100f3980
add esp, 4
mov eax, dword [esi + 0x1c]
xor ecx, ecx
cmp ecx, dword [eax]
jno 0x100a51af
mov ebx, 0x80000000
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1b0], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x1b4], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1b8], eax
push 0xc0
lea eax, [esi + 0x1d8]
push eax
lea eax, [esi + 0x80]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x144], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 1
mov dword [esi + 0x150], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], 1
mov dword [esi + 0x168], 0
mov dword [esi + 0x174], 0
mov dword [esi + 0x170], 0
mov byte [esi + 0x11], 0
mov dword [esi + 0x2a8], 2
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], ecx
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x188], 0x10000
mov byte [esi + 0x18c], 0
mov dword [esi + 0x1a0], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x1a4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1a8], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x1ac], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1c0], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x1c8], eax
movzx eax, byte [esi + 0x13]
mov dword [esi + 0x1cc], 1
mov dword [esi + 0x1d0], 0
mov byte [esi + 0x1d4], al
movzx eax, byte [esi + 0x12]
mov byte [esi + 0x1d5], al
movzx eax, byte [ebp + 0x14]
mov byte [esi + 0x1d6], al
lea eax, [esi + 0x78]
mov byte [esi + 0x1d7], 1
push eax
push dword [ebp + 8]
call fcn.100a4520
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x2a0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x100a53b1
mov eax, 1
mov dword [esi + 0x2a8], 7
push dword [esi + 8]
push eax
call fcn.101cc661
add esp, 8
jmp 0x100a53ec
mov eax, 2
mov ecx, dword [esi + 0x2c]
mov byte [esi + 0x10], 1
mov dword [esi + 0x2a8], 4
mov dword [esi + 0x3c], ecx
push edi
push eax
call fcn.101cc661
add esp, 8
ud2