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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
movzx eax, byte [rdx]
mov rbx, rcx
mov rcx, qword [0x0091c5f0]
mov r10d, dword [rcx + 0x28]
cmp r10d, eax
ja 0x479a80
sub eax, r10d
mov r10d, dword [rcx + 0x2c]
cmp r10d, eax
ja 0x479a10
sub eax, r10d
mov r10d, dword [rcx + 0x30]
cmp r10d, eax
ja 0x479b18
sub eax, r10d
mov r10d, dword [rcx + 0x34]
cmp r10d, eax
ja 0x479af0
sub eax, r10d
mov r10d, dword [rcx + 0x38]
cmp r10d, eax
ja 0x479bb0
sub eax, r10d
mov r10d, dword [rcx + 0x3c]
cmp r10d, eax
ja 0x479c00
sub eax, r10d
mov r10d, dword [rcx + 0x40]
cmp r10d, eax
ja 0x479c28
sub eax, r10d
mov r10d, dword [rcx + 0x44]
cmp r10d, eax
ja 0x479bd8
sub eax, r10d
mov r10d, dword [rcx + 0x48]
cmp r10d, eax
ja 0x479c70
sub eax, r10d
mov r10d, dword [rcx + 0x4c]
cmp r10d, eax
ja 0x479cb3
sub eax, r10d
mov r10d, dword [rcx + 0x50]
cmp r10d, eax
ja 0x479cd8
sub eax, r10d
mov r10d, dword [rcx + 0x54]
cmp r10d, eax
ja 0x479cf3
sub eax, r10d
mov r10d, dword [rcx + 0x58]
cmp r10d, eax
ja 0x479d1b
sub eax, r10d
mov r10d, dword [rcx + 0x5c]
cmp r10d, eax
ja 0x479db3
sub eax, r10d
mov r10d, dword [rcx + 0x60]
cmp r10d, eax
ja 0x479e04
sub eax, r10d
mov r10d, dword [rcx + 0x64]
cmp r10d, eax
ja 0x479e47
sub eax, r10d
mov r10d, dword [rcx + 0x68]
cmp r10d, eax
ja 0x479e76
sub eax, r10d
mov r10d, dword [rcx + 0x6c]
cmp r10d, eax
ja 0x479ed0
sub eax, r10d
mov r10d, dword [rcx + 0x70]
cmp r10d, eax
ja 0x479f17
sub eax, r10d
mov r10d, dword [rcx + 0x74]
cmp r10d, eax
ja 0x479f5d
sub eax, r10d
mov r10d, dword [rcx + 0x78]
cmp r10d, eax
ja 0x479fcc
sub eax, r10d
mov r10d, dword [rcx + 0x7c]
cmp r10d, eax
ja 0x479faf
sub eax, r10d
mov r10d, dword [rcx + 0x80]
cmp r10d, eax
ja 0x47a150
sub eax, r10d
mov r10d, dword [rcx + 0x84]
cmp r10d, eax
ja 0x47a10a
sub eax, r10d
mov r10d, dword [rcx + 0x88]
cmp r10d, eax
ja 0x47a0ea
sub eax, r10d
mov r10d, dword [rcx + 0x8c]
cmp r10d, eax
ja 0x47a0c8
sub eax, r10d
mov r10d, dword [rcx + 0x90]
cmp r10d, eax
ja 0x47a04a
mov r8d, dword [rcx + 0x94]
sub eax, r10d
cmp r8d, eax
ja 0x47a021
sub eax, r8d
cmp dword [rcx + 0x98], eax
jbe 0x479ce4
movzx r8d, byte [rdx + 1]
movzx eax, byte [rdx + 2]
mov word [r9 + 0x18], 0x1c
mov r10, qword [rbx + 0x20]
and r8d, 7
and eax, 7
lea rax, [r10 + rax*8]
lea rdi, [r10 + r8*8]
movq xmm4, rax
movq xmm0, rdi
punpcklqdq xmm0, xmm4
movups xmmword [r9], xmm0
movsxd rax, dword [rdx + 4]
mov qword [r9 + 0x10], rax
movzx eax, byte [rdx + 3]
cmp al, 0xdf
ja 0x47a012
and eax, 3
mov eax, dword [rcx + rax*4 + 0x154]
mov dword [r9 + 0x1c], eax
jmp 0x479a78
movzx r11d, byte [rdx + 1]
movzx r10d, byte [rdx + 2]
mov edi, 1
mov word [r9 + 0x18], di
mov eax, r11d
mov esi, r10d
and eax, 7
and esi, 7
mov rdi, qword [rbx + 0x20]
and r11d, 7
and r10d, 7
lea r11, [rdi + r11*8]
mov qword [r9], r11
movsxd r11, dword [rdx + 4]
mov qword [r9 + 0x10], r11
cmp eax, r10d
je 0x479b70
movzx esi, sil
lea r10, [rdi + rsi*8]
mov qword [r9 + 8], r10
movzx edx, byte [rdx + 3]
and edx, 3
mov edx, dword [rcx + rdx*4 + 0x154]
mov dword [r9 + 0x1c], edx
cdqe
mov dword [rbx + rax*4], r8d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
movzx eax, byte [rdx + 1]
xor r11d, r11d
movzx r10d, byte [rdx + 2]
mov word [r9 + 0x18], r11w
mov r11, qword [rbx + 0x20]
mov esi, eax
mov ecx, eax
and eax, 7
lea rax, [r11 + rax*8]
and esi, 7
and ecx, 7
mov qword [r9], rax
mov rax, r10
and eax, 7
lea rax, [r11 + rax*8]
mov qword [r9 + 8], rax
movzx eax, byte [rdx + 3]
sar eax, 2
and eax, 3
mov word [r9 + 0x1a], ax
cmp sil, 5
je 0x479b90
mov qword [r9 + 0x10], 0
movsxd rax, ecx
mov dword [rbx + rax*4], r8d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
movzx r11d, byte [rdx + 1]
movzx r10d, byte [rdx + 2]
mov edi, 3
mov word [r9 + 0x18], di
mov eax, r11d
mov esi, r10d
and eax, 7
and esi, 7
jmp 0x479a30
movzx r10d, byte [rdx + 1]
movzx ecx, byte [rdx + 2]
mov esi, 2
mov word [r9 + 0x18], si
mov eax, r10d
mov r11d, ecx
and eax, 7
and r11d, 7
mov rsi, qword [rbx + 0x20]
and r10d, 7
and ecx, 7
lea r10, [rsi + r10*8]
mov qword [r9], r10
cmp eax, ecx
je 0x479ba0
movzx r11d, r11b
lea rdx, [rsi + r11*8]
cdqe
mov qword [r9 + 8], rdx
mov dword [rbx + rax*4], r8d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, dword [rcx + 0x164]
lea rdi, [0x0088fdb8]
mov qword [r9 + 8], rdi
mov dword [r9 + 0x1c], edx
jmp 0x479a72
movsxd rax, dword [rdx + 4]
mov qword [r9 + 0x10], rax
jmp 0x479ad8
movsxd rdx, dword [rdx + 4]
mov qword [r9 + 0x10], rdx
lea rdx, [r9 + 0x10]
jmp 0x479b56
movzx r10d, byte [rdx + 1]
movzx ecx, byte [rdx + 2]
mov esi, 4
mov word [r9 + 0x18], si
mov eax, r10d
mov r11d, ecx
and eax, 7
and r11d, 7
jmp 0x479b38
movzx r11d, byte [rdx + 1]
movzx r10d, byte [rdx + 2]
mov edi, 7
mov word [r9 + 0x18], di
mov eax, r11d
mov esi, r10d
and eax, 7
and esi, 7
jmp 0x479a30
movzx r11d, byte [rdx + 1]
movzx r10d, byte [rdx + 2]
mov edi, 5
mov word [r9 + 0x18], di
mov eax, r11d
mov esi, r10d
and eax, 7
and esi, 7
jmp 0x479a30
movzx eax, byte [rdx + 1]
mov ecx, 6
movzx edx, byte [rdx + 2]
mov word [r9 + 0x18], cx
mov rcx, qword [rbx + 0x20]
mov r10, rax
and edx, 7
and r10d, 7
lea rdx, [rcx + rdx*8]
lea rdi, [rcx + r10*8]
movq xmm1, rdx
movq xmm0, rdi
punpcklqdq xmm0, xmm1
movups xmmword [r9], xmm0
mov dword [rbx + r10*4], r8d
jmp 0x479a78
movzx eax, byte [rdx + 1]
mov ecx, 8
movzx edx, byte [rdx + 2]
mov word [r9 + 0x18], cx
mov rcx, qword [rbx + 0x20]
mov r10, rax
and edx, 7
and r10d, 7
lea rdx, [rcx + rdx*8]
lea rdi, [rcx + r10*8]
movq xmm2, rdx
movq xmm0, rdi
punpcklqdq xmm0, xmm2
movups xmmword [r9], xmm0
mov dword [rbx + r10*4], r8d
jmp 0x479a78
movzx r11d, byte [rdx + 1]
movzx r10d, byte [rdx + 2]
mov edi, 9
mov word [r9 + 0x18], di
mov eax, r11d
mov esi, r10d
and eax, 7
and esi, 7
jmp 0x479a30
mov ecx, dword [rdx + 4]
lea rax, [rcx - 1]
test rax, rcx
jne 0x479d61
mov edi, 0x1d
mov word [r9 + 0x18], di
jmp 0x479a78
movzx eax, byte [rdx + 1]
mov rdx, qword [rbx + 0x20]
mov esi, 0xb
mov word [r9 + 0x18], si
mov rcx, rax
and ecx, 7
lea rdx, [rdx + rcx*8]
mov qword [r9], rdx
mov dword [rbx + rcx*4], r8d
jmp 0x479a78
movzx r10d, byte [rdx + 1]
mov r11d, 0xc
movzx ecx, byte [rdx + 2]
mov word [r9 + 0x18], r11w
mov r11, qword [rbx + 0x20]
mov eax, r10d
and r10d, 7
mov esi, ecx
and ecx, 7
lea r10, [r11 + r10*8]
and eax, 7
and esi, 7
mov qword [r9], r10
cmp eax, ecx
je 0x479ba0
movzx esi, sil
lea rdx, [r11 + rsi*8]
jmp 0x479b56
movzx eax, byte [rdx + 1]
mov edx, 4
mov dword [rsp + 0x50], r8d
mov word [r9 + 0x18], dx
mov rdx, qword [rbx + 0x20]
mov esi, eax
and eax, 7
mov qword [rsp + 0x58], r9
lea rax, [rdx + rax*8]
and esi, 7
mov qword [r9], rax
and esi, 7
call fcn.0047c250
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov qword [r9 + 0x10], rax
lea rax, [r9 + 0x10]
mov qword [r9 + 8], rax
mov dword [rbx + rsi*4], r8d
jmp 0x479a78
movzx r11d, byte [rdx + 1]
mov edi, 0xd
movzx r10d, byte [rdx + 2]
mov word [r9 + 0x18], di
mov rdi, qword [rbx + 0x20]
mov eax, r11d
and r11d, 7
mov esi, r10d
and r10d, 7
lea r11, [rdi + r11*8]
and eax, 7
and esi, 7
mov qword [r9], r11
movsxd r11, dword [rdx + 4]
mov qword [r9 + 0x10], r11
cmp eax, r10d
je 0x479b70
movzx r10d, sil
lea r10, [rdi + r10*8]
jmp 0x479a5c
movzx r10d, byte [rdx + 1]
movzx ecx, byte [rdx + 2]
mov esi, 0xe
mov word [r9 + 0x18], si
mov eax, r10d
mov r11d, ecx
and eax, 7
and r11d, 7
mov rsi, qword [rbx + 0x20]
and r10d, 7
and ecx, 7
lea r10, [rsi + r10*8]
mov qword [r9], r10
cmp eax, ecx
je 0x479e66
movzx edx, r11b
lea rdx, [rsi + rdx*8]
jmp 0x479b56
movzx r10d, byte [rdx + 1]
movzx ecx, byte [rdx + 2]
mov word [r9 + 0x18], 0xf
mov eax, r10d
mov r11d, ecx
and eax, 7
and r11d, 7
jmp 0x479e24
mov edi, dword [rdx + 4]
lea rdx, [r9 + 0x10]
mov qword [r9 + 0x10], rdi
jmp 0x479b56
movzx ecx, byte [rdx + 1]
movzx eax, byte [rdx + 2]
mov r10d, ecx
mov edx, eax
and ecx, 7
and eax, 7
and r10d, 7
and edx, 7
cmp ecx, eax
je 0x479ce4
mov r11, qword [rbx + 0x20]
movzx r10d, r10b
movzx edx, dl
movsxd rcx, ecx
mov word [r9 + 0x18], 0x10
lea rdi, [r11 + r10*8]
lea rdx, [r11 + rdx*8]
movq xmm0, rdi
movq xmm3, rdx
punpcklqdq xmm0, xmm3
movups xmmword [r9], xmm0
mov dword [rbx + rcx*4], r8d
jmp 0x479a72
movzx r8d, byte [rdx + 1]
mov rdx, qword [rbx + 0x20]
mov word [r9 + 0x18], 0x11
mov eax, r8d
mov rcx, r8
and eax, 7
and ecx, 7
sub eax, 4
add rcx, 4
cdqe
shl rcx, 4
add rax, 8
shl rax, 4
add rax, rdx
add rdx, rcx
and r8b, 4
cmove rax, rdx
mov qword [r9], rax
jmp 0x479a78
movzx eax, byte [rdx + 1]
movzx edx, byte [rdx + 2]
mov word [r9 + 0x18], 0x12
mov rcx, qword [rbx + 0x20]
and eax, 3
and edx, 3
add rax, 4
add rdx, 0xc
shl rax, 4
shl rdx, 4
add rax, rcx
add rdx, rcx
movq xmm0, rax
movq xmm4, rdx
punpcklqdq xmm0, xmm4
movups xmmword [r9], xmm0
jmp 0x479a78
movzx eax, byte [rdx + 1]
movzx r8d, byte [rdx + 2]
mov word [r9 + 0x18], 0x13
mov r10, qword [rbx + 0x20]
and eax, 3
add rax, 4
shl rax, 4
add rax, r10
mov qword [r9], rax
mov rax, r8
and eax, 7
lea rax, [r10 + rax*8]
mov qword [r9 + 8], rax
movzx eax, byte [rdx + 3]
and eax, 3
mov eax, dword [rcx + rax*4 + 0x154]
mov dword [r9 + 0x1c], eax
movsxd rax, dword [rdx + 4]
mov qword [r9 + 0x10], rax
jmp 0x479a78
movzx eax, byte [rdx + 1]
movzx r8d, byte [rdx + 2]
mov word [r9 + 0x18], 0x15
mov r10, qword [rbx + 0x20]
and eax, 3
add rax, 4
jmp 0x479f78
movzx eax, byte [rdx + 1]
movzx edx, byte [rdx + 2]
mov word [r9 + 0x18], 0x14
mov rcx, qword [rbx + 0x20]
and eax, 3
and edx, 3
add rax, 4
add rdx, 0xc
shl rax, 4
shl rdx, 4
add rax, rcx
add rdx, rcx
movq xmm0, rax
movq xmm5, rdx
punpcklqdq xmm0, xmm5
movups xmmword [r9], xmm0
jmp 0x479a78
mov eax, dword [rcx + 0x164]
mov dword [r9 + 0x1c], eax
jmp 0x479a78
movzx eax, byte [rdx + 2]
mov rcx, qword [rbx + 0x20]
mov word [r9 + 0x18], 0x1b
and eax, 7
lea rax, [rcx + rax*8]
mov qword [r9 + 8], rax
mov eax, dword [rdx + 4]
and eax, 0x3f
mov qword [r9 + 0x10], rax
jmp 0x479a78
mov word [r9 + 0x18], 0x1a
movzx eax, byte [rdx + 1]
mov rcx, qword [rbx + 0x20]
mov r10, rax
and r10d, 7
mov eax, dword [rbx + r10*4]
lea rcx, [rcx + r10*8]
mov qword [r9], rcx
mov word [r9 + 0x1a], ax
movzx ecx, byte [rdx + 3]
mov eax, 0x100
movsxd rdx, dword [rdx + 4]
sar ecx, 4
shl rax, cl
or rax, rdx
mov edx, pe_nt_image_headers64
shl rdx, cl
not rdx
and rax, rdx
mov qword [r9 + 0x10], rax
mov eax, 0xff00
shl rax, cl
mov dword [r9 + 0x1c], eax
mov dword [rbx], r8d
mov dword [rbx + 4], r8d
mov dword [rbx + 8], r8d
mov dword [rbx + 0xc], r8d
mov dword [rbx + 0x10], r8d
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x18], r8d
mov dword [rbx + 0x1c], r8d
jmp 0x479a78
movzx eax, byte [rdx + 1]
mov word [r9 + 0x18], 0x19
and eax, 3
add rax, 8
shl rax, 4
add rax, qword [rbx + 0x20]
mov qword [r9], rax
jmp 0x479a78
movzx eax, byte [rdx + 1]
movzx r8d, byte [rdx + 2]
mov word [r9 + 0x18], 0x18
mov r10, qword [rbx + 0x20]
and eax, 3
add rax, 8
jmp 0x479f78
movzx eax, byte [rdx + 1]
movzx edx, byte [rdx + 2]
mov word [r9 + 0x18], 0x17
mov rcx, qword [rbx + 0x20]
and eax, 3
and edx, 3
add rax, 8
add rdx, 0xc
shl rax, 4
shl rdx, 4
add rax, rcx
add rdx, rcx
movq xmm0, rax
movq xmm3, rdx
punpcklqdq xmm0, xmm3
movups xmmword [r9], xmm0
jmp 0x479a78
movzx eax, byte [rdx + 1]
and eax, 3
add rax, 4
shl rax, 4
add rax, qword [rbx + 0x20]
mov word [r9 + 0x18], 0x16
mov qword [r9], rax
jmp 0x479a78