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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov ebx, dword [ebp + 0xc]
lea edi, [esp + 8]
push dword [ebp + 0x10]
push edi
call fcn.1005943e
add esp, 8
mov edx, dword [edi]
cmp edx, 2
jne 0x1003e380
movsd xmm0, qword [esp + 0xc]
lea eax, [esp + 0x50]
movsd qword [eax], xmm0
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp], 0
call fcn.10055d76
add esp, 0xc
mov dword [esi + 4], eax
mov dword [esi], 2
mov edx, dword [ebp + 0x18]
cmp byte [edx + 0x10], 2
je 0x1003e357
lea eax, [edx + 0xc]
mov ecx, dword [edx]
push dword [edx + 8]
push dword [edx + 4]
push eax
call dword [ecx + 0xc]
add esp, 0xc
mov eax, dword [esp + 4]
lock dec dword [eax]
jne 0x1003e36c
lea eax, [ebp + 0x14]
push eax
call fcn.10019f02
add esp, 4
mov ecx, dword [ebp + 0x10]
call fcn.1002bf46
mov ecx, ebx
call fcn.1002b400
jmp 0x1003e4df
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x78], ecx
mov edi, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [ebx]
movsd qword [esp + 0x70], xmm0
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x60], ecx
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x50], xmm0
movzx ecx, byte [eax]
mov ebx, dword [eax + 1]
mov dword [esp + 0x24], ebx
cmp ecx, 2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
je 0x1003e3e0
test ecx, ecx
jne 0x1003e3eb
mov al, 1
mov dword [esp], eax
jmp 0x1003e3e7
mov dword [esp], 0
xor ebx, ebx
jmp 0x1003e406
mov ecx, dword [eax + 0xd]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax + 5]
movsd qword [esp + 8], xmm0
mov bl, 1
mov dword [esp], 0
lea edi, [esp + 0x70]
push edi
call fcn.100332a4
add esp, 4
mov ecx, dword [esp]
mov byte [eax + 0x41], cl
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x42], ecx
mov byte [eax + 0x46], bl
mov dword [eax + 0x47], ecx
movsd xmm0, qword [esp + 8]
movsd qword [eax + 0x4b], xmm0
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x53], ecx
push edi
call fcn.100332a4
add esp, 4
mov bl, byte [ebp + 0x20]
mov byte [eax + 0x57], bl
push edi
call fcn.100332a4
add esp, 4
xor ecx, ecx
mov byte [eax + 0x40], cl
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 8], xmm0
movsd xmm0, qword [edi]
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x1c], eax
movsd qword [esp + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esi + 0x14], xmm0
mov dword [esi + 0x28], 0x3b9aca00
movups xmm0, xmmword [esp + 8]
movups xmmword [esi + 0x2c], xmm0
movsd xmm0, qword [esp + 0x18]
movsd qword [esi + 0x3c], xmm0
mov eax, dword [esp + 4]
mov dword [esi + 0x44], eax
mov byte [esi + 0x48], cl
mov byte [esi + 0x49], bl
mov al, byte [ebp + 0x24]
mov byte [esi + 0x4a], al
mov ecx, dword [ebp + 0x10]
call fcn.1002bf46
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret