Function at 0x597840
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, 0x78
mov rsi, qword [rsp + 0xe0]
mov eax, r8d
mov r15, rdx
mov edx, 0xaaaaaaab
mov rbx, rcx
add eax, 2
mov r12d, dword [rbx]
mov rdi, r9
mov dword [rsp + 0xd0], r8d
imul rax, rdx
shr rax, 0x21
add eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xe8]
mov rbp, qword [rax]
mov ecx, dword [rax + 0x20]
mov dword [rbp + 0x80], r12d
mov r11d, dword [rbx + 4]
mov eax, ecx
lea r13, [rbp + 0x80]
mov dword [rsp + 0x3c], ecx
shr eax, 7
mov dword [rbp + 0x84], r11d
mov r10d, dword [rbx + 8]
mov dword [rsp + 0x30], eax
mov dword [rbp + 0x88], r10d
mov r9d, dword [rbx + 0xc]
mov dword [rsp + 0x40], r11d
mov dword [rbp + 0x8c], r9d
mov r14d, dword [rbx + 0x10]
mov dword [rsp + 0x48], r10d
mov dword [rbp + 0x90], r14d
mov r8d, dword [rbx + 0x14]
mov dword [rsp + 0x50], r9d
mov dword [rbp + 0x94], r8d
mov edx, dword [rbx + 0x18]
shl r8, 0x20
or r12, r8
mov dword [rbp + 0x98], edx
mov ecx, dword [rbx + 0x1c]
mov dword [rsp + 0x60], edx
mov dword [rbp + 0x9c], ecx
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x64], eax
mov dword [rbp + 0xa0], eax
mov edx, dword [rbx + 0x24]
mov r8, qword [rsp + 0x50]
mov dword [rbp + 0xa4], edx
mov r11d, dword [rbx + 0x28]
shl rdx, 0x20
shl r8, 0x20
or rdx, r14
mov r14, qword [rsp + 0x58]
mov dword [rbp + 0xa8], r11d
mov r9d, dword [rbx + 0x2c]
shl r14, 0x20
mov dword [rbp + 0xac], r9d
mov dword [rsp + 0x68], r9d
mov r9d, dword [rbx + 0x30]
mov dword [rbp + 0xb0], r9d
mov eax, dword [rbx + 0x34]
mov dword [rbp + 0xb4], eax
mov r10d, dword [rbx + 0x38]
shl rax, 0x20
mov dword [rbp + 0xb8], r10d
or r10, r8
mov ecx, dword [rbx + 0x3c]
mov r8d, 1
mov qword [rbp + 0x18], r10
mov r10, qword [rsp + 0x40]
mov qword [rbp + 0x10], rdx
mov edx, dword [rsp + 0x64]
shl r10, 0x20
mov dword [rbp + 0xbc], ecx
shl rcx, 0x20
or rax, rdx
or r9, r10
mov edx, dword [rsp + 0x48]
mov r10, qword [rsp + 0x68]
mov qword [rbp + 0x20], rax
mov rax, r14
or rcx, r11
or rax, rdx
shl r10, 0x20
mov edx, dword [rsp + 0x60]
mov qword [rbp], r12
mov qword [rbp + 0x28], rax
mov rax, r10
lea r12, [rbp + 0x100]
or rax, rdx
mov qword [rbp + 0x30], r9
mov qword [rbp + 8], rcx
mov qword [rbp + 0x38], rax
mov ecx, dword [rbx + 0x40]
mov dword [rbp + 0x80], ecx
mov eax, dword [rbx + 0x44]
mov dword [rbp + 0x84], eax
mov eax, dword [rbx + 0x48]
mov dword [rbp + 0x88], eax
mov eax, dword [rbx + 0x4c]
mov dword [rbp + 0x8c], eax
mov eax, dword [rbx + 0x50]
mov dword [rbp + 0x90], eax
mov edx, dword [rbx + 0x54]
mov dword [rbp + 0x94], edx
mov eax, dword [rbx + 0x58]
shl rdx, 0x20
or rdx, rcx
mov rcx, rbp
mov dword [rbp + 0x98], eax
mov eax, dword [rbx + 0x5c]
mov dword [rbp + 0x9c], eax
mov eax, dword [rbx + 0x60]
mov dword [rbp + 0xa0], eax
mov eax, dword [rbx + 0x64]
mov dword [rbp + 0xa4], eax
mov eax, dword [rbx + 0x68]
mov dword [rbp + 0xa8], eax
mov eax, dword [rbx + 0x6c]
mov dword [rbp + 0xac], eax
mov eax, dword [rbx + 0x70]
mov dword [rbp + 0xb0], eax
mov eax, dword [rbx + 0x74]
mov dword [rbp + 0xb4], eax
mov eax, dword [rbx + 0x78]
mov dword [rbp + 0xb8], eax
mov eax, dword [rbx + 0x7c]
mov qword [rbp + 0x40], rdx
mov edx, dword [rbp + 0xa8]
mov dword [rbp + 0xbc], eax
shl rax, 0x20
or rax, rdx
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0xa4]
mov edx, dword [rbp + 0x90]
shl rax, 0x20
or rax, rdx
mov edx, dword [rbp + 0xb8]
mov qword [rbp + 0x50], rax
mov eax, dword [rbp + 0x8c]
shl rax, 0x20
or rax, rdx
mov edx, dword [rbp + 0xa0]
mov qword [rbp + 0x58], rax
mov eax, dword [rbp + 0xb4]
shl rax, 0x20
or rax, rdx
mov edx, dword [rbp + 0x88]
mov qword [rbp + 0x60], rax
mov eax, dword [rbp + 0x9c]
shl rax, 0x20
xor r9d, r9d
or rax, rdx
mov edx, dword [rbp + 0xb0]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x84]
shl rax, 0x20
or rax, rdx
mov edx, dword [rbp + 0x98]
mov qword [rbp + 0x70], rax
mov eax, dword [rbp + 0xac]
shl rax, 0x20
or rax, rdx
mov rdx, r13
mov qword [rbp + 0x78], rax
call fcn.005928a0
mov rcx, r13
xor r9d, r9d
mov rdx, r12
mov r8d, 1
call fcn.005928a0
mov ecx, dword [rsp + 0x30]
mov eax, dword [rbp + 0x140]
cmp ecx, 2
jbe 0x597c40
mov edx, dword [rsp + 0x3c]
sub ecx, 1
mov qword [rsp + 0xc0], rbx
mov r9d, 2
mov dword [rsp + 0x40], ecx
shr edx, 8
mov dword [rsp + 0x3c], edx
cmp r9d, dword [rsp + 0x3c]
jb 0x597c34
mov r10d, dword [rsp + 0x40]
sub r10d, r9d
cmp r10d, 1
jbe 0x597c18
lea r13d, [r9 - 1]
mov rbx, r12
mov r11d, 1
nop word [rax + rax]
and eax, r13d
lea r14, [rbx + 0x80]
mov rcx, rbx
add rbx, 0x100
lea edx, [r11 + rax - 1]
mov r8, r14
shl rdx, 7
add rdx, rbp
call fcn.00597400
mov r8, rbx
mov rcx, r14
and eax, r13d
lea edx, [rax + r11]
shl rdx, 7
add rdx, rbp
call fcn.00597400
add r11d, 2
cmp r11d, r10d
jb 0x597bb0
lea edx, [r10 - 2]
mov ecx, 0x100
shr edx, 1
add rdx, 1
shl rdx, 8
cmp r10d, 1
cmovbe rdx, rcx
add r12, rdx
lea edx, [r9 + r9]
cmp dword [rsp + 0x30], edx
jbe 0x598228
mov r9d, edx
cmp r9d, dword [rsp + 0x3c]
jae 0x597b8c
mov r10d, r9d
jmp 0x597b9a
xor eax, eax
xor r10d, r10d
mov r9d, 1
mov ecx, dword [rsp + 0x30]
lea r11, [r12 + 0x80]
mov r8, r11
sub ecx, r9d
lea edx, [rcx + rax - 2]
mov r9d, ecx
mov rcx, r12
mov r12, r15
shl rdx, 7
shl r12, 7
add rdx, rbp
lea r14, [rdi + r12]
call fcn.00597400
mov r8, rsi
and r10d, eax
mov rcx, r11
lea edx, [r9 + r10 - 1]
shl rdx, 7
add rdx, rbp
mov ebp, 1
call fcn.00597400
mov rdx, qword [rsi + 8]
mov rax, qword [rsi]
mov qword [rsi + 0x88], rdx
mov rdx, qword [rsi + 0x10]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdx
mov rdx, qword [rsi + 0x18]
mov qword [rsi + 0x98], rdx
mov rdx, qword [rsi + 0x20]
mov qword [rsi + 0xa0], rdx
mov rdx, qword [rsi + 0x28]
mov qword [rsi + 0xa8], rdx
mov rdx, qword [rsi + 0x30]
mov qword [rsi + 0xb0], rdx
mov rdx, qword [rsi + 0x38]
mov qword [rsi + 0xb8], rdx
mov dword [rbx], eax
mov eax, dword [rsi + 0xb4]
mov dword [rbx + 4], eax
mov rax, qword [rsi + 0xa8]
mov dword [rbx + 8], eax
mov eax, dword [rsi + 0x9c]
mov dword [rbx + 0xc], eax
mov rax, qword [rsi + 0x90]
mov dword [rbx + 0x10], eax
mov eax, dword [rsi + 0x84]
mov dword [rbx + 0x14], eax
mov rax, qword [rsi + 0xb8]
mov dword [rbx + 0x18], eax
mov eax, dword [rsi + 0xac]
mov dword [rbx + 0x1c], eax
mov rax, qword [rsi + 0xa0]
mov dword [rbx + 0x20], eax
mov eax, dword [rsi + 0x94]
mov dword [rbx + 0x24], eax
mov rax, qword [rsi + 0x88]
mov dword [rbx + 0x28], eax
mov eax, dword [rsi + 0xbc]
mov dword [rbx + 0x2c], eax
mov rax, qword [rsi + 0xb0]
mov dword [rbx + 0x30], eax
mov eax, dword [rsi + 0xa4]
mov dword [rbx + 0x34], eax
mov rax, qword [rsi + 0x98]
mov dword [rbx + 0x38], eax
mov eax, dword [rsi + 0x8c]
mov dword [rbx + 0x3c], eax
mov rdx, qword [rsi + 0x48]
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x88], rdx
mov rdx, qword [rsi + 0x50]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdx
mov rdx, qword [rsi + 0x58]
mov qword [rsi + 0x98], rdx
mov rdx, qword [rsi + 0x60]
mov qword [rsi + 0xa0], rdx
mov rdx, qword [rsi + 0x68]
mov qword [rsi + 0xa8], rdx
mov rdx, qword [rsi + 0x70]
mov qword [rsi + 0xb0], rdx
mov rdx, qword [rsi + 0x78]
mov qword [rsi + 0xb8], rdx
mov dword [rbx + 0x40], eax
mov eax, dword [rsi + 0xb4]
mov dword [rbx + 0x44], eax
mov rax, qword [rsi + 0xa8]
mov edx, dword [rbx]
mov dword [rbx + 0x48], eax
mov eax, dword [rsi + 0x9c]
mov dword [rbx + 0x4c], eax
mov rax, qword [rsi + 0x90]
mov dword [rbx + 0x50], eax
mov eax, dword [rsi + 0x84]
mov dword [rbx + 0x54], eax
mov rax, qword [rsi + 0xb8]
mov dword [rbx + 0x58], eax
mov eax, dword [rsi + 0xac]
mov dword [rbx + 0x5c], eax
mov rax, qword [rsi + 0xa0]
mov dword [rbx + 0x60], eax
mov eax, dword [rsi + 0x94]
mov dword [rbx + 0x64], eax
mov rax, qword [rsi + 0x88]
mov dword [rbx + 0x68], eax
mov eax, dword [rsi + 0xbc]
mov dword [rbx + 0x6c], eax
mov rax, qword [rsi + 0xb0]
mov dword [rbx + 0x70], eax
mov eax, dword [rsi + 0xa4]
mov dword [rbx + 0x74], eax
mov rax, qword [rsi + 0x98]
mov dword [rbx + 0x78], eax
mov eax, dword [rsi + 0x8c]
mov dword [rbx + 0x7c], eax
lea rax, [r15 + r15]
mov dword [r14], edx
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 4]
mov dword [r14 + 4], eax
mov eax, dword [rbx + 8]
mov dword [r14 + 8], eax
mov eax, dword [rbx + 0xc]
mov dword [r14 + 0xc], eax
mov eax, dword [rbx + 0x10]
mov dword [r14 + 0x10], eax
mov eax, dword [rbx + 0x14]
mov dword [r14 + 0x14], eax
mov ecx, dword [rbx + 0x18]
shl rax, 0x20
or rax, rdx
mov dword [r14 + 0x18], ecx
mov ecx, dword [rbx + 0x1c]
mov dword [r14 + 0x1c], ecx
mov ecx, dword [rbx + 0x20]
mov dword [r14 + 0x20], ecx
mov ecx, dword [rbx + 0x24]
mov dword [r14 + 0x24], ecx
mov ecx, dword [rbx + 0x28]
mov dword [r14 + 0x28], ecx
mov ecx, dword [rbx + 0x2c]
mov dword [r14 + 0x2c], ecx
mov ecx, dword [rbx + 0x30]
mov dword [r14 + 0x30], ecx
mov ecx, dword [rbx + 0x34]
mov dword [r14 + 0x34], ecx
mov ecx, dword [rbx + 0x38]
mov dword [r14 + 0x38], ecx
mov ecx, dword [rbx + 0x3c]
mov dword [r14 + 0x3c], ecx
mov qword [rdi], rax
mov eax, dword [r14 + 0x3c]
mov edx, dword [r14 + 0x28]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 8], rax
mov eax, dword [r14 + 0x24]
mov edx, dword [r14 + 0x10]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x10], rax
mov eax, dword [r14 + 0xc]
mov edx, dword [r14 + 0x38]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x18], rax
mov eax, dword [r14 + 0x34]
mov edx, dword [r14 + 0x20]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x20], rax
mov eax, dword [r14 + 0x1c]
mov edx, dword [r14 + 8]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x28], rax
mov eax, dword [r14 + 4]
mov edx, dword [r14 + 0x30]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x30], rax
mov eax, dword [r14 + 0x2c]
mov edx, dword [r14 + 0x18]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x38], rax
mov edx, dword [rbx + 0x40]
mov dword [r14], edx
mov eax, dword [rbx + 0x44]
mov dword [r14 + 4], eax
mov eax, dword [rbx + 0x48]
mov dword [r14 + 8], eax
mov eax, dword [rbx + 0x4c]
mov dword [r14 + 0xc], eax
mov eax, dword [rbx + 0x50]
mov dword [r14 + 0x10], eax
mov eax, dword [rbx + 0x54]
mov dword [r14 + 0x14], eax
mov ecx, dword [rbx + 0x58]
shl rax, 0x20
or rax, rdx
mov dword [r14 + 0x18], ecx
mov ecx, dword [rbx + 0x5c]
mov dword [r14 + 0x1c], ecx
mov ecx, dword [rbx + 0x60]
mov dword [r14 + 0x20], ecx
mov ecx, dword [rbx + 0x64]
mov dword [r14 + 0x24], ecx
mov ecx, dword [rbx + 0x68]
mov dword [r14 + 0x28], ecx
mov ecx, dword [rbx + 0x6c]
mov dword [r14 + 0x2c], ecx
mov ecx, dword [rbx + 0x70]
mov dword [r14 + 0x30], ecx
mov ecx, dword [rbx + 0x74]
mov dword [r14 + 0x34], ecx
mov ecx, dword [rbx + 0x78]
mov dword [r14 + 0x38], ecx
mov ecx, dword [rbx + 0x7c]
mov dword [r14 + 0x3c], ecx
mov qword [rdi + 0x40], rax
mov eax, dword [r14 + 0x3c]
mov edx, dword [r14 + 0x28]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x48], rax
mov eax, dword [r14 + 0x24]
mov edx, dword [r14 + 0x10]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x50], rax
mov eax, dword [r14 + 0xc]
mov edx, dword [r14 + 0x38]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x58], rax
mov eax, dword [r14 + 0x34]
mov edx, dword [r14 + 0x20]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x60], rax
mov eax, dword [r14 + 0x1c]
mov edx, dword [r14 + 8]
mov r9, qword [rsp + 0xe8]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x68], rax
mov eax, dword [r14 + 4]
mov edx, dword [r14 + 0x30]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x70], rax
mov eax, dword [r14 + 0x2c]
mov edx, dword [r14 + 0x18]
shl rax, 0x20
or rax, rdx
mov qword [rdi + 0x78], rax
nop word [rax + rax]
lea edx, [rbp + rbp]
mov r8d, 1
mov rax, rdx
shl rdx, 6
lea ecx, [rax - 2]
add rdx, rdi
shl rcx, 6
add rcx, rdi
call fcn.005928a0
lea eax, [rbp + 1]
mov rbp, rax
cmp r15, rax
ja 0x598080
mov r8, r15
mov rdx, r14
lea r13, [r14 + r12]
mov rcx, rdi
mov r9, qword [rsp + 0xe8]
call fcn.005928a0
mov rcx, r14
mov r8, r15
mov rdx, r13
mov r9, qword [rsp + 0xe8]
call fcn.005928a0
mov ecx, dword [rsp + 0xd0]
mov eax, dword [r13 + r12 - 0x40]
sub ecx, 1
cmp dword [rsp + 0xd0], 2
mov dword [rsp + 0x3c], ecx
jbe 0x598690
mov ecx, dword [rsp + 0xd0]
mov qword [rsp + 0xc0], rbx
mov r11d, 2
mov qword [rsp + 0xe0], rsi
mov ebp, r11d
shr ecx, 1
mov qword [rsp + 0xd8], rdi
mov rdi, r15
mov dword [rsp + 0x60], ecx
mov rcx, r15
mov r15, r13
mov r13, qword [rsp + 0xd8]
shl rcx, 8
mov qword [rsp + 0x48], rcx
nop word [rax + rax]
mov ebx, dword [rsp + 0x3c]
sub ebx, ebp
cmp dword [rsp + 0x60], ebp
cmova ebx, ebp
cmp ebx, 1
jbe 0x59820d
lea esi, [rbp - 1]
mov dword [rsp + 0x50], ebp
mov r14d, 1
mov rbp, rdi
mov dword [rsp + 0x40], esi
mov edi, ebx
mov rsi, r15
mov rbx, r13
nop word [rax + rax]
and eax, dword [rsp + 0x40]
lea r13, [r12 + rsi]
mov rcx, rsi
mov r9, rbp
lea edx, [r14 + rax - 1]
mov rax, qword [rsp + 0xe8]
mov r8, r13
imul rdx, r12
mov qword [rsp + 0x20], rax
add rdx, rbx
call fcn.005940e0
and eax, dword [rsp + 0x40]
mov r9, rbp
mov rcx, r13
lea edx, [rax + r14]
mov rax, qword [rsp + 0xe8]
add rsi, qword [rsp + 0x48]
add r14d, 2
imul rdx, r12
mov r8, rsi
mov qword [rsp + 0x20], rax
add rdx, rbx
call fcn.005940e0
cmp r14d, edi
jb 0x598188
mov r13, rbx
mov ebx, edi
mov rdi, rbp
mov ebp, dword [rsp + 0x50]
sub ebx, 2
shr ebx, 1
add rbx, 1
imul rbx, qword [rsp + 0x48]
add r15, rbx
lea edx, [rbp + rbp]
cmp dword [rsp + 0xd0], edx
jbe 0x598240
mov ebp, edx
jmp 0x598150
lea r10d, [r9 - 1]
mov rbx, qword [rsp + 0xc0]
and eax, r10d
jmp 0x597c4b
mov edx, ebp
mov qword [rsp + 0xd8], r13
mov rbx, qword [rsp + 0xc0]
mov r13, r15
and edx, 0x7fffffff
mov r15, rdi
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd8]
lea r10d, [rdx - 1]
and eax, r10d
lea r14, [r13 + r12]
mov r9, r15
mov rcx, r13
mov dword [rsp + 0x40], r10d
mov ebp, dword [rsp + 0xd0]
mov r8, r14
sub ebp, edx
lea edx, [rbp + rax - 2]
mov rax, qword [rsp + 0xe8]
imul rdx, r12
mov qword [rsp + 0x20], rax
add rdx, rdi
call fcn.005940e0
mov r10d, dword [rsp + 0x40]
mov rcx, r14
mov r9, r15
mov r8, rsi
and eax, r10d
lea edx, [rbp + rax - 1]
mov rax, qword [rsp + 0xe8]
lea rbp, [rsi + r12]
imul rdx, r12
mov qword [rsp + 0x20], rax
add rdx, rdi
call fcn.005940e0
xor ecx, ecx
xor eax, eax
nop dword [rax]
shl rax, 6
lea rdx, [rsi + rax]
add rax, rbx
mov r8d, dword [rdx]
mov dword [rbp], r8d
mov r8d, dword [rdx + 4]
mov dword [rbp + 4], r8d
mov r8d, dword [rdx + 8]
mov dword [rbp + 8], r8d
mov r8d, dword [rdx + 0xc]
mov dword [rbp + 0xc], r8d
mov r8d, dword [rdx + 0x10]
mov dword [rbp + 0x10], r8d
mov r8d, dword [rdx + 0x14]
mov dword [rbp + 0x14], r8d
mov r8d, dword [rdx + 0x18]
mov dword [rbp + 0x18], r8d
mov r8d, dword [rdx + 0x1c]
mov dword [rbp + 0x1c], r8d
mov r8d, dword [rdx + 0x20]
mov dword [rbp + 0x20], r8d
mov r8d, dword [rdx + 0x24]
mov dword [rbp + 0x24], r8d
mov r8d, dword [rdx + 0x28]
mov dword [rbp + 0x28], r8d
mov r8d, dword [rdx + 0x2c]
mov dword [rbp + 0x2c], r8d
mov r8d, dword [rdx + 0x30]
mov dword [rbp + 0x30], r8d
mov r8d, dword [rdx + 0x34]
mov dword [rbp + 0x34], r8d
mov r8d, dword [rdx + 0x38]
mov dword [rbp + 0x38], r8d
mov edx, dword [rdx + 0x3c]
mov dword [rbp + 0x3c], edx
mov rdx, qword [rbp]
mov dword [rax], edx
mov edx, dword [rbp + 0x34]
mov dword [rax + 4], edx
mov rdx, qword [rbp + 0x28]
mov dword [rax + 8], edx
mov edx, dword [rbp + 0x1c]
mov dword [rax + 0xc], edx
mov rdx, qword [rbp + 0x10]
mov dword [rax + 0x10], edx
mov rdx, qword [rbp]
shr rdx, 0x20
mov dword [rax + 0x14], edx
mov rdx, qword [rbp + 0x38]
mov dword [rax + 0x18], edx
mov edx, dword [rbp + 0x2c]
mov dword [rax + 0x1c], edx
mov rdx, qword [rbp + 0x20]
mov dword [rax + 0x20], edx
mov edx, dword [rbp + 0x14]
mov dword [rax + 0x24], edx
mov rdx, qword [rbp + 8]
mov dword [rax + 0x28], edx
mov edx, dword [rbp + 0x3c]
mov dword [rax + 0x2c], edx
mov rdx, qword [rbp + 0x30]
mov dword [rax + 0x30], edx
mov edx, dword [rbp + 0x24]
mov dword [rax + 0x34], edx
mov rdx, qword [rbp + 0x18]
mov dword [rax + 0x38], edx
mov edx, dword [rbp + 0xc]
mov dword [rax + 0x3c], edx
lea eax, [rcx + 1]
mov rcx, rax
cmp qword [rsp + 0x30], rax
ja 0x5982e8
xor edx, edx
xor r9d, r9d
nop word [rax + rax]
mov eax, r9d
shl rdx, 6
shl eax, 6
add rdx, rsi
add rax, rbx
mov r8d, dword [rax]
mov dword [rbp], r8d
mov ecx, dword [rax + 4]
mov dword [rbp + 4], ecx
mov ecx, dword [rax + 8]
mov dword [rbp + 8], ecx
mov ecx, dword [rax + 0xc]
mov dword [rbp + 0xc], ecx
mov ecx, dword [rax + 0x10]
mov dword [rbp + 0x10], ecx
mov ecx, dword [rax + 0x14]
mov dword [rbp + 0x14], ecx
mov r10d, dword [rax + 0x18]
shl rcx, 0x20
or rcx, r8
mov dword [rbp + 0x18], r10d
mov r10d, dword [rax + 0x1c]
mov dword [rbp + 0x1c], r10d
mov r10d, dword [rax + 0x20]
mov dword [rbp + 0x20], r10d
mov r10d, dword [rax + 0x24]
mov dword [rbp + 0x24], r10d
mov r10d, dword [rax + 0x28]
mov dword [rbp + 0x28], r10d
mov r10d, dword [rax + 0x2c]
mov dword [rbp + 0x2c], r10d
mov r10d, dword [rax + 0x30]
mov dword [rbp + 0x30], r10d
mov r10d, dword [rax + 0x34]
mov dword [rbp + 0x34], r10d
mov r10d, dword [rax + 0x38]
mov dword [rbp + 0x38], r10d
mov eax, dword [rax + 0x3c]
mov dword [rbp + 0x3c], eax
mov qword [rdx], rcx
mov eax, dword [rbp + 0x3c]
mov ecx, dword [rbp + 0x28]
shl rax, 0x20
or rax, rcx
mov qword [rdx + 8], rax
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x10]
shl rax, 0x20
or rax, rcx
mov qword [rdx + 0x10], rax
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp + 0x38]
shl rax, 0x20
or rax, rcx
mov qword [rdx + 0x18], rax
mov eax, dword [rbp + 0x34]
mov ecx, dword [rbp + 0x20]
shl rax, 0x20
or rax, rcx
mov qword [rdx + 0x20], rax
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 8]
shl rax, 0x20
or rax, rcx
mov qword [rdx + 0x28], rax
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x30]
shl rax, 0x20
or rax, rcx
mov qword [rdx + 0x30], rax
mov eax, dword [rbp + 0x2c]
mov ecx, dword [rbp + 0x18]
shl rax, 0x20
or rax, rcx
mov qword [rdx + 0x38], rax
lea edx, [r9 + 1]
mov r9, rdx
cmp rdx, qword [rsp + 0x30]
jb 0x5983f8
mov r13d, dword [rsp + 0x3c]
mov eax, dword [rsi + r12 - 0x40]
mov r9, qword [rsp + 0xe8]
and eax, r13d
nop dword [rax + rax]
mov edx, eax
imul rdx, qword [rsp + 0x30]
mov r8, r15
mov rcx, rsi
shl rdx, 6
add rdx, rdi
call fcn.00594cb0
mov r8, r15
mov edx, eax
and edx, r13d
imul rdx, r12
add rdx, rdi
call fcn.00594cb0
and eax, r13d
sub dword [rsp + 0x38], 2
jne 0x598528
mov ecx, dword [rsp + 0x38]
xor eax, eax
nop word cs:[rax + rax]
shl rax, 6
lea rdx, [rsi + rax]
add rax, rbx
mov r8d, dword [rdx]
mov dword [rbp], r8d
mov r8d, dword [rdx + 4]
mov dword [rbp + 4], r8d
mov r8d, dword [rdx + 8]
mov dword [rbp + 8], r8d
mov r8d, dword [rdx + 0xc]
mov dword [rbp + 0xc], r8d
mov r8d, dword [rdx + 0x10]
mov dword [rbp + 0x10], r8d
mov r8d, dword [rdx + 0x14]
mov dword [rbp + 0x14], r8d
mov r8d, dword [rdx + 0x18]
mov dword [rbp + 0x18], r8d
mov r8d, dword [rdx + 0x1c]
mov dword [rbp + 0x1c], r8d
mov r8d, dword [rdx + 0x20]
mov dword [rbp + 0x20], r8d
mov r8d, dword [rdx + 0x24]
mov dword [rbp + 0x24], r8d
mov r8d, dword [rdx + 0x28]
mov dword [rbp + 0x28], r8d
mov r8d, dword [rdx + 0x2c]
mov dword [rbp + 0x2c], r8d
mov r8d, dword [rdx + 0x30]
mov dword [rbp + 0x30], r8d
mov r8d, dword [rdx + 0x34]
mov dword [rbp + 0x34], r8d
mov r8d, dword [rdx + 0x38]
mov dword [rbp + 0x38], r8d
mov edx, dword [rdx + 0x3c]
mov dword [rbp + 0x3c], edx
mov rdx, qword [rbp]
mov dword [rax], edx
mov edx, dword [rbp + 0x34]
mov dword [rax + 4], edx
mov rdx, qword [rbp + 0x28]
mov dword [rax + 8], edx
mov edx, dword [rbp + 0x1c]
mov dword [rax + 0xc], edx
mov rdx, qword [rbp + 0x10]
mov dword [rax + 0x10], edx
mov rdx, qword [rbp]
shr rdx, 0x20
mov dword [rax + 0x14], edx
mov rdx, qword [rbp + 0x38]
mov dword [rax + 0x18], edx
mov edx, dword [rbp + 0x2c]
mov dword [rax + 0x1c], edx
mov rdx, qword [rbp + 0x20]
mov dword [rax + 0x20], edx
mov edx, dword [rbp + 0x14]
mov dword [rax + 0x24], edx
mov rdx, qword [rbp + 8]
mov dword [rax + 0x28], edx
mov edx, dword [rbp + 0x3c]
mov dword [rax + 0x2c], edx
mov rdx, qword [rbp + 0x30]
mov dword [rax + 0x30], edx
mov edx, dword [rbp + 0x24]
mov dword [rax + 0x34], edx
mov rdx, qword [rbp + 0x18]
mov dword [rax + 0x38], edx
mov edx, dword [rbp + 0xc]
mov dword [rax + 0x3c], edx
lea eax, [rcx + 1]
mov rcx, rax
cmp rax, qword [rsp + 0x30]
jb 0x598570
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
xor r10d, r10d
mov edx, 1
jmp 0x598275