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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call fcn.004097b0
mov rdx, qword [0x0041a170]
lea r11, [0x00400000]
xor r8d, r8d
xor r10b, r10b
mov r9d, r8d
lea esi, [r8 + 1]
test rdx, rdx
je 0x40836c
nop dword [rax]
cmp r9d, 0x19
jae 0x408367
mov eax, r9d
movzx r10d, r10b
mov eax, dword [r11 + rax*4 + 0x1a180]
cmp dword [rbx + 0x40], eax
cmove r10d, esi
inc r9d
mov eax, r9d
cmp rax, rdx
jb 0x408340
test r10b, r10b
jne 0x408375
mov eax, dword [0x0041a0ac]
mov dword [rbx + 0x40], eax
mov rdx, qword [0x0041a178]
xor cl, cl
test rdx, rdx
je 0x4083a9
cmp r8d, 0x19
jae 0x4083a5
mov eax, dword [r11 + r8*4 + 0x1a1c0]
cmp dword [rbx + 0x44], eax
movzx ecx, cl
cmove ecx, esi
inc r8d
mov eax, r8d
cmp rax, rdx
jb 0x408383
test cl, cl
jne 0x4083b2
mov eax, dword [0x0041a1fc]
mov dword [rbx + 0x44], eax
mov eax, dword [rbx + 8]
movups xmm0, xmmword [rbx + 0x5c]
mov dword [rdi], eax
mov eax, dword [rbx + 0xc]
movups xmm1, xmmword [rbx + 0x6c]
mov dword [rdi + 4], eax
mov eax, dword [rbx + 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx + 0x14]
mov dword [rdi + 0xc], eax
mov eax, dword [rbx + 0x18]
mov dword [rdi + 0x10], eax
mov eax, dword [rbx + 0x1c]
mov dword [rdi + 0x14], eax
mov eax, dword [rbx + 0x20]
mov dword [rdi + 0x18], eax
mov eax, dword [rbx + 0x24]
mov dword [rdi + 0x1c], eax
mov eax, dword [rbx + 0x28]
mov dword [rdi + 0x20], eax
mov eax, dword [rbx + 0x2c]
mov dword [rdi + 0x24], eax
mov eax, dword [rbx + 0x30]
mov dword [rdi + 0x28], eax
mov eax, dword [rbx + 0x38]
mov dword [rdi + 0x2c], eax
mov eax, dword [rbx + 0x40]
mov dword [rdi + 0x30], eax
mov eax, dword [rbx + 0x44]
mov dword [rdi + 0x34], eax
mov eax, dword [rbx + 0x48]
mov dword [rdi + 0x38], eax
mov eax, dword [rbx + 0x50]
mov dword [rdi + 0x3c], eax
mov eax, dword [rbx + 0x58]
mov dword [rdi + 0x40], eax
movzx eax, byte [rbx + 0x84]
mov byte [rdi + 0x11c], al
mov eax, dword [rbx + 0x88]
mov dword [rdi + 0x6c], eax
mov eax, dword [rbx + 0x8c]
movups xmmword [rdi + 0x44], xmm0
mov dword [rdi + 0x70], eax
movsd xmm0, qword [rbx + 0x7c]
mov eax, dword [rbx + 0x90]
mov dword [rdi + 0x74], eax
mov eax, dword [rbx + 0x94]
mov dword [rdi + 0x78], eax
mov eax, dword [rbx + 0x98]
mov dword [rdi + 0x7c], eax
mov eax, dword [rbx + 0x114]
mov dword [rdi + 0xf8], eax
mov eax, dword [rbx + 0x118]
movups xmmword [rdi + 0x54], xmm1
mov dword [rdi + 0xfc], eax
movups xmm1, xmmword [rbx + 0xac]
mov eax, dword [rbx + 0x11c]
movsd qword [rdi + 0x64], xmm0
movups xmm0, xmmword [rbx + 0x9c]
mov dword [rdi + 0x100], eax
mov eax, dword [rbx + 0x120]
movups xmmword [rdi + 0x80], xmm0
mov dword [rdi + 0x104], eax
movsd xmm0, qword [rbx + 0xbc]
mov eax, dword [rbx + 0x124]
movups xmmword [rdi + 0x90], xmm1
mov dword [rdi + 0x108], eax
movups xmm1, xmmword [rbx + 0xd4]
mov eax, dword [rbx + 0x128]
movsd qword [rdi + 0xa0], xmm0
movups xmm0, xmmword [rbx + 0xc4]
movups xmmword [rdi + 0xa8], xmm0
movsd xmm0, qword [rbx + 0xe4]
movups xmmword [rdi + 0xb8], xmm1
movups xmm1, xmmword [rbx + 0xfc]
movsd qword [rdi + 0xc8], xmm0
movups xmm0, xmmword [rbx + 0xec]
movups xmmword [rdi + 0xd0], xmm0
movsd xmm0, qword [rbx + 0x10c]
movups xmmword [rdi + 0xe0], xmm1
movsd qword [rdi + 0xf0], xmm0
movsd xmm0, qword [rbx + 0x144]
mov rsi, qword [rsp + 0x38]
mov dword [rdi + 0x10c], eax
mov eax, dword [rbx + 0x12c]
mov dword [rdi + 0x110], eax
mov eax, dword [rbx + 0x130]
mov dword [rdi + 0x114], eax
mov eax, dword [rbx + 0x134]
mov dword [rdi + 0x118], eax
mov eax, dword [rbx + 0x138]
mov dword [rdi + 0x120], eax
mov eax, dword [rbx + 0x13c]
mov dword [rdi + 0x124], eax
mov eax, dword [rbx + 0x140]
mov dword [rdi + 0x128], eax
mov eax, dword [rbx + 0x14c]
movsd qword [rdi + 0x12c], xmm0
movsd xmm0, qword [rbx + 0x150]
mov dword [rdi + 0x134], eax
mov eax, dword [rbx + 0x158]
movsd qword [rdi + 0x138], xmm0
movsd xmm0, qword [rbx + 0x15c]
mov dword [rdi + 0x140], eax
mov eax, dword [rbx + 0x164]
movsd qword [rdi + 0x144], xmm0
mov dword [rdi + 0x14c], eax
mov rax, qword [rbx + 0x168]
mov qword [rdi + 0x150], rax
movzx eax, byte [rbx + 0x170]
mov byte [rdi + 0x158], al
mov eax, dword [rbx + 0x174]
mov dword [rdi + 0x15c], eax
mov eax, dword [rbx + 0x178]
mov dword [rdi + 0x160], eax
mov eax, dword [rbx + 0x17c]
mov rbx, qword [rsp + 0x30]
mov dword [rdi + 0x164], eax
mov rax, rdi
add rsp, 0x20
pop rdi
ret