Function at 0x18004d5b0
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.180005a70
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x180064f88]
mov rcx, qword [0x180064f80]
call fcn.18004d2b0
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18004d665
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d660
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004d660
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004eb30
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 0x18004d788
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.1800495e0
call fcn.1800493d0
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.180014400
xor edi, edi
mov qword [0x1800650b0], rdi
test rbx, rbx
je 0x18004d89b
mov rcx, rbx
call fcn.180029230
mov rax, qword [0x1800650b0]
test rax, rax
je 0x18004d892
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 0x18004d8ba
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 0x18004d8f1
nop dword [rax]
cmp rbx, 0x20
jae 0x18004d8da
xor ecx, ecx
jmp 0x18004d8dc
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800650c0], esi
jne 0x18004d8d0
cmp qword [0x1800650c8], rdi
je 0x18004d971
xor ecx, ecx
call fcn.180048f00
test eax, eax
jne 0x18004d971
mov rcx, qword [0x1800652c0]
mov qword [0x1800652c0], rdi
test rcx, rcx
je 0x18004d939
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 0x18004d920
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