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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x497366
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 0x497195
cmp dword [0x00639510], 0
jne 0x497155
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.0046369d
mov rbp, qword [rbp]
jmp 0x497198
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], rcx
mov rbx, rax
lea rax, [0x005045e0]
call fcn.00412f60
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
jmp 0x497198
mov rsi, rdi
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
cmp dword [0x00639510], 0
jne 0x4971ae
mov qword [rax], rbx
jmp 0x4971b6
mov rdi, rax
call fcn.004630c0
lea rdx, [rax + 0x18]
mov rdi, rsi
xor esi, esi
mov rax, rdx
call fcn.00496b40
mov rdx, qword [rsp + 0x70]
mov qword [rdx + 0x28], rax
test rbx, rbx
je 0x497286
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x48], rcx
lea rax, [0x004fae60]
call fcn.0040cf60
mov qword [rax + 8], 0x10
lea rcx, [0x0050fccb]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
cmp dword [0x00639510], 0
jne 0x49721e
mov rdx, qword [rsp + 0x48]
mov qword [rax + 0x18], rdx
jmp 0x49722c
lea rdi, [rax + 0x18]
mov rdx, qword [rsp + 0x48]
call fcn.004630a0
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, [0x0053b5c8]
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.00460d40
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
jmp fcn.004970e0