Function at 0x14005db80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1400f20b8]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0x30], 0
xor eax, eax
cmp eax, 1
je 0x14005de53
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xc8]
test eax, eax
jne 0x14005dbfa
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rcx, [rsp + 0xa8]
call qword [sym.imp.USER32.dll_TranslateMessage]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005dc4f
cmp dword [rsp + 0x80], 0x12
jne 0x14005dc28
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateMessage]
jmp 0x14005dc42
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14005dbfa
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14005dc5d
jmp 0x14005de53
mov rcx, qword [rsp + 0x100]
call fcn.14005dfb0
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xc8]
test eax, eax
jne 0x14005dd84
call fcn.14004e400
call fcn.14004fcf0
call fcn.1400291e0
call qword [rsp + 0x108]
call fcn.14001d910
call fcn.14002a6e0
xorps xmm0, xmm0
movss dword [rsp + 0xd8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xdc], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xe0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xe4], xmm0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0x108]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x100]
add rax, 0xb8
xor r9d, r9d
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x48]
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0x190]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0xd8]
mov rax, qword [rsp + 0x100]
mov rdx, qword [rax + 0xb8]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x58]
call fcn.140020250
mov rcx, rax
call fcn.14004e420
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14005ddd7
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xc0], 0
jne 0x14005ddd7
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0xc0], rcx
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0xc0], 0
je 0x14005de0e
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xc0]
cmp qword [rsp + 0x38], rax
je 0x14005de0e
mov rax, qword [rsp + 0x100]
mov byte [rax + 0xc8], 1
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x70]
jmp 0x14005dba9
call fcn.14004f9d0
call fcn.14004feb0
xor ecx, ecx
call fcn.14001d4f0
mov rcx, qword [rsp + 0x100]
call fcn.14005d0b0
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [rsp + 0x100]
mov rdx, qword [rax + 0x68]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor ecx, ecx
call fcn.140080180
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14005ef30
add rsp, 0xf0
pop rdi
ret