Function at 0x516960
Capabilities:
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, 0x108
mov eax, 0x40
mov r13, qword [rcx + 0x40]
sub rax, r13
mov r15, rcx
mov qword [rsp + 0x158], rdx
mov qword [rsp + 0x160], r8
cmp rax, r8
ja 0x5180b0
mov eax, dword [rcx + 0x48]
mov r12d, dword [rcx + 0x7c]
mov dword [rsp + 0xa0], eax
mov eax, dword [rcx + 0x4c]
mov dword [rsp + 0xb4], eax
mov eax, dword [rcx + 0x50]
mov dword [rsp + 0xb0], eax
mov eax, dword [rcx + 0x54]
mov dword [rsp + 0xac], eax
mov eax, dword [rcx + 0x58]
mov dword [rsp + 0xa8], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x84], eax
mov eax, dword [rcx + 0x60]
mov dword [rsp + 0x80], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0x7c], eax
mov eax, dword [rcx + 0x68]
mov dword [rsp + 0xdc], eax
mov eax, dword [rcx + 0x6c]
mov dword [rsp + 0xec], eax
mov eax, dword [rcx + 0x70]
mov dword [rsp + 0xd8], eax
mov eax, dword [rcx + 0x74]
mov dword [rsp + 0x74], eax
mov eax, dword [rcx + 0x78]
mov dword [rsp + 0xd4], eax
mov eax, dword [rcx + 0x80]
mov dword [rsp + 0xd0], eax
mov eax, dword [rcx + 0x84]
mov dword [rsp + 0xe8], eax
mov eax, dword [rcx + 0x88]
mov dword [rsp + 0xcc], eax
mov eax, dword [rcx + 0x8c]
mov edi, dword [rcx + 0x94]
mov esi, dword [rcx + 0x9c]
mov ebx, dword [rcx + 0xa4]
mov dword [rsp + 0xe4], eax
mov eax, dword [rcx + 0x90]
mov ebp, dword [rcx + 0xb4]
mov dword [rsp + 0xc8], eax
mov eax, dword [rcx + 0x98]
mov dword [rsp + 0x78], eax
mov eax, dword [rcx + 0xa0]
mov dword [rsp + 0xc4], eax
mov eax, dword [rcx + 0xa8]
mov dword [rsp + 0xc0], eax
mov eax, dword [rcx + 0xac]
mov dword [rsp + 0xe0], eax
mov eax, dword [rcx + 0xb0]
mov dword [rsp + 0xbc], eax
mov eax, dword [rcx + 0xb8]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0xbc]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0xc0]
mov dword [rsp + 0x4c], eax
mov eax, dword [rcx + 0xc4]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0xc8]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0xcc]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0xd0]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0xd4]
cmp qword [rsp + 0x160], 0
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0xd8]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0xdc]
mov dword [rsp + 0x2c], eax
mov eax, dword [rcx + 0xe0]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0xe4]
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0xe8]
mov dword [rsp + 0x20], eax
mov eax, dword [rcx + 0xec]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0xf0]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0xf4]
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0xfc]
mov dword [rsp + 0xb8], eax
mov eax, dword [rcx + 0xf8]
mov dword [rsp + 0xf0], eax
je 0x517dbb
mov r14d, r12d
jmp 0x516b8f
cmp qword [rsp + 0x160], 0
je 0x517db8
mov rdx, qword [rsp + 0x158]
lea rcx, [r15 + r13]
mov r12d, 0x40
sub r12, r13
cmp r12, qword [rsp + 0x160]
cmova r12, qword [rsp + 0x160]
mov r8, r12
add r13, r12
call sub.msvcrt.dll_memcpy
add qword [rsp + 0x158], r12
sub qword [rsp + 0x160], r12
cmp r13, 0x40
jne 0x516b80
mov r11d, dword [rsp + 0xe0]
mov eax, dword [rsp + 0xbc]
add r11d, dword [r15 + 0x34]
add eax, dword [r15 + 0x38]
mov r10d, dword [rsp + 0x78]
add r10d, dword [r15 + 0x20]
mov r8d, dword [rsp + 0xc8]
mov r13d, r11d
mov dword [rsp + 0xc8], r11d
mov dword [rsp + 0xe0], eax
mov r11d, eax
mov eax, dword [rsp + 0x74]
ror r13d, 0xf
mov ecx, dword [r15 + 0x24]
ror r11d, 0xf
mov dword [rsp + 0x78], r10d
mov r10d, r13d
mov r13d, dword [rsp + 0xa0]
xor r13d, dword [rsp + 0x5c]
xor r13d, dword [rsp + 0xb8]
rol eax, 0xf
add ebx, dword [r15 + 0x2c]
add ecx, esi
add r8d, dword [r15 + 0x18]
mov dword [rsp + 0x9c], ecx
mov r12d, ecx
mov edx, dword [rsp + 0xc0]
ror r12d, 0xf
lea eax, [rax + rax*4]
add edx, dword [r15 + 0x30]
xor eax, r13d
mov r13d, dword [r15]
mov dword [rsp + 0xc0], ebx
mov ecx, ebx
lea ebx, [rax + rax*2]
mov esi, dword [rsp + 0xc4]
ror ecx, 0xf
add esi, dword [r15 + 0x28]
add ebp, dword [r15 + 0x3c]
mov dword [rsp + 0xc4], edx
xor r13d, r10d
add edi, dword [r15 + 0x1c]
xor ebx, r13d
mov r13d, r8d
ror r13d, 0xf
mov dword [rsp + 0xbc], esi
mov r9d, esi
mov esi, edx
mov eax, r13d
ror esi, 0xf
mov dword [rsp + 0xf4], ebp
mov edx, ebp
mov dword [rsp + 0x70], edi
ror edx, 0xf
not eax
ror r9d, 0xf
and eax, r12d
mov dword [rsp + 0x6c], esi
not r12d
mov r13d, eax
xor r13d, ebx
mov ebx, dword [rsp + 0xd4]
add ebx, dword [r15]
mov eax, r13d
mov dword [rsp + 0xd4], r13d
mov esi, dword [rsp + 0xb4]
rol eax, 0xf
xor esi, dword [rsp + 0x40]
lea eax, [rax + rax*4]
xor esi, dword [rsp + 0xf0]
ror ebx, 0xe
xor ebx, r13d
mov ebp, ebx
xor eax, esi
mov esi, dword [r15 + 4]
not ebp
lea edi, [rax + rax*2]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x88], ebp
add r14d, dword [r15 + 4]
xor esi, r11d
ror eax, 0xf
not eax
and eax, r9d
not r9d
xor esi, eax
mov eax, r14d
xor esi, edi
ror eax, 0xe
mov edi, esi
xor eax, esi
rol edi, 0xf
mov r14d, eax
lea ebp, [rdi + rdi*4]
mov edi, dword [rsp + 0xb0]
not r14d
xor edi, dword [rsp + 0x30]
mov dword [rsp + 0x8c], r14d
mov r14d, dword [rsp + 0xd0]
add r14d, dword [r15 + 8]
xor ebp, edi
mov edi, dword [r15 + 8]
lea r13d, [rbp + rbp*2]
mov ebp, dword [rsp + 0x78]
ror r14d, 0xe
xor edi, edx
ror ebp, 0xf
not ebp
and ebp, ecx
not ecx
xor edi, ebp
xor edi, r13d
xor r14d, edi
mov ebp, edi
mov edi, r14d
mov dword [rsp + 0xd0], ebp
not edi
mov dword [rsp + 0x90], edi
mov edi, ebp
mov ebp, dword [rsp + 0x6c]
rol edi, 0xf
lea r13d, [rdi + rdi*4]
mov edi, dword [rsp + 0xac]
xor edi, dword [rsp + 0x34]
and ebp, r12d
mov r12d, dword [rsp + 0xe8]
xor ebp, dword [r15 + 0xc]
add r12d, dword [r15 + 0xc]
xor ebp, dword [rsp + 0x88]
xor r13d, edi
mov edi, dword [rsp + 0xa8]
lea r13d, [r13 + r13*2]
xor edi, dword [rsp + 0x44]
ror r12d, 0xe
xor ebp, r13d
xor r12d, ebp
mov dword [rsp + 0xa0], r12d
mov r13d, r12d
mov r12d, ebp
not r13d
rol r12d, 0xf
mov dword [rsp + 0x60], r13d
lea r12d, [r12 + r12*4]
mov r13d, r9d
mov r9d, dword [rsp + 0xcc]
xor r12d, edi
and r13d, r10d
xor r13d, dword [r15 + 0x10]
ror r8d, 0xe
xor r13d, dword [rsp + 0x8c]
or r10d, ebx
add r9d, dword [r15 + 0x10]
mov edi, dword [rsp + 0x84]
lea r12d, [r12 + r12*2]
xor edi, dword [rsp + 0x48]
xor r13d, r12d
xor r10d, dword [r15 + 0x1c]
ror r9d, 0xe
mov r12d, r13d
xor r9d, r13d
rol r12d, 0xf
mov dword [rsp + 0xa4], r9d
not r9d
mov dword [rsp + 0x64], r9d
lea r9d, [r12 + r12*4]
mov r12d, ecx
mov ecx, dword [rsp + 0xe4]
and r12d, r11d
xor r12d, dword [r15 + 0x14]
xor r9d, edi
xor r12d, dword [rsp + 0x90]
add ecx, dword [r15 + 0x14]
lea r9d, [r9 + r9*2]
xor r12d, r9d
mov edi, r12d
ror ecx, 0xe
rol edi, 0xf
xor ecx, r12d
lea r9d, [rdi + rdi*4]
mov edi, dword [rsp + 0x80]
mov dword [rsp + 0x84], ecx
not ecx
xor edi, dword [rsp + 0x4c]
mov dword [rsp + 0x68], ecx
mov ecx, edi
mov edi, dword [rsp + 0x7c]
xor ecx, r9d
xor edi, dword [rsp + 0x50]
lea r9d, [rcx + rcx*2]
mov ecx, dword [rsp + 0x6c]
not ecx
and ecx, edx
xor ecx, dword [r15 + 0x18]
xor ecx, dword [rsp + 0x60]
xor ecx, r9d
xor r8d, ecx
mov dword [rsp + 0xa8], r8d
not r8d
mov dword [rsp + 0x6c], r8d
mov r8d, ecx
rol r8d, 0xf
lea r9d, [r8 + r8*4]
xor r9d, edi
xor r10d, dword [rsp + 0x64]
or r11d, eax
or edx, r14d
xor r11d, dword [r15 + 0x20]
xor r11d, dword [rsp + 0x68]
lea r8d, [r9 + r9*2]
mov r9d, dword [rsp + 0x70]
xor r10d, r8d
mov r8d, r10d
mov edi, r10d
not r8d
ror r9d, 0xe
xor edi, r9d
mov dword [rsp + 0xac], r9d
mov dword [rsp + 0x94], edi
mov edi, r8d
rol edi, 0xf
lea r10d, [rdi + rdi*4]
mov edi, dword [rsp + 0xdc]
xor edi, dword [rsp + 0x54]
xor r10d, edi
lea r9d, [r10 + r10*2]
mov r10d, dword [rsp + 0x78]
xor r11d, r9d
mov edi, r11d
not edi
mov r9d, edi
ror r10d, 0xe
mov edi, r11d
xor edi, r10d
mov dword [rsp + 0xb0], r10d
mov r10d, r9d
mov dword [rsp + 0x98], edi
mov edi, dword [rsp + 0xec]
rol r10d, 0xf
xor edi, dword [rsp + 0x58]
lea r11d, [r10 + r10*4]
xor edx, dword [r15 + 0x24]
xor edx, dword [rsp + 0x6c]
xor r11d, edi
lea r10d, [r11 + r11*2]
mov r11d, dword [rsp + 0x9c]
xor edx, r10d
mov edi, edx
mov r10d, edx
not r10d
ror r11d, 0xe
mov edx, r10d
xor edi, r11d
rol edx, 0xf
mov dword [rsp + 0xb4], r11d
mov dword [rsp + 0x9c], edi
mov edi, dword [rsp + 0xd8]
lea edx, [rdx + rdx*4]
xor edi, dword [rsp + 0x38]
mov r11d, edi
mov edi, dword [rsp + 0xbc]
xor r11d, edx
lea edx, [r11 + r11*2]
mov r11d, dword [rsp + 0x60]
ror edi, 0xe
and r11d, ebx
xor r11d, dword [r15 + 0x28]
xor r11d, dword [rsp + 0x94]
xor r11d, edx
mov edx, edi
mov edi, dword [rsp + 0x74]
mov ebx, r11d
xor edx, r11d
rol ebx, 0xf
xor edi, dword [rsp + 0x3c]
mov dword [rsp + 0xbc], edx
not edx
mov dword [rsp + 0x70], edx
and r14d, dword [rsp + 0x68]
xor esi, dword [rsp + 0x24]
lea edx, [rbx + rbx*4]
mov ebx, edi
mov edi, dword [rsp + 0x64]
xor ebx, edx
mov edx, dword [r15 + 0x2c]
lea ebx, [rbx + rbx*2]
and edi, eax
mov eax, dword [rsp + 0xc0]
xor edx, edi
xor edx, dword [rsp + 0x98]
mov edi, dword [rsp + 0xd4]
xor edi, dword [rsp + 0x20]
ror eax, 0xe
xor edx, ebx
xor eax, edx
mov ebx, edx
mov dword [rsp + 0xc0], eax
rol ebx, 0xf
not eax
mov dword [rsp + 0x74], eax
lea ebx, [rbx + rbx*4]
mov eax, edi
xor eax, ebx
lea ebx, [rax + rax*2]
mov eax, dword [r15 + 0x30]
xor eax, r14d
xor eax, dword [rsp + 0x9c]
xor eax, ebx
mov ebx, dword [rsp + 0xc4]
mov edi, eax
rol edi, 0xf
ror ebx, 0xe
xor ebx, eax
mov dword [rsp + 0xc4], ebx
mov r14d, ebx
lea ebx, [rdi + rdi*4]
not r14d
xor esi, ebx
mov dword [rsp + 0x78], r14d
lea ebx, [rsi + rsi*2]
mov esi, dword [rsp + 0xa0]
mov edi, dword [rsp + 0xc8]
and esi, dword [rsp + 0x6c]
xor esi, dword [r15 + 0x34]
xor esi, dword [rsp + 0x70]
ror edi, 0xe
mov r14d, dword [rsp + 0xe0]
xor esi, ebx
mov ebx, edi
xor ebx, esi
mov edi, esi
rol edi, 0xf
mov dword [rsp + 0xa0], ebx
not ebx
mov dword [rsp + 0x7c], ebx
lea ebx, [rdi + rdi*4]
mov edi, dword [rsp + 0xd0]
xor edi, dword [rsp + 0x28]
xor edi, ebx
lea ebx, [rdi + rdi*2]
mov edi, dword [rsp + 0xa4]
and edi, dword [rsp + 0x94]
xor edi, dword [r15 + 0x38]
xor edi, dword [rsp + 0x74]
xor edi, ebx
xor ebp, dword [rsp + 0x2c]
ror r14d, 0xe
mov ebx, edi
xor r13d, dword [rsp + 0x5c]
xor r14d, edi
rol ebx, 0xf
mov dword [rsp + 0xa4], r14d
not r14d
lea ebx, [rbx + rbx*4]
mov dword [rsp + 0x80], r14d
mov r14d, dword [rsp + 0xa8]
xor ebp, ebx
and r14d, dword [rsp + 0x9c]
xor r14d, dword [r15]
xor r14d, dword [rsp + 0x7c]
lea ebx, [rbp + rbp*2]
mov ebp, dword [rsp + 0x84]
and ebp, dword [rsp + 0x98]
xor ebp, dword [r15 + 0x3c]
xor ebp, dword [rsp + 0x78]
xor ebp, ebx
mov ebx, dword [rsp + 0xf4]
ror ebx, 0xe
xor ebx, ebp
mov dword [rsp + 0xc8], ebx
not ebx
mov dword [rsp + 0x84], ebx
mov ebx, ebp
rol ebx, 0xf
lea ebx, [rbx + rbx*4]
xor r13d, ebx
lea ebx, [r13 + r13*2]
mov r13d, dword [rsp + 0x88]
xor r14d, ebx
rol r13d, 1
xor r13d, r14d
mov dword [rsp + 0xa8], r13d
not r13d
mov dword [rsp + 0x88], r13d
xor r12d, dword [rsp + 0x40]
mov r13d, r14d
rol r13d, 0xf
lea ebx, [r13 + r13*4]
mov r13d, dword [rsp + 0x70]
xor r12d, ebx
lea ebx, [r12 + r12*2]
mov r12d, dword [rsp + 0xac]
xor r12d, r8d
and r13d, r12d
mov r12d, dword [rsp + 0x8c]
xor r13d, dword [r15 + 4]
xor r13d, dword [rsp + 0x80]
rol r12d, 1
xor r13d, ebx
xor r12d, r13d
mov dword [rsp + 0xac], r12d
not r12d
mov dword [rsp + 0x8c], r12d
mov r12d, r13d
rol r12d, 0xf
xor ecx, dword [rsp + 0x30]
xor r8d, dword [rsp + 0x34]
lea ebx, [r12 + r12*4]
xor ecx, ebx
lea ebx, [rcx + rcx*2]
mov ecx, dword [rsp + 0xb0]
xor ecx, r9d
and ecx, dword [rsp + 0x74]
xor ecx, dword [r15 + 8]
xor ecx, dword [rsp + 0x84]
xor r9d, dword [rsp + 0x44]
xor ecx, ebx
mov ebx, dword [rsp + 0x90]
mov r12d, ecx
rol r12d, 0xf
rol ebx, 1
xor ebx, ecx
mov dword [rsp + 0xb0], ebx
not ebx
mov dword [rsp + 0x90], ebx
lea ebx, [r12 + r12*4]
xor r8d, ebx
lea ebx, [r8 + r8*2]
mov r8d, dword [rsp + 0xb4]
xor r8d, r10d
and r8d, dword [rsp + 0x78]
xor r8d, dword [r15 + 0xc]
xor r8d, dword [rsp + 0x88]
xor r8d, ebx
mov ebx, dword [rsp + 0x60]
rol ebx, 1
xor ebx, r8d
mov dword [rsp + 0xb4], ebx
mov r12d, ebx
mov ebx, r8d
rol ebx, 0xf
not r12d
lea ebx, [rbx + rbx*4]
mov dword [rsp + 0x60], r12d
xor r9d, ebx
lea ebx, [r9 + r9*2]
mov r9d, dword [rsp + 0xbc]
and r9d, dword [rsp + 0x7c]
xor r9d, dword [r15 + 0x10]
xor r9d, dword [rsp + 0x8c]
xor r9d, ebx
mov ebx, dword [rsp + 0x64]
rol ebx, 1
xor ebx, r9d
mov dword [rsp + 0xbc], ebx
not ebx
mov dword [rsp + 0x64], ebx
xor r10d, dword [rsp + 0x48]
mov ebx, r9d
rol ebx, 0xf
lea ebx, [rbx + rbx*4]
xor r10d, ebx
mov ebx, dword [rsp + 0x68]
lea r12d, [r10 + r10*2]
mov r10d, dword [rsp + 0xc0]
and r10d, dword [rsp + 0x80]
xor r10d, dword [r15 + 0x14]
xor r10d, dword [rsp + 0x90]
rol ebx, 1
xor r11d, dword [rsp + 0x4c]
xor edx, dword [rsp + 0x50]
xor eax, dword [rsp + 0x54]
xor r10d, r12d
xor ebx, r10d
mov r12d, r10d
rol r12d, 0xf
mov dword [rsp + 0xc0], ebx
not ebx
mov dword [rsp + 0x68], ebx
lea ebx, [r12 + r12*4]
xor r11d, ebx
mov ebx, dword [rsp + 0x6c]
lea r12d, [r11 + r11*2]
mov r11d, dword [rsp + 0xc4]
and r11d, dword [rsp + 0x84]
xor r11d, dword [r15 + 0x18]
xor r11d, dword [rsp + 0x60]
rol ebx, 1
xor r11d, r12d
mov r12d, ebx
mov ebx, r11d
xor r12d, r11d
rol ebx, 0xf
mov dword [rsp + 0xc4], r12d
not r12d
lea ebx, [rbx + rbx*4]
mov dword [rsp + 0x6c], r12d
mov r12d, dword [r15 + 0x20]
xor edx, ebx
mov ebx, dword [rsp + 0xa0]
and ebx, dword [rsp + 0x88]
lea edx, [rdx + rdx*2]
xor ebx, dword [r15 + 0x1c]
xor ebx, dword [rsp + 0x64]
xor ebx, edx
mov edx, dword [rsp + 0x94]
rol edx, 1
xor edx, ebx
mov dword [rsp + 0xa0], edx
not edx
mov dword [rsp + 0x94], edx
mov edx, ebx
rol edx, 0xf
lea edx, [rdx + rdx*4]
xor eax, edx
mov edx, dword [rsp + 0xa4]
and edx, dword [rsp + 0x8c]
lea eax, [rax + rax*2]
xor r12d, edx
xor r12d, dword [rsp + 0x68]
xor r12d, eax
mov eax, dword [rsp + 0x98]
rol eax, 1
xor eax, r12d
mov dword [rsp + 0xa4], eax
not eax
mov dword [rsp + 0x98], eax
mov eax, r12d
rol eax, 0xf
xor esi, dword [rsp + 0x58]
xor edi, dword [rsp + 0x38]
xor ebp, dword [rsp + 0x3c]
xor r14d, dword [rsp + 0x20]
lea eax, [rax + rax*4]
xor esi, eax
lea eax, [rsi + rsi*2]
mov esi, dword [rsp + 0xc8]
and esi, dword [rsp + 0x90]
xor esi, dword [r15 + 0x24]
xor esi, dword [rsp + 0x6c]
xor esi, eax
mov eax, dword [rsp + 0x9c]
rol eax, 1
xor eax, esi
mov dword [rsp + 0xc8], eax
not eax
mov dword [rsp + 0x9c], eax
mov eax, esi
rol eax, 0xf
lea eax, [rax + rax*4]
xor edi, eax
lea eax, [rdi + rdi*2]
mov edi, dword [rsp + 0xa8]
and edi, dword [rsp + 0x60]
xor edi, dword [r15 + 0x28]
xor edi, dword [rsp + 0x94]
xor edi, eax
mov eax, dword [rsp + 0x70]
rol eax, 1
xor eax, edi
mov dword [rsp + 0xa8], eax
not eax
mov dword [rsp + 0x70], eax
mov eax, edi
rol eax, 0xf
lea eax, [rax + rax*4]
xor ebp, eax
lea eax, [rbp + rbp*2]
mov ebp, dword [rsp + 0xac]
and ebp, dword [rsp + 0x64]
xor ebp, dword [r15 + 0x2c]
xor ebp, dword [rsp + 0x98]
xor ebp, eax
mov eax, dword [rsp + 0x74]
rol eax, 1
xor eax, ebp
mov dword [rsp + 0xac], eax
not eax
mov dword [rsp + 0x74], eax
mov eax, ebp
rol eax, 0xf
lea eax, [rax + rax*4]
xor r14d, eax
mov eax, dword [rsp + 0xb0]
and eax, dword [rsp + 0x68]
lea edx, [r14 + r14*2]
xor eax, dword [r15 + 0x30]
xor eax, dword [rsp + 0x9c]
xor r13d, dword [rsp + 0x24]
xor eax, edx
mov edx, dword [rsp + 0x78]
rol edx, 1
mov r14d, edx
xor r14d, eax
mov edx, r14d
not edx
mov dword [rsp + 0x78], edx
mov edx, eax
rol edx, 0xf
lea edx, [rdx + rdx*4]
xor r13d, edx
mov edx, dword [rsp + 0xb4]
and edx, dword [rsp + 0x6c]
lea r13d, [r13 + r13*2]
xor edx, dword [r15 + 0x34]
xor edx, dword [rsp + 0x70]
xor ecx, dword [rsp + 0x28]
xor r8d, dword [rsp + 0x2c]
xor edx, r13d
mov r13d, dword [rsp + 0x7c]
rol r13d, 1
xor r13d, edx
mov dword [rsp + 0xb0], r13d
not r13d
mov dword [rsp + 0x7c], r13d
mov r13d, edx
rol r13d, 0xf
lea r13d, [r13 + r13*4]
xor ecx, r13d
lea r13d, [rcx + rcx*2]
mov ecx, dword [rsp + 0xbc]
and ecx, dword [rsp + 0x94]
xor ecx, dword [r15 + 0x38]
xor ecx, dword [rsp + 0x74]
xor ecx, r13d
mov r13d, dword [rsp + 0x80]
rol r13d, 1
xor r13d, ecx
mov dword [rsp + 0xb4], r13d
not r13d
mov dword [rsp + 0x80], r13d
mov r13d, ecx
rol r13d, 0xf
lea r13d, [r13 + r13*4]
xor r8d, r13d
lea r13d, [r8 + r8*2]
mov r8d, dword [rsp + 0xc0]
and r8d, dword [rsp + 0x98]
xor r8d, dword [r15 + 0x3c]
xor r8d, dword [rsp + 0x78]
xor r8d, r13d
mov r13d, dword [rsp + 0x84]
rol r13d, 1
xor r13d, r8d
mov dword [rsp + 0xbc], r13d
not r13d
mov dword [rsp + 0x84], r13d
mov r13d, r8d
rol r13d, 0xf
xor r9d, dword [rsp + 0x5c]
xor r10d, dword [rsp + 0x40]
lea r13d, [r13 + r13*4]
xor r9d, r13d
lea r13d, [r9 + r9*2]
mov r9d, dword [rsp + 0xc4]
and r9d, dword [rsp + 0x9c]
xor r9d, dword [r15]
xor r9d, dword [rsp + 0x7c]
xor r9d, r13d
mov r13d, dword [rsp + 0x88]
rol r13d, 1
xor r13d, r9d
mov dword [rsp + 0xc0], r13d
not r13d
mov dword [rsp + 0x88], r13d
mov r13d, r9d
rol r13d, 0xf
lea r13d, [r13 + r13*4]
xor r10d, r13d
lea r13d, [r10 + r10*2]
mov r10d, dword [rsp + 0xa0]
and r10d, dword [rsp + 0x70]
xor r10d, dword [r15 + 4]
xor r10d, dword [rsp + 0x80]
xor r11d, dword [rsp + 0x30]
xor ebx, dword [rsp + 0x34]
xor r10d, r13d
mov r13d, dword [rsp + 0x8c]
rol r13d, 1
xor r13d, r10d
mov dword [rsp + 0xc4], r13d
not r13d
mov dword [rsp + 0x8c], r13d
mov r13d, r10d
rol r13d, 0xf
lea r13d, [r13 + r13*4]
xor r11d, r13d
lea r13d, [r11 + r11*2]
mov r11d, dword [rsp + 0xa4]
and r11d, dword [rsp + 0x74]
xor r11d, dword [r15 + 8]
xor r11d, dword [rsp + 0x84]
xor r11d, r13d
mov r13d, dword [rsp + 0x90]
rol r13d, 1
xor r13d, r11d
mov dword [rsp + 0xcc], r13d
not r13d
mov dword [rsp + 0x90], r13d
mov r13d, r11d
rol r13d, 0xf
lea r13d, [r13 + r13*4]
xor ebx, r13d
lea r13d, [rbx + rbx*2]
mov ebx, dword [rsp + 0xc8]
and ebx, dword [rsp + 0x78]
xor ebx, dword [r15 + 0xc]
xor ebx, dword [rsp + 0x88]
xor ebx, r13d
mov r13d, dword [rsp + 0x60]
xor r12d, dword [rsp + 0x44]
rol r13d, 1
xor r13d, ebx
mov dword [rsp + 0xc8], r13d
not r13d
mov dword [rsp + 0x60], r13d
mov r13d, ebx
rol r13d, 0xf
lea r13d, [r13 + r13*4]
xor r12d, r13d
mov r13d, dword [rsp + 0xa8]
and r13d, dword [rsp + 0x7c]
lea r12d, [r12 + r12*2]
xor r13d, dword [r15 + 0x10]
xor r13d, dword [rsp + 0x8c]
xor r13d, r12d
mov dword [rsp + 0xa0], r13d
mov r13d, dword [rsp + 0x64]
rol r13d, 1
mov r12d, r13d
mov r13d, dword [rsp + 0xa0]
xor r12d, r13d
mov dword [rsp + 0xa8], r12d
not r12d
mov dword [rsp + 0x64], r12d
xor esi, dword [rsp + 0x48]
mov r12d, r13d
rol r12d, 0xf
xor edi, dword [rsp + 0x4c]
and r14d, dword [rsp + 0x84]
xor r14d, dword [r15 + 0x18]
xor r14d, dword [rsp + 0x60]
xor ebp, dword [rsp + 0x50]
lea r12d, [r12 + r12*4]
xor esi, r12d
mov r12d, dword [rsp + 0xac]
and r12d, dword [rsp + 0x80]
lea esi, [rsi + rsi*2]
xor r12d, dword [r15 + 0x14]
xor r12d, dword [rsp + 0x90]
xor r12d, esi
mov esi, dword [rsp + 0x68]
rol esi, 1
mov r13d, esi
mov esi, r12d
mov dword [rsp + 0xd0], esi
rol esi, 0xf
xor r13d, r12d
lea esi, [rsi + rsi*4]
mov r12d, r13d
not r13d
xor edi, esi
mov esi, dword [rsp + 0x6c]
mov dword [rsp + 0x68], r13d
lea edi, [rdi + rdi*2]
mov r13d, dword [r15 + 0x1c]
xor r14d, edi
mov edi, r14d
rol esi, 1
mov dword [rsp + 0xd4], edi
rol edi, 0xf
xor esi, r14d
mov r14d, esi
lea esi, [rdi + rdi*4]
not r14d
mov edi, dword [rsp + 0xb0]
xor ebp, esi
and edi, dword [rsp + 0x88]
mov dword [rsp + 0x6c], r14d
mov r14d, dword [rsp + 0x64]
mov esi, dword [rsp + 0x94]
lea ebp, [rbp + rbp*2]
xor eax, dword [rsp + 0x54]
xor r13d, edi
xor edx, dword [rsp + 0x58]
xor r13d, r14d
mov edi, r13d
rol esi, 1
mov r13d, dword [rsp + 0x68]
xor edi, ebp
mov ebp, edi
xor esi, edi
mov dword [rsp + 0xac], ebp
rol ebp, 0xf
mov edi, esi
lea esi, [rbp + rbp*4]
not edi
xor eax, esi
mov dword [rsp + 0x94], edi
mov edi, dword [rsp + 0xb4]
lea esi, [rax + rax*2]
and edi, dword [rsp + 0x8c]
mov eax, dword [r15 + 0x20]
xor eax, edi
xor eax, r13d
xor eax, esi
mov esi, dword [rsp + 0x98]
mov edi, eax
rol edi, 0xf
rol esi, 1
xor esi, eax
mov ebp, esi
lea esi, [rdi + rdi*4]
not ebp
xor edx, esi
mov dword [rsp + 0x98], ebp
lea esi, [rdx + rdx*2]
mov edx, dword [rsp + 0xbc]
and edx, dword [rsp + 0x90]
xor edx, dword [r15 + 0x24]
xor edx, dword [rsp + 0x6c]
xor ecx, dword [rsp + 0x38]
mov ebp, dword [rsp + 0x94]
xor edx, esi
mov esi, dword [rsp + 0x9c]
rol esi, 1
xor esi, edx
mov edi, esi
mov esi, edx
rol esi, 0xf
not edi
lea esi, [rsi + rsi*4]
mov dword [rsp + 0x9c], edi
xor ecx, esi
lea esi, [rcx + rcx*2]
mov ecx, dword [rsp + 0xc0]
and ecx, dword [rsp + 0x60]
xor ecx, dword [r15 + 0x28]
xor ecx, ebp
xor ecx, esi
mov esi, dword [rsp + 0x70]
mov edi, ecx
rol esi, 1
xor r8d, dword [rsp + 0x3c]
rol edi, 0xf
xor esi, ecx
xor r9d, dword [rsp + 0x20]
not esi
xor r10d, dword [rsp + 0x24]
mov dword [rsp + 0x70], esi
xor r11d, dword [rsp + 0x28]
lea esi, [rdi + rdi*4]
xor r8d, esi
lea esi, [r8 + r8*2]
mov r8d, dword [rsp + 0xc4]
and r8d, r14d
xor r8d, dword [r15 + 0x2c]
xor r8d, dword [rsp + 0x98]
xor r8d, esi
mov esi, dword [rsp + 0x74]
rol esi, 1
xor esi, r8d
not esi
mov dword [rsp + 0xa4], esi
mov esi, r8d
rol esi, 0xf
lea esi, [rsi + rsi*4]
xor r9d, esi
lea esi, [r9 + r9*2]
mov r9d, dword [rsp + 0xcc]
and r9d, r13d
xor r9d, dword [r15 + 0x30]
xor r9d, dword [rsp + 0x9c]
mov r13d, r9d
mov r9d, dword [rsp + 0x78]
xor r13d, esi
mov dword [rsp + 0x78], r13d
rol r9d, 1
mov esi, r9d
xor esi, r13d
mov r9d, esi
not r9d
mov r14d, r9d
mov r9d, r13d
rol r9d, 0xf
lea esi, [r9 + r9*4]
xor r10d, esi
lea esi, [r10 + r10*2]
mov r10d, dword [rsp + 0xc8]
and r10d, dword [rsp + 0x6c]
xor r10d, dword [r15 + 0x34]
xor r10d, dword [rsp + 0x70]
xor r10d, esi
mov esi, dword [rsp + 0x7c]
mov r9d, r10d
rol r9d, 0xf
rol esi, 1
xor esi, r10d
not esi
mov dword [rsp + 0xf8], esi
lea esi, [r9 + r9*4]
xor r11d, esi
lea esi, [r11 + r11*2]
mov r11d, dword [rsp + 0xa8]
mov dword [rsp + 0xf4], r14d
mov r9d, dword [rsp + 0x54]
mov r13d, dword [rsp + 0x48]
and r11d, ebp
xor r11d, dword [r15 + 0x38]
xor r11d, dword [rsp + 0xa4]
xor ebx, dword [rsp + 0x2c]
and r12d, dword [rsp + 0x98]
add r9d, dword [rsp + 0x44]
xor r11d, esi
mov esi, dword [rsp + 0x80]
add r13d, dword [rsp + 0x40]
rol esi, 1
xor esi, r11d
not esi
mov dword [rsp + 0xfc], esi
mov esi, r11d
rol esi, 0xf
lea esi, [rsi + rsi*4]
xor ebx, esi
mov esi, r9d
mov r9d, dword [rsp + 0x28]
lea edi, [rbx + rbx*2]
mov ebx, dword [r15 + 0x3c]
xor ebx, r12d
xor ebx, r14d
mov r14d, dword [rsp + 0x30]
xor ebx, edi
mov edi, dword [rsp + 0x84]
rol edi, 1
mov r12d, edi
mov edi, dword [rsp + 0x4c]
xor r12d, ebx
not r12d
add edi, r14d
add r14d, r9d
add r14d, dword [rsp + 0x38]
mov ebp, edi
mov edi, dword [rsp + 0x50]
lea r9d, [rbp + r9]
add edi, dword [rsp + 0x34]
add r8d, r9d
add ebx, r14d
mov r14d, dword [rsp + 0x5c]
mov dword [rsp + 0x74], ebx
mov ebx, dword [rsp + 0x34]
add ebx, dword [rsp + 0x2c]
add ebx, dword [rsp + 0x3c]
add r11d, ebx
mov ebx, dword [rsp + 0x44]
mov dword [rsp + 0xd8], r11d
mov r11d, ebx
add r11d, r14d
add r11d, dword [rsp + 0x20]
add r11d, r10d
mov r10d, dword [rsp + 0x24]
mov dword [rsp + 0xec], r11d
mov r11d, dword [rsp + 0x78]
add r10d, r13d
add r11d, r10d
mov dword [rsp + 0xdc], r11d
mov dword [rsp + 0x7c], r8d
mov r8d, dword [rsp + 0x2c]
mov r11d, dword [rsp + 0x58]
mov r10d, dword [rsp + 0xac]
lea r9d, [rdi + r8]
mov r8d, r14d
add ecx, r9d
add r13d, r11d
lea r9d, [rsi + r14]
mov dword [rsp + 0x80], ecx
add esi, dword [rsp + 0x20]
lea ecx, [r9 + rdx]
mov r9d, dword [rsp + 0x54]
mov dword [rsp + 0x84], ecx
lea ecx, [r13 + rax]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0xa8], ecx
mov ecx, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x24]
sub r9d, dword [r15]
mov edx, dword [rsp + 0x4c]
add ebp, ecx
sub edx, dword [r15 + 8]
add r10d, ebp
mov ebp, dword [rsp + 0x3c]
add r13d, eax
mov dword [rsp + 0xac], r10d
sub eax, dword [r15 + 0xc]
add r13d, r11d
mov r10d, dword [rsp + 0xd4]
mov dword [rsp + 0xd4], r9d
add edi, ebp
mov dword [rsp + 0xe8], eax
add r10d, edi
mov edi, ebx
mov ebx, dword [rsp + 0x34]
mov dword [rsp + 0xb0], r10d
mov r10d, dword [rsp + 0xd0]
sub edi, dword [r15 + 0x10]
mov dword [rsp + 0xd0], edx
sub ebx, dword [r15 + 0x14]
add r10d, esi
mov dword [rsp + 0xb4], r10d
mov r10d, dword [rsp + 0xa0]
mov dword [rsp + 0xcc], edi
add r10d, r13d
mov dword [rsp + 0xa0], r10d
mov r10d, dword [rsp + 0x50]
sub r10d, dword [r15 + 4]
mov dword [rsp + 0xe4], ebx
sub r8d, dword [r15 + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, dword [r15 + 0x30]
sub ecx, dword [r15 + 0x38]
mov r14d, r10d
sub r11d, dword [r15 + 0x3c]
mov dword [rsp + 0x78], r8d
mov eax, dword [rsp + 0x30]
mov edi, dword [rsp + 0x40]
mov dword [rsp + 0xc0], edx
mov edx, ebp
sub eax, dword [r15 + 0x18]
mov dword [rsp + 0xbc], ecx
sub edx, dword [r15 + 0x34]
mov ebp, r11d
sub edi, dword [r15 + 0x1c]
mov esi, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x28]
mov dword [rsp + 0xc8], eax
sub r8d, dword [r15 + 0x28]
mov dword [rsp + 0xe0], edx
sub esi, dword [r15 + 0x24]
mov ebx, dword [rsp + 0x24]
sub ebx, dword [r15 + 0x2c]
add dword [rsp + 0xb8], 1
mov dword [rsp + 0xc4], r8d
jne 0x518008
mov edx, dword [rsp + 0xf8]
mov dword [rsp + 0x58], r12d
mov ecx, dword [rsp + 0x64]
mov r8d, dword [rsp + 0xfc]
mov r12d, dword [rsp + 0xf4]
mov dword [rsp + 0x3c], edx
mov edx, dword [rsp + 0xa4]
mov dword [rsp + 0x44], ecx
mov ecx, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x6c]
mov dword [rsp + 0x38], r8d
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x24], edx
mov edx, dword [rsp + 0x70]
mov r13d, dword [rsp + 0x88]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x30], r9d
add dword [rsp + 0xf0], 1
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x28], edx
mov edx, dword [rsp + 0x9c]
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x2c], edx
mov edx, dword [rsp + 0x98]
mov dword [rsp + 0x5c], edx
mov edx, dword [rsp + 0x94]
mov dword [rsp + 0x40], edx
mov edx, dword [rsp + 0x68]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x54], r13d
xor r13d, r13d
cmp qword [rsp + 0x160], 0
jne 0x516b8f
nop dword [rax + rax]
mov r12d, r14d
vmovd xmm5, dword [rsp + 0xa8]
vpinsrd xmm1, xmm5, dword [rsp + 0x84], 1
vmovd xmm5, dword [rsp + 0xa0]
vpinsrd xmm0, xmm5, dword [rsp + 0xb4], 1
vmovd xmm5, dword [rsp + 0xd4]
vmovd xmm4, dword [rsp + 0x80]
vpinsrd xmm2, xmm4, dword [rsp + 0x7c], 1
vpunpcklqdq xmm1, xmm1, xmm2
vmovd xmm4, dword [rsp + 0xb0]
vpinsrd xmm3, xmm4, dword [rsp + 0xac], 1
vpunpcklqdq xmm0, xmm0, xmm3
vinsertf128 ymm0, ymm0, xmm1, 1
vmovd xmm4, dword [rsp + 0xd0]
vmovups xmmword [r15 + 0x48], xmm0
vpinsrd xmm2, xmm4, dword [rsp + 0xe8], 1
vextractf128 xmmword [r15 + 0x58], ymm0, 1
vmovd xmm4, dword [rsp + 0xd8]
vpinsrd xmm1, xmm5, r12d, 1
vpinsrd xmm3, xmm4, dword [rsp + 0x74], 1
vpunpcklqdq xmm1, xmm1, xmm2
vmovd xmm5, dword [rsp + 0xdc]
vpinsrd xmm0, xmm5, dword [rsp + 0xec], 1
vpunpcklqdq xmm0, xmm0, xmm3
vinsertf128 ymm0, ymm0, xmm1, 1
vmovd xmm4, dword [rsp + 0xc4]
vmovups xmmword [r15 + 0x68], xmm0
vextractf128 xmmword [r15 + 0x78], ymm0, 1
vmovd xmm5, dword [rsp + 0x78]
vmovd xmm3, dword [rsp + 0xc8]
vpinsrd xmm2, xmm4, ebx, 1
vmovd xmm4, dword [rsp + 0xcc]
vpinsrd xmm1, xmm5, esi, 1
vpinsrd xmm0, xmm4, dword [rsp + 0xe4], 1
vpunpcklqdq xmm1, xmm1, xmm2
vmovd xmm5, dword [rsp + 0x4c]
vpinsrd xmm3, xmm3, edi, 1
vpunpcklqdq xmm0, xmm0, xmm3
vinsertf128 ymm0, ymm0, xmm1, 1
vmovd xmm2, dword [rsp + 0x54]
vpinsrd xmm1, xmm5, dword [rsp + 0x48], 1
vmovups xmmword [r15 + 0x88], xmm0
vextractf128 xmmword [r15 + 0x98], ymm0, 1
vmovd xmm3, dword [rsp + 0xbc]
vpinsrd xmm0, xmm2, dword [rsp + 0x50], 1
vpunpcklqdq xmm0, xmm0, xmm1
vmovd xmm4, dword [rsp + 0xc0]
vpinsrd xmm2, xmm4, dword [rsp + 0xe0], 1
mov qword [r15 + 0x40], r13
mov eax, dword [rsp + 0x20]
vpinsrd xmm3, xmm3, ebp, 1
vpunpcklqdq xmm2, xmm2, xmm3
vinsertf128 ymm0, ymm2, xmm0, 1
vmovups xmmword [r15 + 0xa8], xmm0
vmovd xmm5, dword [rsp + 0x28]
vpinsrd xmm2, xmm5, dword [rsp + 0x24], 1
vextractf128 xmmword [r15 + 0xb8], ymm0, 1
vmovd xmm4, dword [rsp + 0x30]
vmovd xmm5, dword [rsp + 0x44]
vpinsrd xmm0, xmm5, dword [rsp + 0x34], 1
mov dword [r15 + 0xe8], eax
mov eax, dword [rsp + 0x3c]
vmovd xmm3, dword [rsp + 0x5c]
vpinsrd xmm1, xmm3, dword [rsp + 0x2c], 1
vpinsrd xmm3, xmm4, dword [rsp + 0x40], 1
vpunpcklqdq xmm1, xmm1, xmm2
vpunpcklqdq xmm0, xmm0, xmm3
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups xmmword [r15 + 0xc8], xmm0
vextractf128 xmmword [r15 + 0xd8], ymm0, 1
mov dword [r15 + 0xec], eax
mov eax, dword [rsp + 0x38]
mov dword [r15 + 0xf0], eax
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0xf4], eax
mov eax, dword [rsp + 0xb8]
mov dword [r15 + 0xfc], eax
mov eax, dword [rsp + 0xf0]
mov dword [r15 + 0xf8], eax
vzeroupper
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0x58], r12d
xor r13d, r13d
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x54], eax
jmp 0x516b80
lea rcx, [rcx + r13]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x160]
add rax, r13
mov qword [r15 + 0x40], rax
jmp 0x517fed
jmp 0x516960