Function at 0x180058980
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rcx, qword [0x180070fa8]
mov rax, qword [rcx]
mov r9, qword [rax + 0x4b8]
lea r8, [0x180071140]
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 [0x180070fa8]
mov rcx, qword [0x180070fa0]
call fcn.180058680
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180058a33
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058a2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180058a2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180059f00
mov rcx, qword [0x180070fa0]
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 [0x180070fa0]
mov r10, qword [rcx]
mov r9, qword [0x180071150]
mov r8, rax
mov rdx, rbx
call qword [r10 + 0x4d0]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0xb8]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180071150]
call qword [rax + 0xb8]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180071148]
call qword [rax + 0xb8]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180071140]
call qword [rax + 0xb8]
cmp byte [0x1800711a1], 0
je 0x180058b56
mov rdi, qword [0x180071188]
mov byte [0x1800711a1], 0
mov r8, qword [0x180071290]
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 [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180071040]
call qword [rax + 0xb8]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180071038]
call qword [rax + 0xb8]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180071068]
call qword [rax + 0xb8]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180071010]
call qword [rax + 0xb8]
mov rcx, qword [0x180070fa0]
mov rax, qword [rcx]
mov rdx, qword [0x180070fe0]
call qword [rax + 0xb8]
mov rcx, qword [0x180071128]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [0x1800710b0], 0
mov r8, qword [0x180071110]
mov edx, 0xfffffffc
mov rcx, qword [0x180071188]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor edx, edx
xor ecx, ecx
call fcn.180054be0
call fcn.1800549d0
mov rdx, qword [0x180071278]
mov rcx, qword [0x180071260]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rcx, qword [0x180071268]
call qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rbx, qword [0x1800710d0]
mov qword [0x1800710d0], rbx
call fcn.180015650
xor edi, edi
mov qword [0x1800710d0], rdi
test rbx, rbx
je 0x180058c69
mov rcx, rbx
call fcn.18002b2d0
mov rax, qword [0x1800710d0]
test rax, rax
je 0x180058c60
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x180071289], dil
je 0x180058c88
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 [0x1800710e0], esi
je 0x180058cb8
cmp rbx, 0x20
jae 0x180058ca1
xor ecx, ecx
jmp 0x180058ca3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800710e0], esi
jne 0x180058c97
cmp qword [0x1800710e8], rdi
je 0x180058d31
xor ecx, ecx
call fcn.1800544f0
test eax, eax
jne 0x180058d31
mov rcx, qword [0x1800712c0]
mov qword [0x1800712c0], rdi
test rcx, rcx
je 0x180058cf9
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 0x180058ce0
mov r8, qword [0x1800712b0]
xor edx, edx
mov rcx, qword [0x1800710e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1800710e8]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x1800710e8], rdi
mov qword [0x1800712b0], rdi
mov qword [0x1800712b8], rdi
xchg dword [0x1800710e0], edi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret