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

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x190
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov rsi, r8
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf0], 0
lea rdi, [rbp + 0x164]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsd dword [rdi], dword [rsi]
nop
mov rcx, qword [0x005989e0]
mov dl, 1
call fcn.0040cef0
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x120]
mov rax, qword [rbp + 0x58]
test rax, rax
jne 0x598ef2
mov rdx, qword [rbp + 0x58]
jmp 0x598efa
mov rax, qword [rbp + 0x58]
lea rdx, [rax + 0x10]
call fcn.00415a10
mov rax, qword [rbp + 0x58]
lea rdi, [rax + 0x24]
lea rsi, [rbp + 0x164]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsd dword [rdi], dword [rsi]
xor rax, rax
mov byte [rbp + 0x57], al
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 0x60]
mov rdx, qword [0x005985d8]
mov r8d, 1
mov rax, qword [rbp + 0x58]
movsxd r9, dword [rax + 0x2c]
call fcn.00413620
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 0x58]
mov rdx, qword [0x005985d8]
mov r8d, 1
mov rax, qword [rbp + 0x58]
movsxd r9, dword [rax + 0x2c]
call fcn.00413620
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 0x50]
mov rdx, qword [0x005985d8]
mov r8d, 1
mov rax, qword [rbp + 0x58]
movsxd r9, dword [rax + 0x2c]
call fcn.00413620
lea rcx, [rbp + 0x130]
mov rdx, qword [0x00598658]
mov r8d, 1
mov rax, qword [rbp + 0x58]
movsxd r9, dword [rax + 0x2c]
call fcn.00413620
lea rcx, [rbp + 0x128]
mov rdx, qword [0x00598658]
mov r8d, 1
mov rax, qword [rbp + 0x58]
movsxd r9, dword [rax + 0x30]
call fcn.00413620
lea rcx, [rbp + 0x138]
mov rdx, qword [0x00598618]
mov r8d, 1
mov rax, qword [rbp + 0x58]
movsxd r9, dword [rax + 0x2c]
call fcn.00413620
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 0x48]
mov rdx, qword [0x00598618]
mov r8d, 1
mov rax, qword [rbp + 0x58]
movsxd r9, dword [rax + 0x2c]
call fcn.00413620
mov rax, qword [rbp + 0x58]
mov ebx, dword [rax + 0x2c]
sub ebx, 1
mov rax, qword [rbp + 0x58]
mov dword [rax + 0x20], 0
jmp 0x599192
mov rcx, qword [0x004ce0d0]
mov dl, 1
call fcn.0040cef0
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rdx + 0x60]
movsxd rdx, dword [rdx + 0x20]
mov qword [rcx + rdx*8], rax
mov rcx, qword [0x004ce0d0]
mov dl, 1
call fcn.0040cef0
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rdx + 0x58]
movsxd rdx, dword [rdx + 0x20]
mov qword [rcx + rdx*8], rax
mov rcx, qword [0x004ce0d0]
mov dl, 1
call fcn.0040cef0
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rdx + 0x50]
movsxd rdx, dword [rdx + 0x20]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbp + 0x58]
movsxd rcx, dword [rax + 0x3c]
call fcn.00409290
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x58]
movsxd rdx, dword [rdx + 0x20]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbp + 0x58]
movsxd rcx, dword [rax + 0x38]
call fcn.00409290
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rdx + 0x48]
movsxd rdx, dword [rdx + 0x20]
mov qword [rcx + rdx*8], rax
lea rdi, [rbp + 0x90]
xor eax, eax
stosq qword [rdi], rax
stosq qword [rdi], rax
mov rcx, qword [0x0053ff48]
mov dl, 1
xor r8, r8
lea r9, [rbp + 0x90]
mov rax, qword [rbp + 0x58]
test rax, rax
jne 0x5990ef
mov rax, qword [rbp + 0x58]
jmp 0x5990fa
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x88]
mov qword [rsp + 0x20], rax
mov rax, qword [0x005d19c0]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
movzx rax, byte [0x0059a2d8]
mov byte [rsp + 0x38], al
call fcn.0054ddc0
lea rcx, [rbp + 0x118]
test rax, rax
jne 0x599139
mov rdx, rax
jmp 0x599140
lea rdx, [rax + 0x80]
call fcn.00415a10
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x20]
lea rcx, [rax + rcx*8]
mov rdx, qword [rbp + 0x118]
call fcn.00415a10
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x20]
mov rax, qword [rax + rcx*8]
mov rcx, rax
lea rdx, [rbp + 0x88]
mov rsi, qword [rax]
call qword [rsi + 0x48]
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x20], ebx
jle 0x599029
mov rax, qword [rbp + 0x130]
test rax, rax
je 0x5991af
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x130]
lea rdx, [rax - 1]
call fcn.00551b20
mov rax, qword [rbp + 0x58]
mov ebx, dword [rax + 0x30]
sub ebx, 1
mov rax, qword [rbp + 0x58]
mov dword [rax + 0x20], 0
jmp 0x5992ab
lea rdi, [rbp + 0x90]
xor eax, eax
stosq qword [rdi], rax
stosq qword [rdi], rax
mov rcx, qword [0x0053ff48]
mov dl, 1
xor r8, r8
lea r9, [rbp + 0x90]
mov rax, qword [rbp + 0x58]
test rax, rax
jne 0x599208
mov rax, qword [rbp + 0x58]
jmp 0x599213
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [0x005d19c0]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
movzx rax, byte [0x0059a2d8]
mov byte [rsp + 0x38], al
call fcn.0054ddc0
lea rcx, [rbp + 0x110]
test rax, rax
jne 0x599252
mov rdx, rax
jmp 0x599259
lea rdx, [rax + 0x80]
call fcn.00415a10
mov rax, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x20]
lea rcx, [rax + rcx*8]
mov rdx, qword [rbp + 0x110]
call fcn.00415a10
mov rax, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x20]
mov rax, qword [rax + rcx*8]
mov rcx, rax
lea rdx, [rbp + 0x80]
mov rsi, qword [rax]
call qword [rsi + 0x48]
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x20], ebx
jle 0x5991d9
mov rax, qword [rbp + 0x128]
test rax, rax
je 0x5992c8
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x128]
lea rdx, [rax - 1]
call fcn.00551b20
mov byte [rbp + 0x146], 0
mov byte [rbp + 0x145], 1
mov byte [rbp + 0x144], 0
mov al, 1
mov byte [rbp + 0x67], al
xor rax, rax
mov dword [rbp + 0x68], eax
xor rbx, rbx
jmp 0x59a0de
movzx rax, byte [rbp + 0x67]
test al, al
je 0x599378
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
test rax, rax
je 0x599328
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x58]
mov rdx, qword [rdx + 0x60]
lea r8, [rax - 1]
mov rax, qword [rbp + 0x138]
mov r9, qword [rax]
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x24]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x146]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x145]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x144]
mov qword [rsp + 0x38], rax
call fcn.00597bb0
mov rax, qword [rbp + 0x58]
mov qword [rax + 0x68], 0xffffffffffffffff
mov esi, dword [rax + 0x2c]
sub esi, 1
mov rax, qword [rbp + 0x58]
mov dword [rax + 0x20], 0
jmp 0x599466
lea rdi, [rbp + 0x90]
xor eax, eax
stosq qword [rdi], rax
stosq qword [rdi], rax
mov rcx, qword [0x0053ff48]
mov dl, 1
xor r8, r8
lea r9, [rbp + 0x90]
mov rax, qword [rbp + 0x58]
test rax, rax
jne 0x5993c9
mov rax, qword [rbp + 0x58]
jmp 0x5993d1
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x78]
mov qword [rsp + 0x20], rax
mov rax, qword [0x005d19c0]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
movzx rax, byte [0x0059a2d8]
mov byte [rsp + 0x38], al
call fcn.0054ddc0
lea rcx, [rbp + 0x100]
test rax, rax
jne 0x599410
mov rdx, rax
jmp 0x599417
lea rdx, [rax + 0x80]
call fcn.00415a10
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x20]
lea rcx, [rax + rcx*8]
mov rdx, qword [rbp + 0x100]
call fcn.00415a10
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x20]
mov rax, qword [rax + rcx*8]
mov rcx, rax
lea rdx, [rbp + 0x78]
mov rdi, qword [rax]
call qword [rdi + 0x48]
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x20], esi
jle 0x59939a
mov rax, qword [rbp + 0x130]
test rax, rax
je 0x599483
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x130]
lea rdx, [rax - 1]
call fcn.00551b20
mov rax, qword [rbp + 0x58]
mov esi, dword [rax + 0x2c]
sub esi, 1
mov rax, qword [rbp + 0x58]
mov dword [rax + 0x20], 0
jmp 0x599685
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.00597910
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
jne 0x5994dc
xor rax, rax
mov dword [rbp + 0x68], eax
jmp 0x59967a
mov eax, 1
mov edi, dword [rbp + 0x160]
mov dword [rbp + 0x15c], eax
cmp dword [rbp + 0x15c], edi
jg 0x599558
add edi, 1
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x15c]
xor r8, r8
call fcn.00597a80
mov ecx, dword [rbp + 0x68]
movsxd rcx, ecx
mov eax, eax
cmp rcx, rax
jle 0x599549
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, 1
mov r8d, dword [rbp + 0x15c]
mov r9b, 6
call fcn.00597ab0
add dword [rbp + 0x15c], 1
cmp dword [rbp + 0x15c], edi
jne 0x5994f9
nop
mov eax, dword [rbp + 0x160]
mov dword [rbp + 0x15c], eax
cmp dword [rbp + 0x15c], 1
jl 0x5995bc
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x15c]
mov r8b, 6
call fcn.00597a80
cmp eax, 1
jne 0x5995ac
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x15c]
call fcn.00597b10
sub dword [rbp + 0x15c], 1
cmp dword [rbp + 0x15c], 0
jne 0x59956e
nop
xor rax, rax
mov dword [rbp + 0x68], eax
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.00597910
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x59967a
mov eax, 1
mov edi, dword [rbp + 0x160]
mov dword [rbp + 0x15c], eax
cmp dword [rbp + 0x15c], edi
jg 0x599679
add edi, 1
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x15c]
xor r8, r8
call fcn.00597a80
mov r13d, eax
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x15c]
mov r8b, 2
call fcn.00597a80
add r13d, eax
mov dword [rbp + 0x6c], r13d
mov eax, dword [rbp + 0x6c]
mov rcx, qword [rbp + 0x58]
cmp eax, dword [rcx + 0x28]
mov dword [rbp + 0x6c], eax
jle 0x59966a
mov eax, dword [rbp + 0x6c]
mov rcx, qword [rbp + 0x58]
sub eax, dword [rcx + 0x28]
mov dword [rbp + 0x68], eax
add dword [rbp + 0x15c], 1
cmp dword [rbp + 0x15c], edi
jne 0x599608
nop
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x20], esi
jle 0x5994ad
mov rax, qword [rbp + 0x58]
mov esi, dword [rax + 0x2c]
sub esi, 1
mov rax, qword [rbp + 0x58]
mov dword [rax + 0x20], 0
jmp 0x59a076
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.00597910
mov dword [rbp + 0x6c], eax
mov eax, dword [rbp + 0x6c]
test eax, eax
jle 0x599962
mov rax, qword [rbp + 0x58]
mov qword [rax + 0x68], 0xffffffffffffffff
lea rcx, [rax + 0x18]
mov rdx, qword [0x00598698]
mov r8d, 1
mov r9d, dword [rbp + 0x6c]
movsxd r9, r9d
call fcn.00413620
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
test rax, rax
je 0x599718
mov rax, qword [rax - 8]
xor rcx, rcx
mov edi, eax
sub edi, 1
mov dword [rbp + 0x160], ecx
cmp dword [rbp + 0x160], edi
jg 0x599761
add edi, 1
mov rcx, qword [0x004ce0d0]
mov dl, 1
call fcn.0040cef0
mov rcx, qword [rbp + 0x58]
mov rcx, qword [rcx + 0x18]
movsxd rdx, dword [rbp + 0x160]
mov qword [rcx + rdx*8], rax
add dword [rbp + 0x160], 1
cmp dword [rbp + 0x160], edi
jne 0x599731
nop
mov eax, 1
mov r13d, dword [rbp + 0x6c]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], r13d
jg 0x59987c
add r13d, 1
mov rax, qword [rbp + 0x128]
test rax, rax
je 0x599793
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x128]
lea rdx, [rax - 1]
call fcn.00551b40
mov dword [rbp + 0x15c], eax
lea rdi, [rbp + 0x90]
xor eax, eax
stosq qword [rdi], rax
stosq qword [rdi], rax
mov rcx, qword [0x0053ff48]
mov dl, 1
xor r8, r8
lea r9, [rbp + 0x90]
mov rax, qword [rbp + 0x58]
test rax, rax
jne 0x5997d8
mov rax, qword [rbp + 0x58]
jmp 0x5997e0
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [0x005d19c0]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
movzx rax, byte [0x0059a2d8]
mov byte [rsp + 0x38], al
call fcn.0054ddc0
lea rcx, [rbp + 0xf0]
test rax, rax
jne 0x59981f
mov rdx, rax
jmp 0x599826
lea rdx, [rax + 0x80]
call fcn.00415a10
mov rax, qword [rbp + 0x128]
movsxd rcx, dword [rbp + 0x15c]
lea rcx, [rax + rcx*8]
mov rdx, qword [rbp + 0xf0]
call fcn.00415a10
mov rax, qword [rbp + 0x128]
movsxd rcx, dword [rbp + 0x15c]
mov rax, qword [rax + rcx*8]
mov rcx, rax
lea rdx, [rbp + 0x70]
mov rdi, qword [rax]
call qword [rdi + 0x48]
add dword [rbp + 0x160], 1
cmp dword [rbp + 0x160], r13d
jne 0x599783
nop
mov rax, qword [rbp + 0x128]
test rax, rax
je 0x59988d
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x128]
lea rdx, [rax - 1]
call fcn.00551b20
mov eax, dword [rbp + 0x6c]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 1
jl 0x599944
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x160]
mov r8b, 5
call fcn.00597a80
test eax, eax
jne 0x599930
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rbp + 0x160]
mov rcx, qword [rax + rcx*8 - 8]
call fcn.0040cfb0
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 0x18]
mov edx, dword [rbp + 0x160]
sub edx, 1
movsxd rdx, edx
mov r8d, 1
mov r9, qword [0x00598698]
call fcn.00413c40
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x160]
call fcn.00597b10
sub dword [rbp + 0x160], 1
cmp dword [rbp + 0x160], 0
jne 0x5998b3
nop
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.00597910
mov dword [rbp + 0x160], eax
jmp 0x59996c
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
jle 0x599f0e
mov al, 1
mov byte [rbp + 0x57], al
mov eax, dword [rbp + 0x160]
mov dword [rbp + 0x15c], eax
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x15c]
mov r8d, 4
call fcn.005716d0
mov qword [rbp + 0x148], 0
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
test rax, rax
je 0x5999cb
mov rax, qword [rax - 8]
xor rcx, rcx
mov edi, eax
sub edi, 1
mov dword [rbp + 0x160], ecx
cmp dword [rbp + 0x160], edi
jg 0x599a49
add edi, 1
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rbp + 0x160]
mov rax, qword [rax + rcx*8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov r13, rax
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x160]
add edx, 1
mov r8b, 3
call fcn.00597a80
mov ecx, r13d
mov edx, eax
add edx, 1
call fcn.00597900
movsxd rax, eax
add qword [rbp + 0x148], rax
add dword [rbp + 0x160], 1
cmp dword [rbp + 0x160], edi
jne 0x5999e4
nop
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x148]
mov r8d, 8
call fcn.005716d0
mov qword [rbp + 0x150], 0
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xe0]
test rax, rax
je 0x599a8b
mov rax, qword [rax - 8]
xor rcx, rcx
mov edi, eax
sub edi, 1
mov dword [rbp + 0x160], ecx
cmp dword [rbp + 0x160], edi
jg 0x599b49
add edi, 1
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x150]
mov r8d, 8
call fcn.005716d0
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rbp + 0x160]
mov rax, qword [rax + rcx*8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov r13, rax
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x160]
add edx, 1
mov r8b, 3
call fcn.00597a80
mov ecx, r13d
mov edx, eax
add edx, 1
call fcn.00597900
mov dword [rbp + 0x15c], eax
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x15c]
mov r8d, 4
call fcn.005716d0
movsxd rax, dword [rbp + 0x15c]
add qword [rbp + 0x150], rax
add dword [rbp + 0x160], 1
cmp dword [rbp + 0x160], edi
jne 0x599aa8
nop
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x599b69
mov rax, qword [rax - 8]
xor rcx, rcx
mov edi, eax
sub edi, 1
mov dword [rbp + 0x160], ecx
cmp dword [rbp + 0x160], edi
jg 0x599cb8
add edi, 1
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rbp + 0x160]
mov rax, qword [rax + rcx*8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x599be5
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rbp + 0x160]
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call fcn.004f0eb0
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rdx, dword [rbp + 0x160]
mov rdx, qword [rax + rdx*8]
xor r8, r8
call fcn.00571770
jmp 0x599ca5
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x160]
add edx, 1
mov r8b, 5
call fcn.00597a80
mov byte [rbp + 0x147], al
cmp byte [rbp + 0x147], 0
jbe 0x599ca5
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x147]
mov r8d, 1
call fcn.005716d0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x160]
add edx, 1
mov r8b, 1
call fcn.00597a80
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rdx + 0x58]
movsxd rdx, dword [rdx + 0x20]
mov rcx, qword [rcx + rdx*8]
mov edx, eax
call fcn.004f0eb0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x160]
add edx, 1
mov r8b, 3
call fcn.00597a80
mov rcx, qword [rbp + 0x48]
mov r8, qword [rbp + 0x58]
mov rdx, qword [r8 + 0x58]
movsxd r8, dword [r8 + 0x20]
mov rdx, qword [rdx + r8*8]
mov r8d, eax
call fcn.00571770
add dword [rbp + 0x160], 1
cmp dword [rbp + 0x160], edi
jne 0x599b86
nop
movsxd rax, ebx
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
test rax, rax
je 0x599ce2
mov rax, qword [rax - 8]
mov ecx, 1
mov edi, eax
add edi, 1
mov dword [rbp + 0x15c], ecx
cmp dword [rbp + 0x15c], edi
jg 0x599f08
add edi, 1
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
test rax, rax
je 0x599d21
mov rax, qword [rax - 8]
movsxd rcx, dword [rbp + 0x15c]
cmp rcx, rax
jle 0x599db3
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rcx + 0x20]
mov rax, qword [rax + rcx*8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x28]
cmp rax, rcx
jle 0x599d75
mov rax, qword [rbp + 0x58]
movsxd rax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x150]
neg rcx
lea rax, [rax + rcx]
mov qword [rbp + 0x148], rax
jmp 0x599da2
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rcx + 0x20]
mov rax, qword [rax + rcx*8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x150]
neg rcx
lea rax, [rax + rcx]
mov qword [rbp + 0x148], rax
test ebx, ebx
jle 0x599de8
mov qword [rbp + 0x148], 0
jmp 0x599de8
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x15c]
xor r8, r8
call fcn.00597a80
mov eax, eax
mov rcx, qword [rbp + 0x150]
neg rcx
lea rax, [rax + rcx]
mov qword [rbp + 0x148], rax
mov eax, dword [rbp + 0x148]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
jge 0x599e07
mov dword [rbp + 0x160], 0
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x160]
mov r8d, 4
call fcn.005716d0
cmp dword [rbp + 0x160], 0
jle 0x599e63
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov rdx, qword [rbp + 0x150]
call fcn.004f0eb0
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rdx + 0x60]
movsxd rdx, dword [rdx + 0x20]
mov rdx, qword [rax + rdx*8]
movsxd r8, dword [rbp + 0x160]
call fcn.00571770
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbp + 0x15c]
mov r8b, 2
call fcn.00597a80
mov rcx, qword [rbp + 0x148]
mov eax, eax
lea rax, [rcx + rax]
add qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
test rax, rax
je 0x599eb4
mov rax, qword [rax - 8]
movsxd rcx, dword [rbp + 0x15c]
cmp rcx, rax
jne 0x599ef5
mov rax, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x28]
neg rcx
lea rax, [rax + rcx]
mov qword [rbp + 0xb8], rax
xor rax, rax
cmp rax, qword [rbp + 0xb8]
jle 0x599eee
xor rbx, rbx
jmp 0x599ef5
mov rbx, qword [rbp + 0xb8]
add dword [rbp + 0x15c], 1
cmp dword [rbp + 0x15c], edi
jne 0x599d02
nop
jmp 0x599ff7
mov dword [rbp + 0x15c], 0
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x15c]
mov r8d, 4
call fcn.005716d0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rcx + 0x20]
mov rax, qword [rax + rcx*8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x58]
movsxd rax, dword [rax + 0x28]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xb0]
cmp rax, qword [rbp + 0xa8]
jge 0x599f76
mov rax, qword [rbp + 0xb0]
jmp 0x599f7d
mov rax, qword [rbp + 0xa8]
mov dword [rbp + 0x15c], eax
sub dword [rbp + 0x15c], ebx
cmp dword [rbp + 0x15c], 0
jge 0x599f9c
mov dword [rbp + 0x15c], 0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
movsxd rdx, ebx
call fcn.004f0eb0
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x15c]
mov r8d, 4
call fcn.005716d0
cmp dword [rbp + 0x15c], 0
jle 0x599ff4
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rdx + 0x60]
movsxd rdx, dword [rdx + 0x20]
mov rdx, qword [rax + rdx*8]
movsxd r8, dword [rbp + 0x15c]
call fcn.00571770
xor rbx, rbx
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x59a016
mov rax, qword [rax - 8]
xor rcx, rcx
mov edi, eax
sub edi, 1
mov dword [rbp + 0x160], ecx
cmp dword [rbp + 0x160], edi
jg 0x59a056
add edi, 1
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rbp + 0x160]
mov rcx, qword [rax + rcx*8]
call fcn.0040cfb0
add dword [rbp + 0x160], 1
cmp dword [rbp + 0x160], edi
jne 0x59a02f
nop
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 0x18]
mov rdx, qword [0x00598698]
call fcn.00413820
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x20], esi
jle 0x5996ac
mov rax, qword [rbp + 0x58]
mov esi, dword [rax + 0x2c]
sub esi, 1
mov rax, qword [rbp + 0x58]
mov dword [rax + 0x20], 0
jmp 0x59a0d5
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call fcn.004f0eb0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call fcn.00597940
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x20], esi
jle 0x59a09a
cmp byte [rbp + 0x146], 0
je 0x599300
mov rax, qword [rbp + 0x58]
mov ebx, dword [rax + 0x2c]
sub ebx, 1
mov rax, qword [rbp + 0x58]
mov dword [rax + 0x20], 0
jmp 0x59a179
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.0040cfb0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.0040cfb0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.0040cfb0
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x58]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.004092c0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx + 0x48]
movsxd rcx, dword [rcx + 0x20]
mov rcx, qword [rax + rcx*8]
call fcn.004092c0
mov rax, qword [rbp + 0x58]
lea rax, [rax + 0x20]
add dword [rax], 1
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x20], ebx
jle 0x59a102
mov dword [rbp + 0x15c], 0xffffffff
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x15c]
mov r8d, 4
call fcn.005716d0
nop
lea rcx, [rbp + 0x70]
mov rdx, qword [0x0053fa70]
mov r8d, 4
call fcn.00412290
lea rcx, [rbp + 0xf0]
call fcn.004159d0
lea rcx, [rbp + 0x100]
call fcn.004159d0
lea rcx, [rbp + 0x110]
mov rdx, qword [0x0053fa70]
mov r8d, 2
call fcn.00412290
lea rcx, [rbp + 0x120]
call fcn.004159d0
lea rcx, [rbp + 0x128]
mov rdx, qword [0x00598658]
mov r8d, 2
call fcn.00412290
lea rcx, [rbp + 0x138]
mov rdx, qword [0x00598618]
call fcn.00413820
movzx rax, byte [rbp + 0x57]
lea rsp, [rbp + 0x190]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret