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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x1400e5250]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12, r9
mov rdi, r8
mov qword [rsp + 0x60], rdx
mov rbx, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x10], r8
xor r9d, r9d
mov qword [rcx], r9
mov qword [rcx + 8], r12
lea rsi, [rcx + 0x10]
xor eax, eax
mov qword [rsi], rax
lea rcx, [rsi + 8]
mov qword [rcx], rax
lea r15, [rsi + 0x10]
mov qword [r15], rax
lea rax, [rsi + 0x18]
xor r8d, r8d
mov dword [rax], r8d
mov qword [rsi + 0x24], r9
mov dword [rsi + 0x2c], r9d
mov qword [rsi + 0x40], r9
mov qword [rsi + 0x50], r9
mov qword [rsi + 0x64], r9
mov dword [rsi + 0x6c], r9d
mov dword [rsi + 0x20], 0x50
mov qword [rsi + 0x48], rsi
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x58], rax
mov dword [rsi + 0x60], 2
mov word [rsi + 0x1a], 0x1ff
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005df71
mov rax, qword [rdi]
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x88], rdx
mov byte [rbx + 0x90], r8b
mov qword [rbx + 0x98], r9
mov qword [rbx + 0xa0], r9
mov qword [rbx + 0xb8], r9
mov qword [rbx + 0xc0], r9
mov qword [rbx + 0xc8], r9
mov qword [rbx + 0xd0], r9
lea rcx, [rbx + 0xd8]
call fcn.14005de40
nop
mov byte [rbx + 0x1b0], 0
mov edx, 2
lea rcx, [rbx + 0x1b8]
call fcn.1400629ec
nop
lea r14, [rbx + 0x280]
mov qword [rbp - 8], r14
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rax
lea ecx, [rax + 0x10]
call fcn.1400860a0
mov qword [rax + 8], 0
mov qword [r14], rax
mov qword [rax], r14
lea rcx, [rbx + 0x2b0]
mov edx, 2
call fcn.1400629ec
nop
mov dword [rbx + 0x300], 0
mov byte [rbx + 0x304], 0
mov word [rbx + 0x319], 1
mov byte [rbx + 0x31b], 0
mov word [rbx + 0x344], 0
lea rcx, [rbx + 0x348]
mov edx, 2
call fcn.1400629ec
nop
lea rcx, [rbx + 0x398]
mov edx, 2
call fcn.1400629ec
nop
xor eax, eax
mov qword [rbx + 0x450], rax
mov qword [rbx + 0x458], rax
mov qword [rbx + 0x460], rax
mov eax, dword [rdi + 0x28]
mov dword [r15], eax
mov eax, dword [rdi + 0x2c]
mov dword [rsi + 0x14], eax
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x2a8], eax
mov eax, dword [rdi + 0x2c]
mov dword [rbx + 0x2ac], eax
movzx eax, byte [rdi + 0x4a]
mov byte [rbx + 0x31b], al
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbx + 0xa0], rax
mov qword [rbp - 0x60], 0x50
xor r15d, r15d
lea rax, [0x14005ecf0]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
mov rsi, qword [rsp + 0x60]
mov qword [rbp - 0x48], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
mov rax, qword [rbx + 0x80]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r15
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp byte [rdi + 0x40], r15b
je 0x14005e139
mov qword [rbp], r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 8], eax
lea ecx, [r15 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov dword [rbp + 0xc], eax
jmp 0x14005e14e
xor r9d, r9d
lea r8, [rbp]
xor edx, edx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [rbp + 0xc]
mov r9d, dword [rdi + 0x28]
mov eax, dword [rbp + 8]
sub eax, r9d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov r11d, dword [rdi + 0x2c]
sub ecx, r11d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
cmp byte [rdi + 0x34], r15b
je 0x14005e17a
mov r8d, dword [rdi + 0x30]
cmp byte [rdi + 0x3c], r15b
je 0x14005e183
mov edx, dword [rdi + 0x38]
mov dword [rbx + 0x308], r8d
mov dword [rbx + 0x30c], edx
lea eax, [r9 + r8]
mov dword [rbx + 0x310], eax
lea eax, [r11 + rdx]
mov dword [rbx + 0x314], eax
movups xmm0, xmmword [rbx + 0x308]
movups xmmword [rbx + 0x31c], xmm0
movups xmm0, xmmword [rbx + 0x308]
movups xmmword [rbx + 0x32c], xmm0
movzx eax, byte [rdi + 0x4b]
neg al
sbb r10d, r10d
and r10d, 0x20
movzx eax, byte [rdi + 0x48]
neg al
sbb ecx, ecx
and ecx, 8
or r10d, ecx
mov eax, 0x80000
mov ecx, 0x8080000
cmp byte [rbx + 0x31b], r15b
cmovne eax, ecx
or r10d, eax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov r9d, 0xcf0000
xor r8d, r8d
mov rdx, qword [rbx + 0x80]
mov ecx, r10d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx], rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140057d40
mov rcx, qword [rax]
mov qword [rax], r15
mov rdx, qword [rbx + 0xd0]
mov qword [rbx + 0xd0], rcx
test rdx, rdx
je 0x14005e260
call fcn.140057c50
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14005e26f
call fcn.140057c50
mov rdx, qword [rbx + 0xd0]
mov rcx, qword [rbx]
call qword [sym.imp.ole32.dll_RegisterDragDrop]
cmp byte [rdi + 0x49], r15b
je 0x14005e2a3
mov dword [rbp - 8], 1
mov r9d, 4
lea r8, [rbp - 8]
lea edx, [r9 - 1]
mov rcx, qword [rbx]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
mov rdx, rbx
lea rcx, [rbx + 0xd8]
call fcn.140060b80
mov edx, 1
mov esi, edx
mov ecx, dword [rdi + 0x44]
test ecx, ecx
je 0x14005e2e8
sub ecx, edx
je 0x14005e2e3
sub ecx, edx
je 0x14005e2dc
sub ecx, edx
je 0x14005e2d5
cmp ecx, edx
jne 0x14005e2e8
mov esi, r15d
jmp 0x14005e2e8
mov esi, 2
jmp 0x14005e2e8
mov esi, 3
jmp 0x14005e2e8
mov esi, 8
cmp byte [rbx + 0x31b], r15b
je 0x14005e2fc
cmp esi, edx
jne 0x14005e2fc
mov esi, 4
jmp 0x14005e304
test esi, esi
je 0x14005e433
mov byte [rbx + 0x300], dl
mov edx, esi
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_ShowWindow]
mov word [rbx + 0x300], 0x100
xor r12b, r12b
mov eax, dword [rbx + 0x2a8]
mov dword [rbp - 8], eax
mov eax, dword [rbx + 0x2ac]
mov dword [rsp + 0x60], eax
cmp esi, 3
jne 0x14005e33e
mov r12b, 1
jmp 0x14005e358
cmp esi, 2
jne 0x14005e348
mov sil, 1
jmp 0x14005e35b
movzx r15d, r15b
cmp esi, 1
mov eax, 1
cmove r15d, eax
xor sil, sil
lea rcx, [rbx + 0x1b8]
call fcn.140062a08
test eax, eax
jne 0x14005e473
cmp dword [rbx + 0x204], 0x7fffffff
je 0x14005e45e
lea rax, str.window_size
mov qword [rsp + 0x68], rax
mov eax, dword [rbp - 8]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x74], eax
mov byte [rsp + 0x78], r12b
mov byte [rsp + 0x79], sil
mov byte [rsp + 0x7a], r15b
mov rax, qword [r14 + 0x20]
inc rax
cmp qword [r14 + 0x10], rax
ja 0x14005e3be
mov rcx, r14
call fcn.140060980
mov rdx, qword [r14 + 0x10]
dec rdx
mov rcx, rdx
and rcx, qword [r14 + 0x18]
mov qword [r14 + 0x18], rcx
add rcx, qword [r14 + 0x20]
and rdx, rcx
lea rsi, [rdx*8]
mov rax, qword [r14 + 8]
cmp qword [rsi + rax], 0
jne 0x14005e3ff
mov ecx, 0x28
call fcn.1400860a0
mov rcx, rax
mov rax, qword [r14 + 8]
mov qword [rsi + rax], rcx
mov rax, qword [r14 + 8]
mov rdx, qword [rsi + rax]
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x78]
movsd qword [rdx + 0x20], xmm0
inc qword [r14 + 0x20]
lea rcx, [rbx + 0x1b8]
call fcn.140062a2c
nop
mov rcx, rdi
call fcn.140001ec0
mov rax, rbx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140086080
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbx + 0x204], 0x7ffffffe
mov ecx, 6
call fcn.140061d84
int3
mov ecx, 5
call fcn.140061d84
int3