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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xf0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
test r8d, r8d
je 0x100064d0b
test rcx, rcx
je 0x100064d0b
mov r10, qword [0x1000b6418]
mov r11, qword [0x1000b6420]
test r10, r10
jne 0x1000649e9
test r11, r11
je 0x100064cbd
cmp byte [0x1000b60f6], 0
jne 0x100064cbd
cmp qword [rcx + 4], 0
mov rax, qword [0x1000b6400]
mov qword [rcx + 0xc], rax
jne 0x100064a13
mov rax, qword [0x1000b63f8]
mov qword [rcx + 4], rax
mov rcx, qword [rcx + 4]
test rcx, rcx
je 0x100064a39
call qword [sym.imp.USER32.dll_IsIconic]
mov r10, qword [0x1000b6418]
mov r11, qword [0x1000b6420]
test eax, eax
jne 0x100064a39
bts dword [rbx + 0x14], 0xc
xor eax, eax
mov dword [rsp + 0x110], eax
test r10, r10
je 0x100064a84
and dword [rsp + 0x40], eax
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x110]
xor r8d, r8d
mov rcx, rbx
call r10
mov rdx, qword [rsp + 0x120]
mov r11d, eax
test rdx, rdx
je 0x100064c89
cmp dword [rsp + 0x40], 0
setne cl
mov byte [rdx], cl
jmp 0x100064c89
test r11, r11
je 0x100064ca8
mov rax, qword [rbx + 4]
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0xc]
lea rdx, [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov eax, dword [rbx + 0x14]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x50], 0xa0
mov dword [rsp + 0x6c], eax
mov rax, qword [rbx + 0x1c]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x24]
mov qword [rsp + 0x78], rax
mov rax, qword [rbx + 0x2c]
mov qword [rsp + 0x80], rax
mov rax, qword [rbx + 0x34]
mov qword [rsp + 0x88], rax
mov eax, dword [rbx + 0x3c]
mov dword [rsp + 0x90], eax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x98], rax
mov eax, dword [rbx + 0x48]
mov dword [rsp + 0xa0], eax
mov rax, qword [rbx + 0x5c]
mov qword [rsp + 0xa8], rax
mov rax, qword [rbx + 0x64]
mov qword [rsp + 0xb0], rax
mov rax, qword [rbx + 0x6c]
mov qword [rsp + 0xb8], rax
mov rax, qword [rbx + 0x74]
mov qword [rsp + 0xc0], rax
mov rax, qword [rbx + 0x7c]
mov qword [rsp + 0xc8], rax
mov rax, qword [rbx + 0x84]
mov qword [rsp + 0xd0], rax
mov rax, qword [rbx + 0x8c]
mov qword [rsp + 0xd8], rax
mov rax, qword [rbx + 0x94]
mov qword [rsp + 0xe0], rax
mov eax, dword [rbx + 0x9c]
mov dword [rsp + 0xe8], eax
call r11
mov rcx, qword [rsp + 0x120]
mov r11d, eax
test rcx, rcx
je 0x100064ba9
cmp dword [rsp + 0x40], 0
setne al
mov byte [rcx], al
mov rax, qword [rsp + 0x58]
mov qword [rbx + 4], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0xc], rax
mov eax, dword [rsp + 0x68]
mov dword [rbx + 0x14], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbx + 0x18], eax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x1c], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x24], rax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x2c], rax
mov rax, qword [rsp + 0x88]
mov qword [rbx + 0x34], rax
mov eax, dword [rsp + 0x90]
mov dword [rbx + 0x3c], eax
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x40], rax
mov eax, dword [rsp + 0xa0]
mov dword [rbx + 0x48], eax
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x5c], rax
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 0x64], rax
mov rax, qword [rsp + 0xb8]
mov qword [rbx + 0x6c], rax
mov rax, qword [rsp + 0xc0]
mov qword [rbx + 0x74], rax
mov rax, qword [rsp + 0xc8]
mov qword [rbx + 0x7c], rax
mov rax, qword [rsp + 0xd0]
mov qword [rbx + 0x84], rax
mov rax, qword [rsp + 0xd8]
mov qword [rbx + 0x8c], rax
mov rax, qword [rsp + 0xe0]
mov qword [rbx + 0x94], rax
mov eax, dword [rsp + 0xe8]
mov dword [rbx + 0x9c], eax
test r11d, r11d
je 0x100064c93
or ebx, 0xffffffff
jmp 0x100064cf9
mov eax, dword [rsp + 0x110]
cmp eax, 1
je 0x100064ca4
cmp eax, 2
jne 0x100064ca8
mov ebx, eax
jmp 0x100064cf9
or ebx, 0xffffffff
mov ecx, ebx
sub ecx, eax
js 0x100064cf9
cmp ecx, edi
jge 0x100064cf9
movsxd rax, ecx
mov ebx, dword [rsi + rax*4]
jmp 0x100064cf9
mov rdx, qword [rcx + 4]
movzx ecx, word [rsp + 0x128]
lea r8, [0x100064ee8]
test rdx, rdx
cmove rdx, qword [0x1000b63f8]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r9d
mov r9d, 2
mov byte [rsp + 0x20], 0
call fcn.1000653cc
mov rbx, rax
mov rax, qword [0x1000b6438]
test rax, rax
je 0x100064d07
call rax
mov eax, ebx
jmp 0x100064d0e
or eax, 0xffffffff
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret