Function at 0x59c600
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x308
mov eax, 0x20
mov rsi, qword [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
mov r9, qword [rcx + 0x38]
mov r12, qword [rcx]
mov r10, qword [rcx + 0x20]
mov r11, qword [rcx + 0x28]
mov r15, qword [rcx + 0x48]
mov r13, qword [rcx + 8]
mov r14, qword [rcx + 0x40]
mov qword [rsp + 0x360], r8
mov r8, qword [rcx + 0x30]
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], r9
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0x100], r8
mov qword [rsp + 0x108], r9
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r13
mov qword [rsp + 0xa0], r10
mov qword [rsp + 0xa8], r11
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xf0], r10
mov qword [rsp + 0xf8], r11
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x128], r13
vmovdqu32 xmm4, xmmword [rcx]
vmovdqu xmm5, xmmword [rdx + 0x20]
mov rcx, qword [rdx + 0x10]
mov rbx, qword [rdx + 0x18]
mov qword [rsp + 0x150], r8
mov qword [rsp + 0x158], r9
mov qword [rsp + 0x1b0], r8
mov qword [rsp + 0x1b8], r9
mov r8, qword [rdx]
mov r9, qword [rdx + 8]
vmovups xmmword [rsp + 0x170], xmm4
vmovups xmmword [rsp + 0x1e0], xmm5
vmovdqu xmm4, xmmword [rdx + 0x30]
vmovdqu xmm5, xmmword [rdx + 0x40]
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x168], r15
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x198], rdi
vmovups xmmword [rsp + 0x1f0], xmm4
vmovups xmmword [rsp + 0x200], xmm5
mov qword [rsp + 0x140], r10
mov qword [rsp + 0x148], r11
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], r13
mov qword [rsp + 0x1a0], r10
mov qword [rsp + 0x1a8], r11
mov qword [rsp + 0x1c0], r8
mov qword [rsp + 0x1c8], r9
mov qword [rsp + 0x1d0], rcx
mov qword [rsp + 0x1d8], rbx
vmovdqu xmm3, xmmword [rdx + 0x50]
vmovdqu xmm4, xmmword [rdx + 0x60]
vmovdqu xmm5, xmmword [rdx + 0x70]
vmovups xmmword [rsp + 0x210], xmm3
vmovups xmmword [rsp + 0x220], xmm4
vmovdqu xmm3, xmmword [rdx + 0x80]
vmovdqu xmm4, xmmword [rdx + 0x90]
vmovups xmmword [rsp + 0x230], xmm5
vmovups xmmword [rsp + 0x240], xmm3
vmovdqu xmm5, xmmword [rdx + 0xa0]
vmovdqu xmm3, xmmword [rdx + 0xb0]
vmovups xmmword [rsp + 0x250], xmm4
vmovdqu xmm4, xmmword [rdx + 0xc0]
vmovups xmmword [rsp + 0x260], xmm5
vmovups xmmword [rsp + 0x270], xmm3
vmovdqu xmm5, xmmword [rdx + 0xd0]
vmovdqu xmm3, xmmword [rdx + 0xe0]
vmovups xmmword [rsp + 0x280], xmm4
vmovdqu xmm4, xmmword [rdx + 0xf0]
lea r15, [rsp + 0x80]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x2c0], r8
mov qword [rsp + 0x2c8], r9
mov qword [rsp + 0x2d0], rcx
mov qword [rsp + 0x2d8], rbx
vmovups xmmword [rsp + 0x290], xmm5
vmovups xmmword [rsp + 0x2a0], xmm3
vmovups xmmword [rsp + 0x2b0], xmm4
xor esi, esi
lea rbp, [rsp + 0x2e0]
lea rdi, [rsp + 0x1c0]
mov r15d, eax
jmp 0x59c8e4
dec r15d
je 0x59caee
vzeroupper
mov rax, qword [rsp + 0x28]
lea rdx, [rdi + rsi]
lea rcx, [rax + rsi]
mov r8, rbp
call fcn.0059c3c0
vmovdqu8 ymm0, ymmword [rsp + 0x2e0]
mov edx, dword [rsp + 0x2e0]
vpmovzxbw ymm2, xmm0
vpmovzxwd ymm1, xmm2
vextracti128 xmm0, ymm0, 1
vextracti128 xmm2, ymm2, 1
vpmovzxbw ymm0, xmm0
vpmovzxwd ymm2, xmm2
vpaddd ymm1, ymm1, ymm2
vpmovzxwd ymm2, xmm0
vextracti128 xmm0, ymm0, 1
vpmovzxwd ymm0, xmm0
vpaddd ymm0, ymm2, ymm0
vpaddd ymm0, ymm1, ymm0
vmovdqu64 xmm1, xmm0
vextracti128 xmm0, ymm0, 1
vpaddd xmm0, xmm1, xmm0
vpsrldq xmm1, xmm0, 8
vpaddd xmm0, xmm0, xmm1
vpsrldq xmm1, xmm0, 4
vpaddd xmm0, xmm0, xmm1
vmovd eax, xmm0
movzx esi, al
lea rbx, [rdi + rsi]
xor dword [rbx], edx
mov r14, rsi
mov edx, dword [rsp + 0x2e4]
xor dword [rbx + 4], edx
mov edx, dword [rsp + 0x2e8]
xor dword [rbx + 8], edx
mov edx, dword [rsp + 0x2ec]
xor dword [rbx + 0xc], edx
mov edx, dword [rsp + 0x2f0]
xor dword [rbx + 0x10], edx
mov edx, dword [rsp + 0x2f4]
xor dword [rbx + 0x14], edx
mov edx, dword [rsp + 0x2f8]
xor dword [rbx + 0x18], edx
mov edx, dword [rsp + 0x2fc]
xor dword [rbx + 0x1c], edx
and eax, 0xe0
jne 0x59ca6a
lea ecx, [rsi + 0x100]
add rcx, rdi
cmp esi, 0x20
ja 0x59cb70
mov r11d, 0x20
sub r11d, esi
mov eax, r11d
mov edx, r11d
and eax, 3
shr edx, 2
je 0x59ca48
lea r8d, [rdx - 1]
test edx, edx
lea r10, [r8*4 + 4]
mov edx, 4
cmove r10, rdx
mov edx, r10d
cmp r10d, 0x20
jae 0x59cb80
and r10d, 0x10
jne 0x59d1ec
test dl, 8
jne 0x59d209
test dl, 4
jne 0x59d21e
test edx, edx
je 0x59ca48
movzx r8d, byte [rbx]
mov byte [rcx], r8b
test dl, 2
jne 0x59d319
nop dword [rax]
test eax, eax
je 0x59ca6a
mov edx, r11d
sub edx, eax
cmp edx, r11d
jae 0x59ca6a
dec eax
add rcx, rdx
lea r8, [rax + 1]
add rdx, rbx
vzeroupper
call sub.msvcrt.dll_memcpy
mov r12d, 0x100
sub r12d, r14d
cmp r12d, 0x1f
ja 0x59c8d8
lea r13d, [r14 - 0xe0]
mov eax, r13d
shr eax, 2
je 0x59caa9
dec eax
lea rdx, [rsp + 0x2c0]
lea r8, [rax*4 + 4]
mov rcx, rdi
vzeroupper
call sub.msvcrt.dll_memmove
mov edx, r13d
and edx, 3
je 0x59c8d8
mov eax, r13d
sub eax, edx
cmp r13d, eax
jbe 0x59c8d8
sub edx, r13d
lea r8d, [r14 + rdx - 0xe1]
lea rcx, [rdi + rax]
lea rdx, [rsp + rax + 0x2c0]
inc r8
vzeroupper
call sub.msvcrt.dll_memmove
dec r15d
jne 0x59c8e1
mov dword [rsp + 0x38], r15d
mov r15, qword [rsp + 0x28]
cmp r12d, 0x1f
jbe 0x59cc2b
lea rax, [rbx + 0x20]
cmp r15, rax
jae 0x59cb1c
lea rax, [rsp + 0xa0]
cmp rbx, rax
jb 0x59d233
vmovdqu32 ymm5, ymmword [rbx]
vpxor ymm0, ymm5, ymmword [rsp + 0x80]
vmovdqu32 ymmword [rbx], ymm0
mov rax, qword [rsp + 0x360]
vmovdqu xmm5, xmmword [rbx]
mov rdi, qword [rsp + 0x360]
vmovups xmmword [rax], xmm5
mov rdx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x18], rdx
mov qword [rdi + 0x10], rax
vzeroupper
add rsp, 0x308
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 8
mov r11d, 0x20
jmp 0x59c9f0
mov rdx, qword [rbx]
mov r8d, r10d
mov qword [rcx], rdx
lea rdx, [rcx + r8 + 8]
lea r8, [rbx + r8 + 8]
mov r9, qword [r8 - 0x28]
mov qword [rdx - 0x28], r9
mov r9, qword [r8 - 0x20]
mov qword [rdx - 0x20], r9
mov r9, qword [r8 - 0x18]
mov qword [rdx - 0x18], r9
mov r9, rbx
mov r8, qword [r8 - 0x10]
mov qword [rdx - 0x10], r8
lea r8, [rcx + 8]
and r8, 0xfffffffffffffff8
mov rdx, rcx
sub rdx, r8
sub r9, rdx
add edx, r10d
and edx, 0xffffffe0
cmp edx, 0x20
jb 0x59ca48
and edx, 0xffffffe0
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x3c], eax
xor r10d, r10d
mov edx, r10d
mov r14, qword [r9 + rdx + 8]
mov r13, qword [r9 + rdx + 0x10]
mov r12, qword [r9 + rdx + 0x18]
mov rax, qword [r9 + rdx]
mov qword [r8 + rdx + 8], r14
mov qword [r8 + rdx], rax
mov qword [r8 + rdx + 0x10], r13
mov qword [r8 + rdx + 0x18], r12
add r10d, 0x20
cmp r10d, dword [rsp + 0x38]
jb 0x59cbe9
mov r14d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
jmp 0x59ca48
mov ecx, r12d
shr ecx, 2
je 0x59cc9a
lea rax, [rbx + 0x10]
cmp r15, rax
lea rax, [rsp + 0x90]
setae dl
cmp rbx, rax
setae al
or dl, al
je 0x59d287
lea eax, [rcx - 1]
cmp eax, 3
jbe 0x59d287
vmovdqu32 xmm5, xmmword [rbx]
vpxor xmm0, xmm5, xmmword [rsp + 0x80]
vmovups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x90]
xor dword [rbx + 0x10], eax
cmp ecx, 5
je 0x59cc9a
mov eax, dword [rsp + 0x94]
xor dword [rbx + 0x14], eax
cmp ecx, 7
jne 0x59cc9a
mov eax, dword [rsp + 0x98]
xor dword [rbx + 0x18], eax
mov r8d, r12d
and r8d, 3
je 0x59d15e
mov eax, r12d
sub eax, r8d
cmp r12d, eax
jbe 0x59d15e
mov edx, eax
lea r9, [rbx + rdx + 0x10]
lea r11, [rsp + rdx + 0x80]
cmp r11, r9
lea rsi, [rsp + 0x40]
lea r9, [rsp + rdx + 0x90]
lea r10, [rbx + rdx]
mov qword [rsp + 0x28], rsi
setae sil
cmp r10, r9
setae r9b
or sil, r9b
je 0x59d106
lea esi, [r8 - 1]
lea r9d, [r14 + r8 - 0x100]
cmp esi, 0xe
jbe 0x59d106
vmovdqu8 xmm5, xmmword [r11]
add r9d, r12d
vpxor xmm0, xmm5, xmmword [r10]
mov edx, r9d
and edx, 0xfffffff0
vmovups xmmword [r10], xmm0
add eax, edx
cmp r9d, edx
je 0x59ce7e
mov edx, eax
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 1]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 2]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 3]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 4]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 5]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 6]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 7]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 8]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 9]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 0xa]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 0xb]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 0xc]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
xor byte [rbx + rdx], r9b
lea edx, [rax + 0xd]
cmp r12d, edx
jbe 0x59ce7e
movzx r9d, byte [rsp + rdx + 0x80]
add eax, 0xe
xor byte [rbx + rdx], r9b
cmp r12d, eax
jbe 0x59ce7e
movzx edx, byte [rsp + rax + 0x80]
xor byte [rbx + rax], dl
lea esi, [r14 - 0xe0]
mov r13d, esi
mov ebp, r12d
shr r13d, 2
lea r9, [r15 + rbp]
je 0x59cf7f
mov rax, qword [rsp + 0x28]
lea r11, [rsp + 0x1e0]
lea r10, [rax + rbp + 0x40]
lea rax, [rax + rbp + 0x60]
cmp rdi, rax
setae dl
cmp r10, r11
setae al
or dl, al
lea r15d, [r13 - 1]
je 0x59d2f0
cmp r15d, 6
jbe 0x59d2f0
mov r15d, esi
shr r15d, 5
mov rdx, r10
lea r10d, [r15 - 1]
shl r10, 5
mov rax, rdi
add r10, r11
vmovdqu32 ymm3, ymmword [rdx]
add rax, 0x20
vpxor ymm0, ymm3, ymmword [rax - 0x20]
add rdx, 0x20
vmovdqu32 ymmword [rax - 0x20], ymm0
cmp rax, r10
jne 0x59ceea
shl r15d, 3
cmp r15d, r13d
je 0x59cf7f
mov eax, r15d
mov edx, dword [r9 + rax*4]
xor dword [rdi + rax*4], edx
lea eax, [r15 + 1]
cmp r13d, eax
jbe 0x59cf7f
mov edx, dword [r9 + rax*4]
xor dword [rdi + rax*4], edx
lea eax, [r15 + 2]
cmp r13d, eax
jbe 0x59cf7f
mov edx, dword [r9 + rax*4]
xor dword [rdi + rax*4], edx
lea eax, [r15 + 3]
cmp r13d, eax
jbe 0x59cf7f
mov edx, dword [r9 + rax*4]
xor dword [rdi + rax*4], edx
lea eax, [r15 + 4]
cmp r13d, eax
jbe 0x59cf7f
mov edx, dword [r9 + rax*4]
xor dword [rdi + rax*4], edx
lea eax, [r15 + 5]
cmp r13d, eax
jbe 0x59cf7f
mov edx, dword [r9 + rax*4]
add r15d, 6
xor dword [rdi + rax*4], edx
cmp r13d, r15d
jbe 0x59cf7f
mov eax, r15d
mov edx, dword [r9 + rax*4]
xor dword [rdi + rax*4], edx
mov r15d, esi
and r15d, 3
je 0x59d04d
mov eax, esi
sub eax, r15d
mov dword [rsp + 0x3c], eax
cmp esi, eax
jbe 0x59d04d
lea rdx, [rax + 0x180]
mov r10, rdx
lea rdx, [rax + rbp + 0x60]
cmp r10, rdx
lea r11, [rax + rbp + 0x40]
lea rdx, [rax + 0x1a0]
mov qword [rsp + 0x30], r10
setge r10b
cmp rdx, r11
setle dl
or r10b, dl
je 0x59d12f
mov edx, r15d
sub edx, esi
lea edx, [r14 + rdx - 0xe1]
cmp edx, 0x1e
jbe 0x59d12f
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x28], r13d
mov r13d, dword [rsp + 0x38]
add rdx, rax
add r11, rax
mov r10d, 0x8000000
xor eax, eax
vmovdqu8 ymm4, ymmword [rdx + rax]
inc r13d
vpxor ymm0, ymm4, ymmword [r11 + rax]
vmovdqu8 ymmword [rdx + rax], ymm0
add rax, 0x20
cmp r10d, r13d
ja 0x59d00b
mov r13d, dword [rsp + 0x28]
mov r11d, dword [rsp + 0x3c]
test r15d, r15d
je 0x59d04d
mov eax, r11d
movzx edx, byte [r9 + rax]
inc r11d
xor byte [rdi + rax], dl
cmp esi, r11d
ja 0x59d03a
test ecx, ecx
je 0x59d075
lea eax, [rcx - 1]
lea rax, [rax*4 + 4]
cmp eax, 8
jae 0x59d16d
test al, 4
jne 0x59d32a
test eax, eax
jne 0x59d1da
test r8d, r8d
je 0x59d156
mov edx, r12d
sub edx, r8d
cmp r12d, edx
jbe 0x59d156
mov rcx, qword [rsp + 0x360]
lea eax, [r8 - 1]
add rcx, rdx
lea r8, [rax + 1]
add rdx, rbx
vzeroupper
call sub.msvcrt.dll_memcpy
add rbp, qword [rsp + 0x360]
test r13d, r13d
je 0x59d0cf
lea eax, [r13 - 1]
lea r8, [rax*4 + 4]
mov rdx, rdi
mov rcx, rbp
call sub.msvcrt.dll_memcpy
test r15d, r15d
je 0x59cb5c
mov edx, esi
sub edx, r15d
cmp esi, edx
jbe 0x59cb5c
sub r15d, esi
lea eax, [r14 + r15 - 0xe1]
lea rcx, [rbp + rdx]
lea r8, [rax + 1]
add rdx, rdi
call sub.msvcrt.dll_memcpy
jmp 0x59cb5c
movzx eax, byte [r15 + rdx]
xor byte [rbx + rdx], al
inc rdx
cmp r12d, edx
jbe 0x59ce7e
movzx eax, byte [r15 + rdx]
xor byte [rbx + rdx], al
inc rdx
cmp r12d, edx
ja 0x59d106
jmp 0x59ce7e
movzx edx, byte [r9 + rax]
xor byte [rdi + rax], dl
inc rax
cmp esi, eax
jbe 0x59d04d
movzx edx, byte [r9 + rax]
xor byte [rdi + rax], dl
inc rax
cmp esi, eax
ja 0x59d12f
jmp 0x59d04d
vzeroupper
jmp 0x59d0ab
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x59ce7e
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x360]
mov r10, rbx
mov qword [rcx], rdx
mov edx, eax
mov rcx, qword [rbx + rdx - 8]
mov r11, qword [rsp + 0x360]
mov qword [r11 + rdx - 8], rcx
mov rcx, qword [rsp + 0x360]
mov rdx, qword [rsp + 0x360]
add rcx, 8
and rcx, 0xfffffffffffffff8
sub rdx, rcx
add eax, edx
and eax, 0xfffffff8
sub r10, rdx
cmp eax, 8
jb 0x59d075
and eax, 0xfffffff8
xor edx, edx
mov r9d, edx
mov r11, qword [r10 + r9]
add edx, 8
mov qword [rcx + r9], r11
cmp edx, eax
jb 0x59d1c3
jmp 0x59d075
movzx eax, byte [rbx]
mov rcx, qword [rsp + 0x360]
mov byte [rcx], al
jmp 0x59d075
vmovdqu8 xmm5, xmmword [rbx]
vmovups xmmword [rcx], xmm5
vmovdqu8 xmm3, xmmword [rbx + rdx - 0x10]
vmovups xmmword [rcx + rdx - 0x10], xmm3
jmp 0x59ca48
mov r8, qword [rbx]
mov qword [rcx], r8
mov r8, qword [rbx + rdx - 8]
mov qword [rcx + rdx - 8], r8
jmp 0x59ca48
mov r8d, dword [rbx]
mov dword [rcx], r8d
mov r8d, dword [rbx + rdx - 4]
mov dword [rcx + rdx - 4], r8d
jmp 0x59ca48
mov eax, dword [rsp + 0x80]
xor dword [rbx], eax
mov eax, dword [rsp + 0x84]
xor dword [rbx + 4], eax
mov eax, dword [rsp + 0x88]
xor dword [rbx + 8], eax
mov eax, dword [rsp + 0x8c]
xor dword [rbx + 0xc], eax
mov eax, dword [rsp + 0x90]
xor dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x94]
xor dword [rbx + 0x14], eax
mov eax, dword [rsp + 0x98]
xor dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x9c]
xor dword [rbx + 0x1c], eax
jmp 0x59cb31
mov eax, dword [rsp + 0x80]
xor dword [rbx], eax
cmp ecx, 1
je 0x59cc9a
mov eax, dword [rsp + 0x84]
xor dword [rbx + 4], eax
cmp ecx, 2
je 0x59cc9a
mov eax, dword [rsp + 0x88]
xor dword [rbx + 8], eax
cmp ecx, 3
je 0x59cc9a
mov eax, dword [rsp + 0x8c]
xor dword [rbx + 0xc], eax
cmp ecx, 4
je 0x59cc9a
mov eax, dword [rsp + 0x90]
xor dword [rbx + 0x10], eax
cmp ecx, 5
jne 0x59cc81
jmp 0x59cc9a
mov r10d, r15d
mov rax, rdi
mov rdx, r9
lea r10, [rsp + r10*4 + 0x1c4]
mov r11d, dword [rdx]
add rdx, 4
xor dword [rax], r11d
add rax, 4
cmp r10, rax
jne 0x59d301
jmp 0x59cf7f
movzx r8d, word [rbx + rdx - 2]
mov word [rcx + rdx - 2], r8w
jmp 0x59ca48
mov edx, dword [rbx]
mov rcx, qword [rsp + 0x360]
mov eax, eax
mov dword [rcx], edx
mov edx, dword [rbx + rax - 4]
mov rcx, qword [rsp + 0x360]
mov dword [rcx + rax - 4], edx
jmp 0x59d075