Function at 0x18004e680
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rcx, qword [0x180065f38]
mov rax, qword [rcx]
mov r9, qword [rax + 0x4b8]
lea r8, [0x1800660d0]
mov esi, 1
mov edx, esi
call r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r8d, [rsi + 0x25]
lea rdx, str.org_apache_logging_log4j_ThreadContext
lea rcx, [rsp + 0x40]
call fcn.180005b90
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x180065f38]
mov rcx, qword [0x180065f30]
call fcn.18004e380
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18004e733
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e72e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e72e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004fc00
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov r10, qword [rax + 0x480]
lea r9, str.Ljava_util_Map_
lea r8, str.EMPTY_MAP
mov rdx, rbx
call r10
mov rcx, qword [0x180065f30]
mov r10, qword [rcx]
mov r9, qword [0x1800660e0]
mov r8, rax
mov rdx, rbx
call qword [r10 + 0x4d0]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0xb8]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x1800660e0]
call qword [rax + 0xb8]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x1800660d8]
call qword [rax + 0xb8]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x1800660d0]
call qword [rax + 0xb8]
cmp byte [0x180066131], 0
je 0x18004e856
mov rdi, qword [0x180066118]
mov byte [0x180066131], 0
mov r8, qword [0x180066230]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
lea r8d, [rax - 0x1ac]
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x1e2
mov dword [rsp + 0x20], 0x358
lea r9d, [rbx - 0xf1]
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x180065fd0]
call qword [rax + 0xb8]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x180065fc8]
call qword [rax + 0xb8]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x180065ff8]
call qword [rax + 0xb8]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x180065fa0]
call qword [rax + 0xb8]
mov rcx, qword [0x180065f30]
mov rax, qword [rcx]
mov rdx, qword [0x180065f70]
call qword [rax + 0xb8]
mov rcx, qword [0x1800660b8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [0x180066040], 0
mov r8, qword [0x1800660a0]
mov edx, 0xfffffffc
mov rcx, qword [0x180066118]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor edx, edx
xor ecx, ecx
call fcn.18004a6e0
call fcn.18004a4d0
mov rdx, qword [0x180066218]
mov rcx, qword [0x180066200]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rcx, qword [0x180066208]
call qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rbx, qword [0x180066060]
mov qword [0x180066060], rbx
call fcn.180014850
xor edi, edi
mov qword [0x180066060], rdi
test rbx, rbx
je 0x18004e969
mov rcx, rbx
call fcn.180029980
mov rax, qword [0x180066060]
test rax, rax
je 0x18004e960
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x180066229], dil
je 0x18004e988
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rbx, rdi
xor eax, eax
lock cmpxchg dword [0x180066070], esi
je 0x18004e9b8
cmp rbx, 0x20
jae 0x18004e9a1
xor ecx, ecx
jmp 0x18004e9a3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180066070], esi
jne 0x18004e997
cmp qword [0x180066078], rdi
je 0x18004ea31
xor ecx, ecx
call fcn.180049ff0
test eax, eax
jne 0x18004ea31
mov rcx, qword [0x180066260]
mov qword [0x180066260], rdi
test rcx, rcx
je 0x18004e9f9
nop
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x18004e9e0
mov r8, qword [0x180066250]
xor edx, edx
mov rcx, qword [0x180066078]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180066078]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x180066078], rdi
mov qword [0x180066250], rdi
mov qword [0x180066258], rdi
xchg dword [0x180066070], edi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret