Function at 0x604580
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
mov rbp, rsp
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0x180], rcx
mov qword [rbp + 0x188], rdx
mov qword [rbp + 0x190], r8
mov qword [rbp + 0x198], r9
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x120], 0
mov rax, qword [rbp + 0x198]
cmp dword [rax + 0x20], 0
je 0x6045f6
mov rax, qword [rbp + 0x198]
cmp dword [rax + 0x24], 0
je 0x604e8c
mov rax, qword [rbp + 0x198]
cmp dword [rax + 0x28], 0
je 0x604e8c
mov rax, qword [rbp + 0x198]
cmp dword [rax + 0x20], 0
jne 0x604625
mov rax, qword [rbp + 0x198]
cmp dword [rax + 4], 0
je 0x604e8c
mov rax, qword [rbp + 0x198]
cmp dword [rax + 8], 0
je 0x604e8c
mov rcx, qword [rbp + 0x180]
call fcn.00603e70
mov dword [rbp + 0xc8], 0
cmp qword [rbp + 0x180], 0
je 0x604667
mov rcx, qword [rbp + 0x180]
mov edx, 0x68
lea r8, [rbp + 0xa8]
call fcn.0073a290
cmp eax, 0x20
jge 0x604667
call fcn.005fdcc0
xor ecx, ecx
call fcn.0073a680
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x118]
call fcn.0073a178
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x138], rax
nop
mov rax, qword [rbp + 0x198]
cmp dword [rax + 0x20], 0x28
jae 0x60473e
mov rax, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x198]
movzx rax, word [rax + 0x10]
or ax, word [rcx + 0x12]
cmp ax, 1
jne 0x604709
mov rax, qword [rbp + 0x198]
mov ecx, dword [rax + 4]
mov rax, qword [rbp + 0x198]
mov edx, dword [rax + 8]
mov r8d, 1
mov r9d, 1
mov qword [rsp + 0x20], 0
call fcn.0073a160
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x120], rax
jmp 0x604a9a
mov rcx, qword [rbp + 0x118]
mov rax, qword [rbp + 0x198]
mov edx, dword [rax + 4]
mov rax, qword [rbp + 0x198]
mov r8d, dword [rax + 8]
call fcn.0073a170
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x120], rax
jmp 0x604a9a
mov ecx, 0x42c
call fcn.00425d10
mov qword [rbp + 0x148], rax
nop
mov rax, qword [rbp + 0x198]
mov dword [rax + 0x20], 0x28
mov rax, qword [rbp + 0x198]
mov word [rax + 0x2c], 1
mov rax, qword [rbp + 0x198]
cmp word [rax + 0x2e], 0
jne 0x6047ac
mov rcx, qword [rbp + 0x118]
mov edx, 0xc
call fcn.0073a268
mov ebx, eax
mov rcx, qword [rbp + 0x118]
mov edx, 0xe
call fcn.0073a268
mov rcx, qword [rbp + 0x198]
imul bx, ax
mov word [rcx + 0x2e], bx
mov rdi, qword [rbp + 0x148]
mov rax, qword [rbp + 0x198]
lea rsi, [rax + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x198]
mov ecx, dword [rcx + 0x24]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x198]
mov ecx, dword [rcx + 0x28]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x198]
cmp word [rax + 0x2e], 8
ja 0x604940
mov rax, qword [rbp + 0x198]
cmp word [rax + 0x2e], 1
jne 0x604845
cmp qword [rbp + 0x180], 0
je 0x604824
cmp qword [rbp + 0xc0], 0
jne 0x604845
mov rax, qword [rbp + 0x148]
mov dword [rax + 0x28], 0
mov rax, qword [rbp + 0x148]
mov dword [rax + 0x2c], 0xffffff
jmp 0x604996
cmp qword [rbp + 0x190], 0
je 0x604871
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x148]
lea rdx, [rax + 0x28]
mov r8d, 0xff
call fcn.005feab0
jmp 0x604996
cmp qword [rbp + 0x180], 0
je 0x604996
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x180]
call fcn.0073a380
mov qword [rbp + 0x128], rax
cmp dword [rbp + 0xc8], 0
jbe 0x6048d7
cmp qword [rbp + 0xc0], 0
je 0x6048d7
mov rcx, qword [rbp + 0x138]
xor edx, edx
mov r8d, 0x100
mov rax, qword [rbp + 0x148]
lea r9, [rax + 0x28]
call fcn.0073a258
mov rcx, qword [rbp + 0x198]
mov dword [rcx + 0x40], eax
jmp 0x60492b
mov rax, qword [rbp + 0x198]
mov eax, dword [rax + 0x28]
movsxd rcx, eax
shr rcx, 0x20
xor eax, ecx
mov rdx, qword [rbp + 0x138]
mov r8, qword [rbp + 0x180]
xor r9, r9
sub eax, ecx
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0x148]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x30], 0
mov rcx, rdx
mov rdx, r8
mov r8d, r9d
mov r9d, eax
call fcn.0073a260
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x128]
call fcn.0073a380
jmp 0x604996
mov rax, qword [rbp + 0x198]
movzx rax, word [rax + 0x2e]
cmp ax, 0x10
je 0x604958
cmp ax, 0x20
jne 0x604996
mov rax, qword [rbp + 0x198]
mov eax, dword [rax + 0x30]
test eax, 3
je 0x604996
mov rcx, qword [rbp + 0x198]
call fcn.00604530
mov rax, qword [rbp + 0x198]
lea rcx, [rax + 0x48]
mov rax, qword [rbp + 0x148]
lea rdx, [rax + 0x28]
mov r8d, 0xc
call fcn.00426490
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x148]
xor r8, r8
lea r9, [rbp + 0x98]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.0073a188
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x120], rax
cmp qword [rbp + 0x98], 0
jne 0x6049e2
call fcn.005fdd90
cmp qword [rbp + 0x180], 0
je 0x604a7b
mov rax, qword [rbp + 0x198]
mov ecx, dword [rbp + 0xac]
cmp ecx, dword [rax + 0x24]
jne 0x604a7b
mov rax, qword [rbp + 0x198]
mov ecx, dword [rbp + 0xb0]
cmp ecx, dword [rax + 0x28]
jne 0x604a7b
mov rax, qword [rbp + 0x198]
cmp word [rax + 0x2e], 8
jbe 0x604a7b
mov rax, qword [rbp + 0x198]
mov eax, dword [rax + 0x28]
movsxd rcx, eax
shr rcx, 0x20
xor eax, ecx
mov rdx, qword [rbp + 0x138]
mov r8, qword [rbp + 0x180]
xor r9, r9
sub eax, ecx
mov rcx, qword [rbp + 0x98]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x148]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x30], 0
mov rcx, rdx
mov rdx, r8
mov r8d, r9d
mov r9d, eax
call fcn.0073a260
jmp 0x604a8a
nop
mov rcx, qword [rbp + 0x148]
call fcn.00425d40
jmp 0x604a9a
xor ecx, ecx
mov rdx, qword [rbp + 0x68]
call fcn.00604ea0
jmp 0x604e81
mov rcx, qword [rbp + 0x120]
call fcn.005fde50
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x120]
call fcn.0073a380
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x128], rax
nop
nop
mov qword [rbp + 0x130], 0
mov qword [rbp + 0xa0], 0
cmp qword [rbp + 0x190], 0
je 0x604b13
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x190]
xor r8, r8
call fcn.0073a388
mov qword [rbp + 0x130], rax
mov rcx, qword [rbp + 0x138]
call fcn.0073a348
nop
cmp qword [rbp + 0x1a0], 0
je 0x604c4e
lea rcx, [rbp + 0x58]
xor edx, edx
xor r8, r8
mov rax, qword [rbp + 0x198]
mov r9d, dword [rax + 4]
mov rax, qword [rbp + 0x198]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
call fcn.00437de0
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax + 0x80]
call fcn.005fba80
mov rcx, qword [rbp + 0x138]
lea rdx, [rbp + 0x58]
mov r8, rax
call fcn.0073a620
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x70]
mov ecx, dword [rax + 0x28]
call fcn.005fa370
mov rcx, qword [rbp + 0x138]
mov edx, eax
call fcn.0073a3f0
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov rax, qword [rax + 0x18]
mov ecx, dword [rax + 0x28]
call fcn.005fa370
mov rcx, qword [rbp + 0x138]
mov edx, eax
call fcn.0073a398
mov rax, qword [rbp + 0x198]
cmp word [rax + 0x2e], 1
jne 0x604c80
mov rax, qword [rbp + 0x198]
cmp qword [rax + 0x18], 0
je 0x604c80
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x70]
mov ecx, dword [rax + 0x28]
call fcn.005fa370
mov dword [rbp + 0x90], eax
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov rax, qword [rax + 0x18]
mov ecx, dword [rax + 0x28]
call fcn.005fa370
mov dword [rbp + 0x94], eax
mov rcx, qword [rbp + 0x138]
xor edx, edx
mov r8d, 2
lea r9, [rbp + 0x90]
call fcn.0073a3b0
jmp 0x604c80
mov rcx, qword [rbp + 0x138]
xor edx, edx
xor r8, r8
mov rax, qword [rbp + 0x198]
mov r9d, dword [rax + 4]
mov rax, qword [rbp + 0x198]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0xff0062
call fcn.0073a310
cmp qword [rbp + 0x180], 0
je 0x604df1
mov rcx, qword [rbp + 0x118]
call fcn.0073a178
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x140], rax
nop
mov rcx, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x180]
call fcn.0073a380
mov rcx, rax
call fcn.005fde50
mov qword [rbp + 0x110], rax
cmp qword [rbp + 0x188], 0
je 0x604cff
mov rcx, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x188]
xor r8, r8
call fcn.0073a388
mov qword [rbp + 0xa0], rax
mov rcx, qword [rbp + 0x140]
call fcn.0073a348
cmp qword [rbp + 0x1a0], 0
je 0x604d5a
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x70]
mov ecx, dword [rax + 0x28]
call fcn.005fa370
mov rcx, qword [rbp + 0x140]
mov edx, eax
call fcn.0073a3f0
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov rax, qword [rax + 0x18]
mov ecx, dword [rax + 0x28]
call fcn.005fa370
mov rcx, qword [rbp + 0x140]
mov edx, eax
call fcn.0073a398
mov rcx, qword [rbp + 0x138]
xor edx, edx
xor r8, r8
mov rax, qword [rbp + 0x198]
mov r9d, dword [rax + 4]
mov rax, qword [rbp + 0x198]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0xcc0020
call fcn.0073a140
cmp qword [rbp + 0x188], 0
je 0x604dc9
mov rcx, qword [rbp + 0x140]
mov rdx, qword [rbp + 0xa0]
or r8d, 0xffffffff
call fcn.0073a388
mov rcx, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x110]
call fcn.0073a380
mov rcx, rax
call fcn.005fde50
nop
mov rcx, qword [rbp + 0x140]
call fcn.0073a1d0
nop
cmp qword [rbp + 0x190], 0
je 0x604e13
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x130]
or r8d, 0xffffffff
call fcn.0073a388
nop
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x128]
call fcn.0073a380
jmp 0x604e42
nop
mov rcx, qword [rbp + 0x138]
call fcn.0073a1d0
xor ecx, ecx
mov rdx, qword [rbp + 0x118]
call fcn.0073a948
cmp qword [rbp + 0x120], 0
je 0x604e8c
mov rcx, qword [rbp + 0x120]
mov edx, 0x68
mov r8, qword [rbp + 0x198]
call fcn.0073a290
jmp 0x604e8c
xor ecx, ecx
mov rdx, qword [rbp + 0x68]
call fcn.00604f50
mov rax, qword [rbp + 0x120]
lea rsp, [rbp + 0x158]
pop rbx
pop rsi
pop rdi
pop rbp
ret