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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x101badf4]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x18]
mov edx, ecx
push esi
push edi
mov dword [esp + 0x54], edx
movups xmm0, xmmword [eax]
mov eax, dword [edx + 0x2c]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x28]
sub ecx, dword [edx + 0x28]
mov edi, dword [esp + 0x24]
sub edi, eax
movd esi, xmm0
mov dword [esp + 0x48], ecx
sub esi, dword [edx + 0x28]
mov edx, dword [esp + 0x2c]
sub edx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 8
shr eax, 0x10
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
shr dword [esp + 0x14], 8
shr eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
shr dword [esp + 0x18], 8
shr eax, 0x10
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
shr dword [esp + 0x1c], 8
shr eax, 0x10
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x3c], edx
cmp eax, 1
jne 0x439017
mov eax, edx
mov dword [esp + 0x58], esi
sub eax, edi
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x3c]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp + 8]
movzx ecx, al
mov eax, dword [esp + 0x10]
shl cx, 8
mov word [esp + 0x60], cx
sar edx, 1
add edx, edi
movzx ecx, al
shl cx, 8
mov word [esp + 0x62], cx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x7c], edx
push 1
mov eax, dword [esp + 0x3c]
movzx eax, al
shl ax, 8
mov word [esp + 0x68], ax
xor eax, eax
mov word [esp + 0x6a], ax
mov eax, dword [ebp + 0xc]
movzx eax, al
shl ax, 8
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x18]
movzx eax, al
shl ax, 8
mov word [esp + 0x76], ax
mov eax, dword [esp + 0x44]
movzx eax, al
shl ax, 8
mov word [esp + 0x78], ax
xor eax, eax
mov word [esp + 0x7a], ax
mov eax, dword [ebp + 0x10]
movzx eax, al
shl ax, 8
mov word [esp + 0x84], ax
mov eax, dword [esp + 0x1c]
movzx eax, al
shl ax, 8
mov word [esp + 0x86], ax
mov eax, dword [esp + 0x48]
movzx eax, al
shl ax, 8
mov word [esp + 0x88], ax
xor eax, eax
mov word [esp + 0x8a], ax
mov eax, dword [ebp + 0x14]
movzx eax, al
shl ax, 8
mov word [esp + 0x94], ax
mov eax, dword [esp + 0x20]
movzx eax, al
shl ax, 8
mov word [esp + 0x96], ax
mov eax, dword [esp + 0x54]
movzx eax, al
shl ax, 8
mov word [esp + 0x98], ax
xor eax, eax
mov dword [esp + 0x24], eax
mov word [esp + 0x9a], ax
lea eax, [esp + 0x24]
push 2
push eax
push 4
lea eax, [esp + 0x68]
mov dword [esp + 0x6c], edi
push eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], 3
mov dword [esp + 0x3c], 2
mov dword [esp + 0x38], 1
push dword [eax + 0x24]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ecx
call dword [0x10129238]
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0050d7a4
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
jne 0x43906a
mov eax, ecx
mov dword [esp + 0x58], esi
sub eax, esi
mov dword [esp + 0x7c], edi
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp + 8]
movzx ecx, al
mov eax, dword [esp + 0x10]
shl cx, 8
mov word [esp + 0x60], cx
sar edx, 1
add edx, esi
movzx ecx, al
mov esi, dword [esp + 0x3c]
shl cx, 8
mov word [esp + 0x62], cx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], edx
push 0
jmp 0x438ee7
mov ecx, dword [esp + 0x9c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0050d7a4
mov esp, ebp
pop ebp
ret 0x18