Function at 0x523b80
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 r15, qword [rcx + 0x40]
sub rax, r15
mov qword [rsp + 0x158], rdx
mov rbx, rcx
mov qword [rsp + 0x160], r8
cmp rax, r8
ja 0x521418
mov eax, dword [rcx + 0x48]
mov r13d, dword [rcx + 0x78]
mov r12d, dword [rcx + 0x7c]
mov dword [rsp + 0x90], eax
mov eax, dword [rcx + 0x4c]
mov dword [rsp + 0xbc], eax
mov eax, dword [rcx + 0x50]
mov dword [rsp + 0xb8], eax
mov eax, dword [rcx + 0x54]
mov dword [rsp + 0xb4], eax
mov eax, dword [rcx + 0x58]
mov dword [rsp + 0xb0], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0xac], eax
mov eax, dword [rcx + 0x60]
mov dword [rsp + 0xa8], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0xa4], eax
mov eax, dword [rcx + 0x68]
mov dword [rsp + 0xd4], eax
mov eax, dword [rcx + 0x6c]
mov dword [rsp + 0xf0], eax
mov eax, dword [rcx + 0x70]
mov dword [rsp + 0xd0], eax
mov eax, dword [rcx + 0x74]
mov dword [rsp + 0x70], eax
mov eax, dword [rcx + 0x80]
mov dword [rsp + 0xcc], eax
mov eax, dword [rcx + 0x84]
mov dword [rsp + 0xec], eax
mov eax, dword [rcx + 0x88]
mov dword [rsp + 0xc8], eax
mov eax, dword [rcx + 0x8c]
mov edi, dword [rcx + 0xa0]
mov ebp, dword [rcx + 0xa4]
mov dword [rsp + 0xe8], eax
mov eax, dword [rcx + 0x90]
mov r14d, dword [rcx + 0xb0]
mov dword [rsp + 0x78], eax
mov eax, dword [rcx + 0x94]
mov dword [rsp + 0xe4], eax
mov eax, dword [rcx + 0x98]
mov dword [rsp + 0x7c], eax
mov eax, dword [rcx + 0x9c]
mov dword [rsp + 0xe0], eax
mov eax, dword [rcx + 0xa8]
mov dword [rsp + 0xc4], eax
mov eax, dword [rcx + 0xac]
mov dword [rsp + 0xdc], eax
mov eax, dword [rcx + 0xb4]
mov dword [rsp + 0xd8], eax
mov eax, dword [rcx + 0xb8]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0xbc]
mov dword [rsp + 0x4c], eax
mov eax, dword [rcx + 0xc0]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0xc4]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0xc8]
mov dword [rsp + 0x38], 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 + 0x58], eax
mov eax, dword [rcx + 0xf4]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0xfc]
mov dword [rsp + 0xc0], eax
mov eax, dword [rcx + 0xf8]
mov dword [rsp + 0xf4], eax
je 0x521133
mov esi, r12d
jmp 0x51ff07
cmp qword [rsp + 0x160], 0
je 0x521130
mov r12d, 0x40
mov rdx, qword [rsp + 0x158]
lea rcx, [rbx + r15]
sub r12, r15
cmp r12, qword [rsp + 0x160]
cmova r12, qword [rsp + 0x160]
mov r8, r12
add r15, r12
call sub.msvcrt.dll_memcpy
add qword [rsp + 0x158], r12
sub qword [rsp + 0x160], r12
cmp r15, 0x40
jne 0x51fef8
mov r11d, dword [rbx + 0x2c]
add edi, dword [rbx + 0x28]
mov r10d, edi
add r14d, dword [rbx + 0x38]
mov r8d, dword [rsp + 0x78]
add r11d, ebp
add r8d, dword [rbx + 0x18]
mov eax, dword [rsp + 0xe4]
mov r15d, r10d
add eax, dword [rbx + 0x1c]
mov edi, dword [rsp + 0xc4]
mov dword [rsp + 0x68], r8d
ror r15d, 0xf
add edi, dword [rbx + 0x30]
mov ebp, dword [rsp + 0xdc]
mov dword [rsp + 0x78], eax
mov eax, r14d
add ebp, dword [rbx + 0x34]
mov r9d, dword [rsp + 0xd8]
mov dword [rsp + 0xdc], edi
add r9d, dword [rbx + 0x3c]
mov r14d, ebp
mov edx, dword [rsp + 0xe0]
mov dword [rsp + 0xc4], r10d
add edx, dword [rbx + 0x24]
mov r8d, r9d
mov r9d, edi
ror r14d, 0xf
ror r9d, 0xf
mov r12d, edx
mov r10d, eax
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x94], edx
mov edx, dword [rsp + 0x70]
ror r12d, 0xf
ror r10d, 0xf
mov dword [rsp + 0x80], r9d
mov r9d, r14d
mov r14d, dword [rsp + 0xc0]
rol edx, 0xf
mov edi, dword [rsp + 0x90]
xor edi, dword [rsp + 0x5c]
mov dword [rsp + 0xe4], eax
xor r14d, edi
lea eax, [rdx + rdx*4]
add ecx, dword [rbx + 0x20]
mov dword [rsp + 0xe0], ebp
xor eax, r14d
mov dword [rsp + 0x7c], ecx
mov ecx, r11d
mov dword [rsp + 0xd8], r11d
lea edx, [rax + rax*2]
mov r11d, r8d
ror ecx, 0xf
mov dword [rsp + 0xf8], r8d
mov eax, dword [rbx]
ror r11d, 0xf
add r13d, dword [rbx]
mov edi, dword [rsp + 0xbc]
xor eax, r9d
xor edi, dword [rsp + 0x40]
xor edi, dword [rsp + 0xf4]
xor edx, eax
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0xb4]
ror eax, 0xf
not eax
and eax, r12d
not r12d
mov r14d, eax
xor r14d, edx
mov edx, r13d
mov r13d, dword [rsp + 0x7c]
mov eax, r14d
ror edx, 0xe
mov dword [rsp + 0xfc], r14d
rol eax, 0xf
xor edx, r14d
mov r14d, dword [rbx + 8]
lea eax, [rax + rax*4]
mov dword [rsp + 0x6c], edx
not edx
xor eax, edi
mov edi, dword [rbx + 4]
add esi, dword [rbx + 4]
ror r13d, 0xf
lea ebp, [rax + rax*2]
mov eax, dword [rsp + 0x78]
xor r14d, r11d
xor r8d, dword [rsp + 0x34]
xor edi, r10d
and r12d, dword [rsp + 0x80]
xor r12d, dword [rbx + 0xc]
ror eax, 0xf
xor r12d, edx
not eax
and eax, r15d
xor edi, eax
mov eax, esi
xor edi, ebp
ror eax, 0xe
mov ebp, dword [rsp + 0xb8]
xor ebp, dword [rsp + 0x30]
xor eax, edi
mov esi, eax
not esi
mov dword [rsp + 0x88], esi
mov esi, edi
rol esi, 0xf
lea esi, [rsi + rsi*4]
xor esi, ebp
lea ebp, [rsi + rsi*2]
mov esi, r13d
not esi
and esi, ecx
xor r14d, esi
xor r14d, ebp
mov ebp, dword [rsp + 0xcc]
add ebp, dword [rbx + 8]
mov dword [rsp + 0xcc], edx
mov esi, r14d
ror ebp, 0xe
rol esi, 0xf
xor ebp, r14d
lea esi, [rsi + rsi*4]
mov dword [rsp + 0x74], ebp
not ebp
xor esi, r8d
mov r8d, dword [rsp + 0xec]
add r8d, dword [rbx + 0xc]
lea esi, [rsi + rsi*2]
xor r12d, esi
mov esi, r8d
ror esi, 0xe
mov r8d, r12d
xor esi, r12d
rol r8d, 0xf
mov dword [rsp + 0x84], esi
not esi
mov edx, esi
lea esi, [r8 + r8*4]
mov r8d, dword [rsp + 0xb0]
xor r8d, dword [rsp + 0x38]
xor esi, r8d
mov r8d, r15d
not r8d
lea esi, [rsi + rsi*2]
mov r13d, r8d
mov r8d, dword [rsp + 0xc8]
and r13d, r9d
xor r13d, dword [rbx + 0x10]
xor r13d, dword [rsp + 0x88]
xor r13d, esi
add r8d, dword [rbx + 0x10]
mov dword [rsp + 0x90], edx
mov esi, r8d
mov r8d, r13d
or r9d, dword [rsp + 0x6c]
xor r9d, dword [rbx + 0x1c]
ror esi, 0xe
rol r8d, 0xf
mov dword [rsp + 0xec], ebp
mov r15d, esi
lea esi, [r8 + r8*4]
mov r8d, dword [rsp + 0xac]
xor r8d, dword [rsp + 0x44]
xor r15d, r13d
xor esi, r8d
mov r8d, ecx
mov dword [rsp + 0x8c], r15d
not r8d
not r15d
lea esi, [rsi + rsi*2]
mov dword [rsp + 0x60], r15d
mov r15d, r8d
mov r8d, dword [rsp + 0xe8]
and r15d, r10d
xor r15d, dword [rbx + 0x14]
add r8d, dword [rbx + 0x14]
xor r15d, ebp
mov ecx, r8d
xor r15d, esi
ror ecx, 0xe
mov r8d, r15d
xor ecx, r15d
rol r8d, 0xf
mov dword [rsp + 0xa0], ecx
not ecx
lea esi, [r8 + r8*4]
mov r8d, dword [rsp + 0xa8]
mov dword [rsp + 0x64], ecx
xor r8d, dword [rsp + 0x48]
mov ecx, r8d
mov r8d, dword [rsp + 0x68]
xor ecx, esi
lea esi, [rcx + rcx*2]
mov ecx, dword [rsp + 0x80]
ror r8d, 0xe
not ecx
and ecx, r11d
xor ecx, dword [rbx + 0x18]
xor ecx, edx
mov edx, dword [rsp + 0xa4]
xor edx, dword [rsp + 0x4c]
xor ecx, esi
xor r8d, ecx
mov dword [rsp + 0xa8], r8d
not r8d
mov dword [rsp + 0x68], r8d
mov r8d, ecx
rol r8d, 0xf
lea esi, [r8 + r8*4]
mov r8d, edx
mov edx, dword [rsp + 0xd4]
xor r8d, esi
xor r9d, dword [rsp + 0x60]
mov esi, dword [rsp + 0x78]
or r10d, eax
lea r8d, [r8 + r8*2]
xor edx, dword [rsp + 0x50]
xor r10d, dword [rbx + 0x20]
xor r9d, r8d
ror esi, 0xe
xor r10d, dword [rsp + 0x64]
mov r8d, r9d
mov ebp, r9d
mov dword [rsp + 0xa4], esi
not r8d
xor ebp, esi
mov r9d, r8d
rol r9d, 0xf
lea esi, [r9 + r9*4]
mov r9d, edx
xor r9d, esi
mov esi, dword [rsp + 0x7c]
lea r9d, [r9 + r9*2]
xor r10d, r9d
ror esi, 0xe
mov r9d, r10d
mov edx, r10d
mov dword [rsp + 0xac], esi
not r9d
xor edx, esi
mov r10d, r9d
mov dword [rsp + 0x98], edx
or r11d, dword [rsp + 0x74]
rol r10d, 0xf
mov edx, dword [rsp + 0xf0]
xor edx, dword [rsp + 0x54]
lea esi, [r10 + r10*4]
mov r10d, edx
xor r11d, dword [rbx + 0x24]
xor r11d, dword [rsp + 0x68]
xor r10d, esi
mov esi, dword [rsp + 0x94]
mov dword [rsp + 0x94], ebp
lea r10d, [r10 + r10*2]
xor r11d, r10d
ror esi, 0xe
mov r10d, r11d
mov edx, r11d
mov dword [rsp + 0xb0], esi
not r10d
xor edx, esi
mov r11d, r10d
mov dword [rsp + 0x9c], edx
mov edx, dword [rsp + 0xd0]
rol r11d, 0xf
xor edx, dword [rsp + 0x58]
lea esi, [r11 + r11*4]
mov r11d, dword [rsp + 0x6c]
and r11d, dword [rsp + 0x90]
xor esi, edx
xor r11d, dword [rbx + 0x28]
mov edx, dword [rsp + 0xc4]
xor r11d, ebp
lea esi, [rsi + rsi*2]
xor r11d, esi
ror edx, 0xe
xor edx, r11d
mov ebp, r11d
rol ebp, 0xf
mov dword [rsp + 0xb4], edx
not edx
mov dword [rsp + 0x6c], edx
lea edx, [rbp + rbp*4]
mov ebp, dword [rsp + 0x70]
xor ebp, dword [rsp + 0x3c]
mov esi, ebp
mov ebp, dword [rsp + 0x60]
xor esi, edx
mov edx, dword [rbx + 0x2c]
and ebp, eax
mov eax, dword [rsp + 0xd8]
lea esi, [rsi + rsi*2]
xor edx, ebp
xor edx, dword [rsp + 0x98]
mov ebp, dword [rsp + 0xfc]
xor edx, esi
ror eax, 0xe
xor ebp, dword [rsp + 0x20]
xor eax, edx
mov dword [rsp + 0xb8], eax
not eax
mov dword [rsp + 0x70], eax
mov eax, edx
rol eax, 0xf
lea eax, [rax + rax*4]
xor eax, ebp
mov ebp, dword [rsp + 0x74]
and ebp, dword [rsp + 0x64]
lea esi, [rax + rax*2]
mov eax, dword [rbx + 0x30]
xor eax, ebp
mov ebp, dword [rsp + 0xdc]
xor eax, dword [rsp + 0x9c]
xor eax, esi
ror ebp, 0xe
xor ebp, eax
mov dword [rsp + 0xbc], ebp
not ebp
xor edi, dword [rsp + 0x24]
mov dword [rsp + 0x74], ebp
mov ebp, eax
xor r14d, dword [rsp + 0x28]
rol ebp, 0xf
lea esi, [rbp + rbp*4]
xor edi, esi
lea ebp, [rdi + rdi*2]
mov edi, dword [rsp + 0x84]
and edi, dword [rsp + 0x68]
xor edi, dword [rbx + 0x34]
xor edi, dword [rsp + 0x6c]
xor edi, ebp
mov ebp, dword [rsp + 0xe0]
ror ebp, 0xe
xor ebp, edi
mov dword [rsp + 0xc4], ebp
not ebp
mov dword [rsp + 0x78], ebp
mov ebp, edi
rol ebp, 0xf
lea esi, [rbp + rbp*4]
mov ebp, dword [rsp + 0x8c]
and ebp, dword [rsp + 0x94]
xor r14d, esi
xor ebp, dword [rbx + 0x38]
xor ebp, dword [rsp + 0x70]
lea r14d, [r14 + r14*2]
xor ebp, r14d
mov r14d, dword [rsp + 0xe4]
xor r12d, dword [rsp + 0x2c]
xor r13d, dword [rsp + 0x5c]
ror r14d, 0xe
xor r14d, ebp
mov dword [rsp + 0xc8], r14d
not r14d
mov dword [rsp + 0x7c], r14d
mov r14d, ebp
rol r14d, 0xf
lea esi, [r14 + r14*4]
mov r14d, dword [rsp + 0xf8]
xor r12d, esi
lea esi, [r12 + r12*2]
mov r12d, dword [rsp + 0xa0]
ror r14d, 0xe
and r12d, dword [rsp + 0x98]
xor r12d, dword [rbx + 0x3c]
xor r12d, dword [rsp + 0x74]
xor r12d, esi
xor r14d, r12d
mov dword [rsp + 0xa0], r14d
not r14d
mov dword [rsp + 0x80], r14d
mov r14d, r12d
rol r14d, 0xf
lea esi, [r14 + r14*4]
mov r14d, dword [rsp + 0xa8]
and r14d, dword [rsp + 0x9c]
xor r13d, esi
xor r14d, dword [rbx]
xor r14d, dword [rsp + 0x78]
lea esi, [r13 + r13*2]
mov r13d, dword [rsp + 0xcc]
xor r14d, esi
rol r13d, 1
xor r13d, r14d
mov dword [rsp + 0xa8], r13d
not r13d
mov dword [rsp + 0x84], r13d
mov r13d, r14d
xor r15d, dword [rsp + 0x40]
rol r13d, 0xf
lea esi, [r13 + r13*4]
xor r15d, esi
lea esi, [r15 + r15*2]
mov r15d, dword [rsp + 0xa4]
xor r15d, r8d
and r15d, dword [rsp + 0x6c]
xor r15d, dword [rbx + 4]
xor r15d, dword [rsp + 0x7c]
xor r15d, esi
mov esi, dword [rsp + 0x88]
rol esi, 1
xor esi, r15d
mov dword [rsp + 0xa4], esi
not esi
mov dword [rsp + 0x88], esi
mov esi, r15d
rol esi, 0xf
xor ecx, dword [rsp + 0x30]
xor r8d, dword [rsp + 0x34]
lea esi, [rsi + rsi*4]
xor ecx, esi
lea esi, [rcx + rcx*2]
mov ecx, dword [rsp + 0xac]
xor ecx, r9d
and ecx, dword [rsp + 0x70]
xor ecx, dword [rbx + 8]
xor ecx, dword [rsp + 0x80]
xor r9d, dword [rsp + 0x38]
xor ecx, esi
mov esi, dword [rsp + 0xec]
rol esi, 1
xor esi, ecx
mov dword [rsp + 0xac], esi
not esi
mov dword [rsp + 0x8c], esi
mov esi, ecx
rol esi, 0xf
lea esi, [rsi + rsi*4]
xor r8d, esi
lea esi, [r8 + r8*2]
mov r8d, dword [rsp + 0xb0]
xor r8d, r10d
and r8d, dword [rsp + 0x74]
xor r8d, dword [rbx + 0xc]
xor r8d, dword [rsp + 0x84]
xor r8d, esi
mov esi, dword [rsp + 0x90]
rol esi, 1
xor esi, r8d
mov dword [rsp + 0xb0], esi
not esi
mov dword [rsp + 0x90], esi
mov esi, r8d
rol esi, 0xf
lea esi, [rsi + rsi*4]
xor r9d, esi
lea esi, [r9 + r9*2]
mov r9d, dword [rsp + 0xb4]
and r9d, dword [rsp + 0x78]
xor r9d, dword [rbx + 0x10]
xor r9d, dword [rsp + 0x88]
xor r9d, esi
mov esi, dword [rsp + 0x60]
rol esi, 1
xor esi, r9d
mov dword [rsp + 0xb4], esi
not esi
mov dword [rsp + 0x60], esi
mov esi, r9d
xor r10d, dword [rsp + 0x44]
rol esi, 0xf
lea esi, [rsi + rsi*4]
xor r10d, esi
lea esi, [r10 + r10*2]
mov r10d, dword [rsp + 0xb8]
and r10d, dword [rsp + 0x7c]
xor r10d, dword [rbx + 0x14]
xor r10d, dword [rsp + 0x8c]
xor r10d, esi
mov esi, dword [rsp + 0x64]
xor r11d, dword [rsp + 0x48]
xor edx, dword [rsp + 0x4c]
xor eax, dword [rsp + 0x50]
rol esi, 1
xor esi, r10d
mov dword [rsp + 0xb8], esi
not esi
mov dword [rsp + 0x64], esi
mov esi, r10d
rol esi, 0xf
lea esi, [rsi + rsi*4]
xor r11d, esi
mov esi, dword [rsp + 0x68]
lea r13d, [r11 + r11*2]
mov r11d, dword [rsp + 0xbc]
and r11d, dword [rsp + 0x80]
xor r11d, dword [rbx + 0x18]
xor r11d, dword [rsp + 0x90]
rol esi, 1
xor r11d, r13d
xor esi, r11d
mov dword [rsp + 0xbc], esi
mov r13d, esi
mov esi, r11d
rol esi, 0xf
not r13d
lea esi, [rsi + rsi*4]
mov dword [rsp + 0x68], r13d
mov r13d, dword [rbx + 0x20]
xor edx, esi
mov esi, dword [rsp + 0xc4]
and esi, dword [rsp + 0x84]
lea edx, [rdx + rdx*2]
xor esi, dword [rbx + 0x1c]
xor esi, dword [rsp + 0x60]
xor esi, edx
mov edx, dword [rsp + 0x94]
rol edx, 1
xor edx, esi
mov dword [rsp + 0xc4], edx
not edx
mov dword [rsp + 0x94], edx
mov edx, esi
rol edx, 0xf
lea edx, [rdx + rdx*4]
xor eax, edx
mov edx, dword [rsp + 0xc8]
and edx, dword [rsp + 0x88]
xor r13d, edx
lea eax, [rax + rax*2]
xor r13d, dword [rsp + 0x64]
xor r13d, eax
mov eax, dword [rsp + 0x98]
rol eax, 1
xor eax, r13d
mov dword [rsp + 0xc8], eax
not eax
mov dword [rsp + 0x98], eax
mov eax, r13d
rol eax, 0xf
xor edi, dword [rsp + 0x54]
xor ebp, dword [rsp + 0x58]
lea eax, [rax + rax*4]
xor r12d, dword [rsp + 0x3c]
xor r14d, dword [rsp + 0x20]
xor edi, eax
lea eax, [rdi + rdi*2]
mov edi, dword [rsp + 0xa0]
and edi, dword [rsp + 0x8c]
xor edi, dword [rbx + 0x24]
xor edi, dword [rsp + 0x68]
xor edi, eax
mov eax, dword [rsp + 0x9c]
rol eax, 1
xor eax, edi
mov dword [rsp + 0xa0], eax
not eax
mov dword [rsp + 0x9c], eax
mov eax, edi
rol eax, 0xf
lea eax, [rax + rax*4]
xor ebp, eax
lea eax, [rbp + rbp*2]
mov ebp, dword [rsp + 0xa8]
and ebp, dword [rsp + 0x90]
xor ebp, dword [rbx + 0x28]
xor ebp, dword [rsp + 0x94]
xor ebp, eax
mov eax, dword [rsp + 0x6c]
rol eax, 1
xor eax, ebp
mov dword [rsp + 0xa8], eax
not eax
mov dword [rsp + 0x6c], eax
mov eax, ebp
rol eax, 0xf
lea eax, [rax + rax*4]
xor r12d, eax
lea eax, [r12 + r12*2]
mov r12d, dword [rsp + 0xa4]
and r12d, dword [rsp + 0x60]
xor r12d, dword [rbx + 0x2c]
xor r12d, dword [rsp + 0x98]
xor r12d, eax
mov eax, dword [rsp + 0x70]
rol eax, 1
xor eax, r12d
mov dword [rsp + 0xa4], eax
not eax
mov dword [rsp + 0x70], eax
mov eax, r12d
rol eax, 0xf
lea eax, [rax + rax*4]
xor r14d, eax
mov eax, dword [rsp + 0xac]
and eax, dword [rsp + 0x64]
lea edx, [r14 + r14*2]
xor eax, dword [rbx + 0x30]
xor eax, dword [rsp + 0x9c]
xor eax, edx
mov edx, dword [rsp + 0x74]
mov r14d, eax
rol edx, 1
rol r14d, 0xf
xor edx, eax
mov dword [rsp + 0xac], edx
not edx
mov dword [rsp + 0x74], edx
xor r15d, dword [rsp + 0x24]
lea edx, [r14 + r14*4]
xor r15d, edx
mov edx, dword [rsp + 0xb0]
and edx, dword [rsp + 0x68]
lea r14d, [r15 + r15*2]
xor edx, dword [rbx + 0x34]
xor edx, dword [rsp + 0x6c]
xor edx, r14d
mov r14d, dword [rsp + 0x78]
xor ecx, dword [rsp + 0x28]
xor r8d, dword [rsp + 0x2c]
rol r14d, 1
mov r15d, r14d
xor r15d, edx
mov dword [rsp + 0xb0], r15d
not r15d
mov dword [rsp + 0x78], r15d
mov r15d, edx
rol r15d, 0xf
lea r14d, [r15 + r15*4]
xor ecx, r14d
lea r14d, [rcx + rcx*2]
mov ecx, dword [rsp + 0xb4]
and ecx, dword [rsp + 0x94]
xor ecx, dword [rbx + 0x38]
xor ecx, dword [rsp + 0x70]
xor ecx, r14d
mov r14d, dword [rsp + 0x7c]
rol r14d, 1
xor r14d, ecx
mov dword [rsp + 0xb4], r14d
mov r15d, r14d
mov r14d, ecx
rol r14d, 0xf
not r15d
lea r14d, [r14 + r14*4]
mov dword [rsp + 0x7c], r15d
xor r8d, r14d
lea r14d, [r8 + r8*2]
mov r8d, dword [rsp + 0xb8]
and r8d, dword [rsp + 0x98]
xor r8d, dword [rbx + 0x3c]
xor r8d, dword [rsp + 0x74]
xor r8d, r14d
mov r14d, dword [rsp + 0x80]
rol r14d, 1
xor r14d, r8d
mov dword [rsp + 0xb8], r14d
not r14d
mov r15d, r14d
mov r14d, r8d
rol r14d, 0xf
xor r9d, dword [rsp + 0x5c]
xor r10d, dword [rsp + 0x40]
lea r14d, [r14 + r14*4]
xor r9d, r14d
lea r14d, [r9 + r9*2]
mov r9d, dword [rsp + 0xbc]
and r9d, dword [rsp + 0x9c]
xor r9d, dword [rbx]
xor r9d, dword [rsp + 0x78]
xor r9d, r14d
mov r14d, dword [rsp + 0x84]
rol r14d, 1
xor r14d, r9d
mov dword [rsp + 0xbc], r14d
not r14d
mov dword [rsp + 0x80], r14d
mov r14d, r9d
rol r14d, 0xf
lea r14d, [r14 + r14*4]
xor r10d, r14d
lea r14d, [r10 + r10*2]
mov r10d, dword [rsp + 0xc4]
xor esi, dword [rsp + 0x34]
and r10d, dword [rsp + 0x6c]
xor r10d, dword [rbx + 4]
xor r10d, dword [rsp + 0x7c]
xor r11d, dword [rsp + 0x30]
xor r10d, r14d
mov r14d, dword [rsp + 0x88]
rol r14d, 1
xor r14d, r10d
mov dword [rsp + 0xc4], r14d
not r14d
mov dword [rsp + 0x84], r14d
mov r14d, r10d
rol r14d, 0xf
lea r14d, [r14 + r14*4]
xor r11d, r14d
lea r14d, [r11 + r11*2]
mov r11d, dword [rsp + 0xc8]
and r11d, dword [rsp + 0x70]
xor r11d, dword [rbx + 8]
xor r11d, r15d
xor r11d, r14d
mov r14d, dword [rsp + 0x8c]
rol r14d, 1
xor r14d, r11d
mov dword [rsp + 0xc8], r14d
not r14d
mov dword [rsp + 0x88], r14d
mov r14d, r11d
rol r14d, 0xf
lea r14d, [r14 + r14*4]
xor esi, r14d
lea r14d, [rsi + rsi*2]
mov esi, dword [rsp + 0xa0]
and esi, dword [rsp + 0x74]
xor esi, dword [rbx + 0xc]
xor esi, dword [rsp + 0x80]
xor esi, r14d
mov r14d, dword [rsp + 0x90]
xor r13d, dword [rsp + 0x38]
rol r14d, 1
xor r14d, esi
mov dword [rsp + 0xcc], r14d
not r14d
mov dword [rsp + 0x8c], r14d
mov r14d, esi
rol r14d, 0xf
lea r14d, [r14 + r14*4]
xor r13d, r14d
mov r14d, dword [rsp + 0xa8]
and r14d, dword [rsp + 0x78]
lea r13d, [r13 + r13*2]
xor r14d, dword [rbx + 0x10]
xor r14d, dword [rsp + 0x84]
xor r14d, r13d
mov dword [rsp + 0x90], r14d
mov r14d, dword [rsp + 0x60]
rol r14d, 1
mov r13d, r14d
mov r14d, dword [rsp + 0x90]
xor r13d, r14d
mov dword [rsp + 0xa8], r13d
not r13d
mov dword [rsp + 0x60], r13d
mov r13d, r14d
xor edi, dword [rsp + 0x44]
rol r13d, 0xf
xor ebp, dword [rsp + 0x48]
xor r12d, dword [rsp + 0x4c]
lea r13d, [r13 + r13*4]
xor edi, r13d
mov r13d, dword [rsp + 0xa4]
and r13d, dword [rsp + 0x7c]
lea edi, [rdi + rdi*2]
xor r13d, dword [rbx + 0x14]
xor r13d, dword [rsp + 0x88]
xor r13d, edi
mov edi, dword [rsp + 0x64]
rol edi, 1
mov r14d, edi
mov edi, r13d
xor r14d, r13d
mov dword [rsp + 0xd8], edi
rol edi, 0xf
mov r13d, r14d
not r14d
lea edi, [rdi + rdi*4]
mov dword [rsp + 0x64], r14d
mov r14d, dword [rsp + 0xac]
xor ebp, edi
mov edi, dword [rbx + 0x18]
lea ebp, [rbp + rbp*2]
and r14d, r15d
xor edi, r14d
xor edi, dword [rsp + 0x8c]
mov r14d, dword [rbx + 0x1c]
xor edi, ebp
mov ebp, edi
mov edi, dword [rsp + 0x68]
mov dword [rsp + 0xdc], ebp
rol edi, 1
xor edi, ebp
rol ebp, 0xf
not edi
mov dword [rsp + 0x68], edi
lea edi, [rbp + rbp*4]
mov ebp, dword [rsp + 0xb0]
xor r12d, edi
and ebp, dword [rsp + 0x80]
xor eax, dword [rsp + 0x50]
xor r14d, ebp
xor r14d, dword [rsp + 0x60]
lea edi, [r12 + r12*2]
xor edx, dword [rsp + 0x54]
mov ebp, r14d
mov r14d, dword [rsp + 0x64]
xor ebp, edi
mov edi, dword [rsp + 0x94]
mov r12d, ebp
rol edi, 1
mov dword [rsp + 0xe0], r12d
xor edi, ebp
mov ebp, edi
not ebp
mov dword [rsp + 0x94], ebp
mov ebp, r12d
rol ebp, 0xf
lea edi, [rbp + rbp*4]
xor eax, edi
lea edi, [rax + rax*2]
mov eax, dword [rsp + 0xb4]
and eax, dword [rsp + 0x84]
xor eax, dword [rbx + 0x20]
xor eax, r14d
xor eax, edi
mov edi, dword [rsp + 0x98]
rol edi, 1
xor edi, eax
mov r12d, edi
not r12d
mov ebp, r12d
mov r12d, eax
rol r12d, 0xf
lea edi, [r12 + r12*4]
mov r12d, dword [rsp + 0xb8]
and r12d, dword [rsp + 0x88]
xor edx, edi
lea edi, [rdx + rdx*2]
mov edx, dword [rbx + 0x24]
xor ecx, dword [rsp + 0x58]
xor edx, r12d
xor edx, dword [rsp + 0x68]
xor edx, edi
mov edi, dword [rsp + 0x9c]
rol edi, 1
xor edi, edx
mov r12d, edi
not r12d
mov dword [rsp + 0x98], r12d
mov r12d, edx
rol r12d, 0xf
lea edi, [r12 + r12*4]
xor ecx, edi
lea edi, [rcx + rcx*2]
mov ecx, dword [rsp + 0xbc]
and ecx, dword [rsp + 0x8c]
xor ecx, dword [rbx + 0x28]
xor ecx, dword [rsp + 0x94]
xor ecx, edi
mov edi, dword [rsp + 0x6c]
mov dword [rsp + 0x6c], ebp
mov r12d, ecx
rol edi, 1
rol r12d, 0xf
xor r8d, dword [rsp + 0x3c]
xor r9d, dword [rsp + 0x20]
xor edi, ecx
xor r10d, dword [rsp + 0x24]
xor r11d, dword [rsp + 0x28]
not edi
mov dword [rsp + 0x9c], edi
lea edi, [r12 + r12*4]
xor r8d, edi
lea edi, [r8 + r8*2]
mov r8d, dword [rsp + 0xc4]
and r8d, dword [rsp + 0x60]
xor r8d, dword [rbx + 0x2c]
xor r8d, ebp
xor r8d, edi
mov edi, dword [rsp + 0x70]
mov ebp, r8d
rol edi, 1
rol ebp, 0xf
xor edi, r8d
not edi
mov dword [rsp + 0xa0], edi
lea edi, [rbp + rbp*4]
xor r9d, edi
lea edi, [r9 + r9*2]
mov r9d, dword [rsp + 0xc8]
and r9d, r14d
xor r9d, dword [rbx + 0x30]
xor r9d, dword [rsp + 0x98]
xor r9d, edi
mov edi, dword [rsp + 0x74]
rol edi, 1
xor edi, r9d
not edi
mov dword [rsp + 0x74], edi
mov edi, r9d
rol edi, 0xf
lea edi, [rdi + rdi*4]
xor r10d, edi
lea edi, [r10 + r10*2]
mov r10d, dword [rsp + 0xcc]
and r10d, dword [rsp + 0x68]
xor r10d, dword [rbx + 0x34]
xor r10d, dword [rsp + 0x9c]
xor r10d, edi
mov edi, dword [rsp + 0x78]
rol edi, 1
xor edi, r10d
not edi
mov dword [rsp + 0xf8], edi
mov edi, r10d
rol edi, 0xf
lea edi, [rdi + rdi*4]
xor r11d, edi
lea edi, [r11 + r11*2]
mov r11d, dword [rsp + 0xa8]
mov ebp, dword [rsp + 0x50]
and r11d, dword [rsp + 0x94]
xor r11d, dword [rbx + 0x38]
rol r15d, 1
xor r11d, dword [rsp + 0xa0]
xor esi, dword [rsp + 0x2c]
mov r12d, r15d
xor r11d, edi
mov edi, dword [rsp + 0x7c]
and r13d, dword [rsp + 0x6c]
mov r15d, dword [rsp + 0x44]
add r15d, dword [rsp + 0x40]
rol edi, 1
add ebp, dword [rsp + 0x38]
mov r14d, r15d
mov r15d, dword [rsp + 0x30]
xor edi, r11d
not edi
mov dword [rsp + 0xfc], edi
mov edi, r11d
rol edi, 0xf
lea edi, [rdi + rdi*4]
xor esi, edi
lea edi, [rsi + rsi*2]
mov esi, dword [rbx + 0x3c]
xor esi, r13d
xor esi, dword [rsp + 0x74]
mov r13d, dword [rsp + 0x48]
xor esi, edi
mov edi, dword [rsp + 0x4c]
add edi, dword [rsp + 0x34]
mov dword [rsp + 0x78], edi
mov edi, ebp
mov ebp, dword [rsp + 0x58]
add r13d, r15d
add r15d, dword [rsp + 0x28]
xor r12d, esi
add r15d, ebp
not r12d
add esi, r15d
mov r15d, dword [rsp + 0x5c]
mov dword [rsp + 0x70], esi
mov esi, dword [rsp + 0x34]
add esi, dword [rsp + 0x2c]
add esi, dword [rsp + 0x3c]
add r11d, esi
mov dword [rsp + 0xd0], r11d
mov r11d, dword [rsp + 0x38]
add r11d, r15d
add r11d, dword [rsp + 0x20]
add r11d, r10d
mov dword [rsp + 0xf0], r11d
mov r11d, dword [rsp + 0x24]
mov r10d, r11d
add r10d, r14d
add r9d, r10d
mov dword [rsp + 0xd4], r9d
mov r10d, dword [rsp + 0x28]
mov esi, dword [rsp + 0x2c]
lea r9d, [r13 + r10]
mov r10d, dword [rsp + 0x48]
add r9d, r8d
mov r8d, dword [rsp + 0x78]
mov dword [rsp + 0xa4], r9d
mov r9d, dword [rsp + 0x54]
add esi, r8d
add ecx, esi
add r14d, r9d
add r13d, ebp
mov esi, dword [rsp + 0x90]
mov dword [rsp + 0xa8], ecx
mov ecx, r15d
lea r15d, [rdi + r15]
add edi, dword [rsp + 0x20]
add edx, r15d
sub r10d, dword [rbx + 8]
mov dword [rsp + 0xac], edx
lea edx, [r14 + rax]
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0xb0], edx
mov edx, ebp
mov ebp, r8d
mov r8d, dword [rsp + 0x3c]
add eax, r13d
mov dword [rsp + 0xcc], r10d
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xdc]
add ebp, r8d
add eax, ebp
mov ebp, dword [rsp + 0x50]
sub ebp, dword [rbx]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xd8]
mov r13d, ebp
add eax, edi
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x44]
mov r14d, eax
sub eax, dword [rbx + 0xc]
add r14d, r11d
mov r11d, dword [rsp + 0x38]
sub r11d, dword [rbx + 0x10]
mov dword [rsp + 0xec], eax
add r14d, r9d
mov dword [rsp + 0xc8], r11d
mov eax, dword [rsp + 0x34]
add esi, r14d
mov dword [rsp + 0x90], esi
mov esi, dword [rsp + 0x4c]
sub esi, dword [rbx + 4]
sub eax, dword [rbx + 0x14]
sub ecx, dword [rbx + 0x20]
mov r15d, dword [rsp + 0x30]
mov dword [rsp + 0xe8], eax
sub r15d, dword [rbx + 0x18]
sub r8d, dword [rbx + 0x34]
mov dword [rsp + 0x7c], ecx
mov ecx, edx
sub r9d, dword [rbx + 0x3c]
sub ecx, dword [rbx + 0x38]
mov dword [rsp + 0x78], r15d
mov eax, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x2c]
mov r14d, ecx
mov dword [rsp + 0xdc], r8d
sub eax, dword [rbx + 0x1c]
sub r15d, dword [rbx + 0x24]
mov dword [rsp + 0xd8], r9d
mov edi, dword [rsp + 0x28]
mov r11d, dword [rsp + 0x24]
mov dword [rsp + 0xe4], eax
sub r11d, dword [rbx + 0x2c]
mov r10d, dword [rsp + 0x20]
mov dword [rsp + 0xe0], r15d
sub r10d, dword [rbx + 0x30]
sub edi, dword [rbx + 0x28]
mov ebp, r11d
add dword [rsp + 0xc0], 1
mov dword [rsp + 0xc4], r10d
jne 0x521370
mov r8d, dword [rsp + 0xf8]
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x54], r12d
xor r15d, r15d
mov r9d, dword [rsp + 0xfc]
mov edx, dword [rsp + 0x88]
mov dword [rsp + 0x3c], r8d
mov r8d, dword [rsp + 0x74]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0x34], ecx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x24], r8d
mov r8d, dword [rsp + 0x9c]
mov dword [rsp + 0x38], ecx
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x28], r8d
mov r8d, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x8c]
mov r12d, dword [rsp + 0x80]
mov dword [rsp + 0x58], r9d
mov dword [rsp + 0x2c], r8d
mov r8d, dword [rsp + 0x6c]
add dword [rsp + 0xf4], 1
mov dword [rsp + 0x5c], r8d
mov r8d, dword [rsp + 0x94]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], r12d
cmp qword [rsp + 0x160], 0
jne 0x51ff07
nop dword [rax + rax]
mov r12d, esi
movd xmm2, dword [rsp + 0xb4]
movd xmm3, dword [rsp + 0xbc]
movd xmm1, dword [rsp + 0xb8]
movd xmm0, dword [rsp + 0x90]
movd xmm4, dword [rsp + 0xa4]
movd xmm5, dword [rsp + 0xac]
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
movd xmm2, dword [rsp + 0x70]
movd xmm3, dword [rsp + 0xf0]
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0xa8]
movups xmmword [rbx + 0x48], xmm0
movd xmm0, dword [rsp + 0xb0]
punpckldq xmm1, xmm4
movd xmm4, dword [rsp + 0xec]
punpckldq xmm0, xmm5
movd xmm5, r12d
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0xd0]
movups xmmword [rbx + 0x58], xmm0
movd xmm0, dword [rsp + 0xd4]
punpckldq xmm1, xmm2
movd xmm2, dword [rsp + 0xe4]
punpckldq xmm0, xmm3
movd xmm3, dword [rsp + 0xe8]
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0xcc]
movups xmmword [rbx + 0x68], xmm0
movd xmm0, r13d
punpckldq xmm1, xmm4
punpckldq xmm0, xmm5
movd xmm4, ebp
movd xmm5, dword [rsp + 0xe0]
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0x78]
movups xmmword [rbx + 0x78], xmm0
movd xmm0, dword [rsp + 0xc8]
punpckldq xmm1, xmm2
movd xmm2, dword [rsp + 0xd8]
punpckldq xmm0, xmm3
movd xmm3, dword [rsp + 0xdc]
punpcklqdq xmm0, xmm1
movd xmm1, edi
movups xmmword [rbx + 0x88], xmm0
movd xmm0, dword [rsp + 0x7c]
punpckldq xmm1, xmm4
movd xmm4, dword [rsp + 0x44]
punpckldq xmm0, xmm5
punpcklqdq xmm0, xmm1
movd xmm1, r14d
movups xmmword [rbx + 0x98], xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0xc4]
punpckldq xmm0, xmm3
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0x48]
movups xmmword [rbx + 0xa8], xmm0
movd xmm0, dword [rsp + 0x50]
movd xmm5, dword [rsp + 0x4c]
punpckldq xmm1, xmm4
movd xmm2, dword [rsp + 0x40]
movd xmm3, dword [rsp + 0x34]
mov qword [rbx + 0x40], r15
punpckldq xmm0, xmm5
movd xmm4, dword [rsp + 0x24]
movd xmm5, dword [rsp + 0x2c]
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0x30]
mov eax, dword [rsp + 0xc0]
movups xmmword [rbx + 0xb8], xmm0
movd xmm0, dword [rsp + 0x38]
punpckldq xmm1, xmm2
mov dword [rbx + 0xfc], eax
movd xmm2, dword [rsp + 0x54]
punpckldq xmm0, xmm3
mov eax, dword [rsp + 0xf4]
movd xmm3, dword [rsp + 0x3c]
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0x28]
movups xmmword [rbx + 0xc8], xmm0
movd xmm0, dword [rsp + 0x5c]
punpckldq xmm1, xmm4
mov dword [rbx + 0xf8], eax
punpckldq xmm0, xmm5
punpcklqdq xmm0, xmm1
movd xmm1, dword [rsp + 0x58]
movups xmmword [rbx + 0xd8], xmm0
movd xmm0, dword [rsp + 0x20]
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
punpcklqdq xmm0, xmm1
movups xmmword [rbx + 0xe8], xmm0
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 + 0x54], r12d
xor r15d, r15d
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
jmp 0x51fef8
lea rcx, [rcx + r15]
call sub.msvcrt.dll_memcpy
add r15, qword [rsp + 0x160]
mov qword [rbx + 0x40], r15
jmp 0x521353
jmp 0x51fcd0