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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4af686
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x34], 0
cmp qword [rax], 0
je 0x4af4b5
cmp dword [0x0063d910], 0
jne 0x4af475
movups xmmword [rax], xmm15
lea rdx, [rax + 8]
mov rsi, rdi
mov rdi, rdx
nop word [rax + rax]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0046307d
mov rbp, qword [rbp]
jmp 0x4af4b8
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], rcx
mov rbx, rax
lea rax, [0x00508b80]
call fcn.00412a40
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
jmp 0x4af4b8
mov rsi, rdi
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
cmp dword [0x0063d910], 0
jne 0x4af4ce
mov qword [rax], rbx
jmp 0x4af4d6
mov rdi, rax
call fcn.00462aa0
lea rdx, [rax + 0x18]
mov rdi, rsi
xor esi, esi
mov rax, rdx
call fcn.004aee60
mov rdx, qword [rsp + 0x70]
mov qword [rdx + 0x28], rax
test rbx, rbx
je 0x4af5a6
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x48], rcx
lea rax, [0x004feb00]
call fcn.0040c760
mov qword [rax + 8], 0x10
lea rcx, [0x00513f45]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
cmp dword [0x0063d910], 0
jne 0x4af53e
mov rdx, qword [rsp + 0x48]
mov qword [rax + 0x18], rdx
jmp 0x4af54c
lea rdi, [rax + 0x18]
mov rdx, qword [rsp + 0x48]
call fcn.00462a80
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x34], 0
movzx edx, word [rsp + 0x30]
movzx ebx, byte [rsp + 0x32]
movzx ecx, word [rsp + 0x34]
movzx edi, byte [rsp + 0x36]
movzx esi, byte [rsp + 0x37]
movzx r8d, byte [rsp + 0x38]
movzx r9d, byte [rsp + 0x39]
movzx r10d, word [rsp + 0x3a]
lea r11, [0x005405e8]
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], rax
mov eax, edx
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov byte [rdx + 0x24], 2
mov qword [rsp + 0x3c], 0
mov qword [rsp + 0x40], 0
movzx r11d, word [rdx + 0x18]
mov word [rsp + 0x3c], r11w
movzx r11d, word [rdx + 0x1a]
test r11w, 0x8000
setne byte [rsp + 0x3e]
movzx r11d, word [rdx + 0x1a]
shr r11w, 0xb
and r11d, 0xf
mov word [rsp + 0x40], r11w
movzx r11d, word [rdx + 0x1a]
test r11w, 0x400
setne byte [rsp + 0x42]
movzx r11d, word [rdx + 0x1a]
test r11w, 0x200
setne byte [rsp + 0x43]
movzx r11d, word [rdx + 0x1a]
test r11w, 0x100
setne byte [rsp + 0x44]
movzx r11d, word [rdx + 0x1a]
test r11w, 0x80
setne byte [rsp + 0x45]
movzx edx, word [rdx + 0x1a]
and edx, 0xf
mov word [rsp + 0x46], dx
mov rdx, qword [rsp + 0x3c]
mov r11d, dword [rsp + 0x44]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x38], r11d
movzx eax, word [rsp + 0x30]
movzx ebx, byte [rsp + 0x32]
movzx ecx, word [rsp + 0x34]
movzx edi, byte [rsp + 0x36]
movzx esi, byte [rsp + 0x37]
movzx r8d, byte [rsp + 0x38]
movzx r9d, byte [rsp + 0x39]
movzx r10d, word [rsp + 0x3a]
movups xmmword [rsp + 0x60], xmm15
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
call fcn.00460720
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
jmp fcn.004af400