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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x310
mov esi, esp
mov dword [esi + 0x2f8], ebp
mov dword [esi + 0x2fc], esp
mov dword [esi + 0x308], 0xffffffff
mov dword [esi + 0x304], 0x10033c40
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x300]
mov edx, dword fs:[0]
mov dword [esi + 0x300], edx
mov dword fs:[0], ecx
movsd xmm0, qword [eax + 0x138]
mov ecx, dword [eax + 0x140]
mov dword [esi + 0x2c], ecx
movaps xmmword [esi + 0x50], xmm0
lea ecx, [esi + 0x1c0]
push 0x138
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 6], 1
mov dword [esi + 0x308], 0
push 0
call fcn.100cc0d0
add esp, 4
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], edx
mov dword [esi + 0x88], 0
mov edi, edx
movzx eax, byte [0x10283b09]
push 4
push 0x24
call fcn.10013860
add esp, 8
test eax, eax
je 0x10031951
movsd xmm1, qword [esi + 0x78]
mov ecx, dword [esi + 0x88]
movsd xmm0, qword [esi + 0x80]
movsd xmm2, qword [esi + 0x68]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi + 0x70]
mov dword [eax + 0x20], ecx
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
lock inc dword [eax]
jle 0x100319a2
mov dword [esi + 0x70], 0x80000000
mov dword [esi + 0x18], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x68], 0
movzx eax, byte [0x10283b09]
push 1
push 0x1d
call fcn.10013860
add esp, 8
test eax, eax
mov dword [esi + 0x28], eax
je 0x10031969
mov dword [esi + 0x44], 0x1d
mov dword [esi + 0x48], eax
mov byte [eax + 0x1c], 0x65
mov dword [eax + 0x18], 0x6d69746e
mov dword [eax + 0x14], 0x75722d63
mov dword [eax + 0x10], 0x6e79732d
mov dword [eax + 0xc], 0x6c616e72
mov dword [eax + 8], 0x65746e69
mov dword [eax + 4], 0x2d747365
mov dword [eax], 0x77716572
lea eax, [esi + 0x44]
mov dword [esi + 0x4c], 0x1d
mov dword [esi + 0x308], 5
lea edx, [esi + 0x68]
lea ecx, [esi + 0x1ac]
push eax
push edx
push ecx
call fcn.10192b50
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [esi + 0x1a4], eax
push 0x138
lea eax, [esi + 0x1c0]
push eax
lea edi, [esi + 0x68]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x18]
mov byte [esi + 3], 1
mov byte [esi + 4], 1
mov byte [esi + 5], 0
mov dword [esi + 0x308], 4
mov dword [esi + 0x1a0], eax
lea eax, [esi + 0x38]
push edi
lea ecx, [esi + 0x1ac]
push ecx
push eax
call fcn.10090240
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x100317aa
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
mov byte [esi + 0xb], 1
mov dword [esi + 0x308], 6
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
sub esp, 0x14
lea ecx, [esi + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0x3b9aca00
mov dword [esp], ecx
call fcn.100d1710
add esp, 0x14
cmp byte [esi + 0x68], 0
jne 0x10031981
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x100318cc
mov dword [esi + 0x18], eax
push dword [esi + 0x24]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x10031777
lea eax, [esi + 0x1c]
mov dword [esi + 0x308], 8
push eax
call fcn.10007330
add esp, 4
mov eax, dword [esi + 0x20]
lock dec dword [eax]
jne 0x10031862
lea eax, [esi + 0x20]
mov byte [esi + 3], 0
mov byte [esi + 4], 1
mov byte [esi + 5], 0
mov dword [esi + 0x308], 4
push eax
call fcn.10096780
add esp, 4
jmp 0x10031862
movsd xmm0, qword [esi + 0x3c]
lea eax, [esi + 0x68]
mov byte [esi + 3], 1
mov byte [esi + 4], 1
mov byte [esi + 5], 0
movsd qword [esi + 0x68], xmm0
push eax
call fcn.100247c0
add esp, 4
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10031862
mov dword [esi + 0xc], eax
add eax, 0x20
mov dword [esi + 0x308], 9
push eax
call fcn.1014d3c0
add esp, 4
mov ecx, eax
and ecx, 0xa
cmp ecx, 8
jne 0x10031812
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [ecx + 0x10]
push dword [ecx + 0x14]
call dword [eax + 8]
mov eax, dword [esi + 0x50]
add esp, 4
test al, 2
je 0x10031838
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
cmp dword [eax + 8], 0
mov dword [eax + 8], 0
sete al
test ecx, ecx
sete dl
or dl, al
jne 0x10031838
call fcn.10039590
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10031862
lock dec dword [eax]
jne 0x10031862
lea eax, [esi + 0x14]
mov byte [esi + 7], 1
mov byte [esi + 8], 0
mov dword [esi + 0x308], 3
push eax
call fcn.10096500
add esp, 4
mov eax, dword [esi + 0x10]
lock dec dword [eax + 0xe4]
jne 0x10031899
mov dword [esi + 0xc], eax
mov dword [esi + 0x308], 0xa
mov eax, dword [esi + 0xc]
add eax, 0x40
push eax
call fcn.100098c0
mov eax, dword [esi + 0xc]
add esp, 4
sub eax, 0xffffff80
push eax
call fcn.1014c120
add esp, 4
mov eax, dword [esi + 0x10]
lock dec dword [eax]
jne 0x100318bb
lea eax, [esi + 0x10]
mov byte [esi + 6], 0
mov dword [esi + 0x308], 0
push eax
call fcn.100961e0
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov dword [ecx], eax
mov dword [ecx + 8], 0x3b9aca01
jmp 0x1003193b
mov ecx, dword [esi + 0x24]
movsd xmm0, qword [esi + 0x1c]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x7c], ecx
movsd qword [esi + 0x74], xmm0
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], 1
mov dword [esi + 0x70], eax
movzx eax, byte [0x10283b09]
push 4
push 0x18
call fcn.10013860
add esp, 8
test eax, eax
je 0x1003198c
movsd xmm1, qword [esi + 0x70]
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x68]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x2c]
movsd qword [eax + 8], xmm1
movaps xmm1, xmmword [esi + 0x50]
movsd qword [eax + 0x10], xmm0
movsd qword [eax], xmm2
movlps qword [ecx], xmm1
mov dword [ecx + 8], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x300]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x308], 2
push 0x24
push 4
call fcn.101cb670
add esp, 8
jmp 0x100319a2
mov dword [esi + 0x308], 5
push 0x1d
push 1
call fcn.101cb650
add esp, 8
jmp 0x100319a2
mov byte [esi + 0xb], 1
call fcn.101c45e0
jmp 0x100319a2
mov dword [esi + 0x308], 7
push 0x18
push 4
call fcn.101cb670
add esp, 8
ud2