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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov edi, edx
mov dword [esp + 0x7c], ecx
push dword [edx + 8]
push dword [edx + 4]
call fcn.004e54f0
add esp, 8
mov cl, 2
test eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x64], ecx
je 0x65e572
movzx ebx, byte [ebp + 8]
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], edi
nop word cs:[eax + eax]
nop
push dword [edi]
call fcn.004e6380
add esp, 4
test al, 1
je 0x65e572
movzx eax, dl
push eax
mov edi, esi
push esi
call fcn.004e6b30
add esp, 8
mov ecx, dword [esp + 0x24]
movzx eax, byte [esp + 0x28]
movzx esi, word [esp + 0x29]
cmp ecx, 2
jne 0x65e5fe
cmp al, 0x15
jne 0x65e572
shl esi, 8
or esi, 0x15
push esi
call fcn.004e69b0
add esp, 4
cmp al, bl
ja 0x65e572
push esi
call fcn.004e69b0
add esp, 4
cmp al, bl
je 0x65e644
mov esi, edi
mov ecx, edi
mov edi, dword [esp + 0x1c]
mov edx, edi
call fcn.00662380
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65e844
push dword [edi + 8]
push dword [edi + 4]
call fcn.004e54f0
add esp, 8
test eax, eax
jne 0x65e4e0
xor esi, esi
xor edi, edi
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
movzx ebx, si
shl ecx, 0x18
and edi, 0xffffff
mov esi, dword [esp + 0x60]
shl ebx, 8
or edi, ecx
mov ecx, 0x18
shl eax, 0x18
or ebx, eax
movzx eax, byte [esp + 0x1c]
or eax, ebx
cmp byte [esp + 0x64], 2
movzx ebx, byte [esp + 0xc]
cmovne ecx, ebx
mov ebx, dword [esp + 0x7c]
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], edi
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
movups xmmword [ebx + 0x14], xmm0
movq qword [ebx + 0x24], xmm1
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], esi
mov byte [ebx + 0x34], cl
mov word [ebx + 0x35], dx
shr edx, 0x10
mov byte [ebx + 0x37], dl
jmp 0x65eb56
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
movzx ebx, byte [esp + 0x2b]
movups xmm0, xmmword [esp + 0x38]
movsd xmm1, qword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
mov ecx, edi
mov dword [esp + 0x58], edx
mov edx, ebx
mov ebx, eax
shr ecx, 0x18
jmp 0x65eafc
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
mov edx, esi
call fcn.00661d50
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65e89a
movzx eax, byte [esp + 0x2c]
mov ah, byte [esp + 0x2d]
movzx ecx, byte [esp + 0x2e]
cmp al, 0x15
mov bl, 0x17
jne 0x65e90c
mov edx, ecx
and dl, 1
je 0x65e939
mov al, 2
lea ecx, [esp + 0x24]
mov edx, esi
mov dword [esp + 0x64], eax
push dword [esp + 0x28]
call fcn.0065ff50
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65e962
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x24]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.006614f0
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65e9a5
mov esi, dword [esp + 0x28]
push 9
push dword [esp + 0x30]
push edi
call fcn.004e6920
add esp, 0xc
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65e9d0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x80]
push esi
call fcn.0065fe40
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65ea10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x6c]
call fcn.0065f680
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65ea10
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [esp + 0x3c]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
push edi
push dword [esp + 0x74]
call fcn.004e54f0
add esp, 8
test eax, eax
je 0x65e7e9
mov ebx, dword [esp + 0x6c]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004e54f0
add esp, 8
test eax, eax
je 0x65e7e9
mov ebx, dword [ebx]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004e54f0
add esp, 8
test eax, eax
je 0x65e7e9
push dword [ebx]
call fcn.004e6380
add esp, 4
test al, 1
jne 0x65ec22
mov byte [esp + 0x9c], 0x17
xor ebx, ebx
mov edx, dword [esp + 0x9c]
movd xmm1, dword [esp + 0x14]
movd xmm0, ecx
cmp dl, 0x18
punpckldq xmm1, xmm0
jne 0x65eb67
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
movaps xmm0, xmmword [esp + 0xe0]
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x18], edx
jmp 0x65ea3f
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
movzx edi, word [esp + 0x34]
mov ebx, dword [esp + 0x28]
movups xmm0, xmmword [esp + 0x38]
movsd xmm1, qword [esp + 0x48]
movzx ecx, byte [esp + 0x37]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x36]
mov esi, ebx
mov edx, ebx
shr esi, 8
shr edx, 0x18
shl eax, 0x10
or edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
jmp 0x65eafc
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
movzx ebx, byte [esp + 0x2d]
mov bh, byte [esp + 0x2e]
movups xmm0, xmmword [esp + 0x38]
movq xmm1, qword [esp + 0x48]
movzx ecx, byte [esp + 0x2f]
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp + 0x10], edi
and edi, 0xff000000
shr eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
movzx eax, byte [esp + 0x2c]
mov dword [esp + 0x14], eax
mov al, 2
mov dword [esp + 0x64], eax
mov al, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
jmp 0x65ea92
mov dl, 1
mov dword [esp + 0x10], eax
mov al, 2
mov dword [esp + 0x20], ecx
xor edi, edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x18], edx
mov dl, 0x13
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
jmp 0x65ea92
mov dword [esp + 0x10], eax
mov al, 2
mov dl, 0x13
mov dword [esp + 0x20], ecx
xor edi, edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], eax
mov al, 1
mov dword [esp + 0x14], edx
jmp 0x65ea8e
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
movups xmm0, xmmword [esp + 0x38]
movq xmm1, qword [esp + 0x48]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], ebx
shr edi, 8
mov dword [esp + 0x58], ecx
mov eax, esi
jmp 0x65ea58
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
movups xmm0, xmmword [esp + 0x38]
movq xmm1, qword [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov edi, edx
mov dword [esp + 0x14], edx
jmp 0x65e9f9
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
movups xmm0, xmmword [esp + 0x38]
movq xmm1, qword [esp + 0x48]
mov dword [esp + 0x18], eax
mov ecx, edi
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
shr edi, 8
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, esi
mov esi, dword [esp + 0x50]
jmp 0x65ea50
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
movups xmm0, xmmword [esp + 0x38]
movq xmm1, qword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov ebx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], eax
shr edi, 8
mov ebx, ecx
mov eax, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], esi
mov ebx, edi
mov ecx, eax
mov esi, edi
mov edi, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
shr ecx, 0x10
shr ebx, 0x10
and edi, 0xff000000
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov ebx, esi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov al, 1
mov dword [esp + 0x18], eax
movzx eax, bh
movzx ecx, cl
movzx ebx, bl
shl ecx, 0x18
shl eax, 0x10
shl ebx, 8
or eax, ecx
or ebx, eax
movzx eax, byte [esp + 0x14]
or eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x20]
movzx ecx, bh
shl ecx, 8
shl eax, 0x10
or ecx, edi
mov edi, dword [esp + 0x1c]
or ecx, eax
movzx eax, bl
or eax, ecx
mov dword [esp + 0x20], eax
mov eax, edi
mov esi, edi
mov ebx, edi
shr eax, 0x18
shr esi, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov ecx, eax
mov edi, eax
shr ecx, 0x18
cmp byte [esp + 0x18], 0
je 0x65eb5e
mov edx, dword [esp + 0x10]
movzx eax, dl
movzx edx, si
movzx ecx, cl
and edi, 0xffffff
mov esi, dword [esp + 0x14]
shl eax, 0x18
shl edx, 8
shl ecx, 0x18
or edx, eax
movzx eax, bl
or edi, ecx
mov ecx, dword [esp + 0x7c]
or eax, edx
mov edx, dword [esp + 0x60]
mov dword [ecx], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x58]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x10], edi
movups xmmword [ecx + 0x14], xmm0
movq qword [ecx + 0x24], xmm1
mov dword [ecx + 0x2c], esi
mov dword [ecx + 0x30], edx
mov byte [ecx + 0x34], 0x19
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x1c], ebx
jmp 0x65e584
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp + 0xc], edx
movdqa xmmword [esp + 0xf0], xmm1
push esi
push ebx
call fcn.004e54f0
add esp, 8
test eax, eax
je 0x65ebce
push esi
push ebx
call fcn.004e54f0
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov eax, esi
movaps xmm0, xmmword [esp + 0xe0]
mov esi, dword [esp + 0x58]
movdqa xmm1, xmmword [esp + 0xf0]
xor edi, edi
mov dword [esp + 0x14], 0x15
mov dword [esp + 0x18], 1
jmp 0x65ea50
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
push esi
push ebx
call fcn.004e54f0
add esp, 8
test eax, eax
je 0x65ecbf
push esi
push ebx
call fcn.004e54f0
add esp, 8
movaps xmm0, xmmword [esp + 0xe0]
movdqa xmm1, xmmword [esp + 0xf0]
mov dword [esp + 0xc], eax
mov al, 0x15
mov dword [esp + 0x18], 1
mov edx, esi
mov dword [esp + 0x14], eax
jmp 0x65e99e
movzx eax, dl
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004e6b30
add esp, 8
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65ed25
lea ecx, [esp + 0x24]
lea edx, [esp + 0x6c]
call fcn.00661a60
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65eda4
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x6c]
push dword [esp + 0x28]
call fcn.006625e0
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x65eda4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x94], eax
mov eax, esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], edx
mov ebx, edx
mov word [esp + 0x9c], ax
shr eax, 0x10
mov byte [esp + 0x9e], al
jmp 0x65e7f3
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0xe0]
movdqa xmm1, xmmword [esp + 0xf0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x64], 0
mov eax, ebx
mov edi, ebx
shr edx, 8
shr eax, 0x10
shr edi, 0x18
mov esi, eax
mov eax, dword [esp + 0x20]
mov ch, ah
mov cl, al
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr eax, 0x10
mov dword [esp + 0x20], eax
mov eax, esi
and edi, 0xff000000
mov ah, al
mov al, bh
mov dword [esp + 0x14], ebx
mov ebx, eax
jmp 0x65ea92
movsd xmm1, qword [esp + 0x33]
movsd xmm2, qword [esp + 0x3b]
movsd xmm0, qword [esp + 0x2b]
movzx ecx, word [esp + 0x28]
movzx edx, byte [esp + 0x2a]
movsd qword [esp + 0x9b], xmm1
movsd xmm1, qword [esp + 0x43]
movsd qword [esp + 0xa3], xmm2
movsd xmm2, qword [esp + 0x4b]
movsd qword [esp + 0x93], xmm0
movsd qword [esp + 0xab], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [esp + 0xb3], xmm2
movsd qword [esp + 0xb8], xmm1
mov dword [esp + 0x8c], eax
mov byte [esp + 0x92], dl
mov word [esp + 0x90], cx
jmp 0x65ee81
movsd xmm1, qword [esp + 0x40]
movzx edx, byte [esp + 0x36]
movzx ecx, word [esp + 0x34]
movsd xmm0, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x48]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
movsd qword [esp + 0xc8], xmm1
movsd xmm1, qword [esp + 0x50]
shl edx, 0x10
movsd qword [esp + 0xd0], xmm2
movsd qword [esp + 0xc0], xmm0
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x98], ebx
mov edi, dword [esp + 0x74]
or ecx, edx
movzx edx, byte [esp + 0x37]
movsd xmm3, qword [esp + 0xc0]
movsd xmm2, qword [esp + 0xd0]
mov word [esp + 0x9c], cx
shr ecx, 0x10
mov byte [esp + 0x9e], cl
movsd qword [esp + 0xd8], xmm1
movsd xmm1, qword [esp + 0xc8]
mov byte [esp + 0x9f], dl
movsd qword [esp + 0xa0], xmm3
movsd qword [esp + 0xb0], xmm2
movsd qword [esp + 0xa8], xmm1
movsd xmm1, qword [esp + 0xd8]
movsd qword [esp + 0xb8], xmm1
lea eax, [esp + 0x8c]
push edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004e4280
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], ecx
jne 0x65eecd
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], edi
jmp 0x65e7fa
movups xmm0, xmmword [esp + 0x38]
movq xmm1, qword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov ecx, ebx
jmp 0x65ea3f