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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
movsd xmm2, qword [edi + 0x18]
movsd xmm1, qword [edi + 0x10]
movsd xmm0, qword [edi + 0x20]
test byte [edx + 0x7c], 1
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x30], xmm1
movsd xmm2, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm2
jne 0x1002d2ff
movzx ebx, word [edi + 0x18]
movzx esi, bx
mov word [esp + 6], bx
lea eax, [esi - 0x73e]
cmp eax, 0x30
jae 0x1002d368
add eax, 0x9f
jmp 0x1002d37d
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [edx + 0x10], 0
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push 0
push 0
push eax
push edx
push ecx
call fcn.1002a150
add esp, 0x14
cmp dword [esp + 8], 0
mov esi, dword [esp + 0xc]
je 0x1002d358
test esi, esi
mov esi, 0xf
je 0x1002d358
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002d358
push 1
push eax
push dword [esp + 0x18]
call fcn.1001d520
add esp, 0xc
mov edi, dword [ebp + 0x10]
mov eax, ebx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
jmp 0x1002d4cb
lea ecx, [esi - 0x2b6]
mov eax, ebx
cmp ecx, 3
jae 0x1002d37d
add ecx, 0x2bb
mov eax, ecx
mov word [esp + 0x38], ax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [edx + 0x10], 0
lea ecx, [esp + 8]
push 0
push 0
mov ebx, eax
push eax
push edx
push ecx
call fcn.1002a150
add esp, 0x14
cmp dword [esp + 8], 0
mov eax, dword [esp + 0xc]
je 0x1002d3e2
test eax, eax
mov dword [esp + 0x1c], 0xf
je 0x1002d3e6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002d3e6
push 1
push eax
push dword [esp + 0x18]
call fcn.1001d520
add esp, 0xc
jmp 0x1002d3e6
mov dword [esp + 0x1c], eax
movsd xmm1, qword [edi + 8]
movsd xmm0, qword [edi]
movsd xmm2, qword [edi + 0x18]
mov ecx, dword [ebp + 0xc]
lea eax, [esi - 0x9f]
cmp eax, 0x30
movsd qword [esp + 0x28], xmm1
movsd xmm1, qword [edi + 0x10]
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [edi + 0x20]
movsd qword [esp + 0x40], xmm1
jae 0x1002d435
add eax, 0x73e
lea edi, [esp + 8]
jmp 0x1002d451
movzx eax, word [esp + 6]
add esi, 0xfffffd45
lea edi, [esp + 8]
cmp esi, 3
jae 0x1002d451
add esi, 0x2b6
mov eax, esi
mov word [esp + 0x38], ax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [ecx + 0x10], 0
push 0
push 0
push ebx
push ecx
push edi
call fcn.1002a150
add esp, 0x14
cmp dword [esp + 8], 0
mov ebx, dword [esp + 0xc]
je 0x1002d4a7
test ebx, ebx
mov ebx, 0xf
je 0x1002d4a7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002d4a7
push 1
push eax
push dword [esp + 0x18]
call fcn.1001d520
add esp, 0xc
mov esi, dword [ebp + 0xc]
cmp bl, 7
mov ecx, 6
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
cmovae ecx, ebx
cmp dword [esi + 0x78], 0x40
cmovne ecx, ebx
movzx esi, cl
mov cl, 4
mov dword [edi + 8], esi
mov esi, dword [ebp + 0x14]
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x18]
movsd xmm2, qword [esi + 0x10]
movsd xmm3, qword [esi]
movsd xmm4, qword [esi + 8]
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 0x18], xmm1
movsd qword [eax + 0x10], xmm2
movsd qword [eax + 8], xmm4
movsd qword [eax], xmm3
mov dword [eax + 0x28], 0
mov dword [eax + 0x38], 0
mov byte [eax + 0x3c], cl
mov byte [eax + 0x3d], dl
mov byte [eax + 0x3e], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret