Function at 0x18004d570
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rcx, qword [0x180064f88]
mov rax, qword [rcx]
mov r9, qword [rax + 0x4b8]
lea r8, [0x180065128]
mov esi, 1
mov edx, esi
call r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x26
lea rdx, str.org_apache_logging_log4j_ThreadContext
lea rcx, [rsp + 0x40]
call fcn.180005a60
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x180064f88]
mov rcx, qword [0x180064f80]
call fcn.18004d270
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18004d625
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d620
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004d620
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004eaf0
mov rcx, qword [0x180064f80]
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 [0x180064f80]
mov r10, qword [rcx]
mov r9, qword [0x180065138]
mov r8, rax
mov rdx, rbx
call qword [r10 + 0x4d0]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0xb8]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180065138]
call qword [rax + 0xb8]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180065130]
call qword [rax + 0xb8]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180065128]
call qword [rax + 0xb8]
cmp byte [0x180065189], 0
je 0x18004d748
mov rdi, qword [0x180065170]
mov byte [0x180065189], 0
mov r8, qword [0x180065290]
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 [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180065020]
call qword [rax + 0xb8]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180065018]
call qword [rax + 0xb8]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180065048]
call qword [rax + 0xb8]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180064ff0]
call qword [rax + 0xb8]
mov rcx, qword [0x180064f80]
mov rax, qword [rcx]
mov rdx, qword [0x180064fc0]
call qword [rax + 0xb8]
mov rcx, qword [0x180065110]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [0x180065090], 0
mov r8, qword [0x1800650f8]
mov edx, 0xfffffffc
mov rcx, qword [0x180065170]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor edx, edx
xor ecx, ecx
call fcn.180049580
call fcn.180049370
mov rdx, qword [0x180065278]
mov rcx, qword [0x180065260]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rcx, qword [0x180065268]
call qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rbx, qword [0x1800650b0]
mov qword [0x1800650b0], rbx
call fcn.1800143f0
xor edi, edi
mov qword [0x1800650b0], rdi
test rbx, rbx
je 0x18004d85b
mov rcx, rbx
call fcn.180029200
mov rax, qword [0x1800650b0]
test rax, rax
je 0x18004d852
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x180065289], dil
je 0x18004d87a
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 [0x1800650c0], esi
je 0x18004d8b1
nop dword [rax]
cmp rbx, 0x20
jae 0x18004d89a
xor ecx, ecx
jmp 0x18004d89c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800650c0], esi
jne 0x18004d890
cmp qword [0x1800650c8], rdi
je 0x18004d931
xor ecx, ecx
call fcn.180048ea0
test eax, eax
jne 0x18004d931
mov rcx, qword [0x1800652c0]
mov qword [0x1800652c0], rdi
test rcx, rcx
je 0x18004d8f9
nop dword [rax + rax]
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x18004d8e0
mov r8, qword [0x1800652b0]
xor edx, edx
mov rcx, qword [0x1800650c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1800650c8]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x1800650c8], rdi
mov qword [0x1800652b0], rdi
mov qword [0x1800652b8], rdi
xchg dword [0x1800650c0], edi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret