Function at 0x1003ae10
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], 0x1003cb30
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.100b9c50
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 [0x10284b49]
push 4
push 0x24
call fcn.10013770
add esp, 8
test eax, eax
je 0x1003b26f
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 0x1003b2c0
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 [0x10284b49]
push 1
push 0x1d
call fcn.10013770
add esp, 8
test eax, eax
mov dword [esi + 0x28], eax
je 0x1003b287
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.10195a20
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.10065c90
add esp, 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1003b0ca
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.100bd9c0
add esp, 0x14
cmp byte [esi + 0x68], 0
jne 0x1003b29f
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x1003b1ea
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 0x1003b097
lea eax, [esi + 0x1c]
mov dword [esi + 0x308], 8
push eax
call fcn.10006c40
add esp, 4
mov eax, dword [esi + 0x20]
lock dec dword [eax]
jne 0x1003b180
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.1006c140
add esp, 4
jmp 0x1003b180
movsd xmm0, qword [esi + 0x3c]
lea edx, [esi + 0x68]
xor ecx, ecx
mov byte [esi + 3], 1
mov byte [esi + 4], 1
mov byte [esi + 5], 0
movsd qword [esi + 0x68], xmm0
call fcn.100250c0
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003b180
mov dword [esi + 0xc], eax
add eax, 0x20
mov dword [esi + 0x308], 9
push eax
call fcn.1014f3a0
add esp, 4
mov ecx, eax
and ecx, 0xa
cmp ecx, 8
jne 0x1003b130
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 0x1003b156
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 0x1003b156
call fcn.100684d0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003b180
lock dec dword [eax]
jne 0x1003b180
lea eax, [esi + 0x14]
mov byte [esi + 7], 1
mov byte [esi + 8], 0
mov dword [esi + 0x308], 3
push eax
call fcn.1006bf60
add esp, 4
mov eax, dword [esi + 0x10]
lock dec dword [eax + 0xe4]
jne 0x1003b1b7
mov dword [esi + 0xc], eax
mov dword [esi + 0x308], 0xa
mov eax, dword [esi + 0xc]
add eax, 0x40
push eax
call fcn.10013600
mov eax, dword [esi + 0xc]
add esp, 4
sub eax, 0xffffff80
push eax
call fcn.1014e800
add esp, 4
mov eax, dword [esi + 0x10]
lock dec dword [eax]
jne 0x1003b1d9
lea eax, [esi + 0x10]
mov byte [esi + 6], 0
mov dword [esi + 0x308], 0
push eax
call fcn.1006ab40
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov dword [ecx], eax
mov dword [ecx + 8], 0x3b9aca01
jmp 0x1003b259
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 [0x10284b49]
push 4
push 0x18
call fcn.10013770
add esp, 8
test eax, eax
je 0x1003b2aa
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.101cc679
add esp, 8
jmp 0x1003b2c0
mov dword [esi + 0x308], 5
push 0x1d
push 1
call fcn.101cc661
add esp, 8
jmp 0x1003b2c0
mov byte [esi + 0xb], 1
call fcn.101c6820
jmp 0x1003b2c0
mov dword [esi + 0x308], 7
push 0x18
push 4
call fcn.101cc679
add esp, 8
ud2