Function at 0x1400ba82d
Capabilities:
Hide graphical window

Disassembly:
jmp 0x140227b30
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x318
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x338]
mov rax, qword [0x14031e940]
xor rax, rbp
mov qword [rbp + 0x2a0], rax
lea rcx, [0x140339aae]
call fcn.1400bb791
nop
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 0x40
lea rax, [0x1400b9f6d]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x24], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
lea rax, str.DirectX_9
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExW]
nop
cvttss2si eax, dword [0x14031e924]
mov dword [rbp + 0x284], eax
cvttss2si eax, dword [0x14031e920]
mov dword [rbp + 0x288], eax
movss xmm0, dword [0x14031e924]
divss xmm0, dword [0x1402387d0]
movss dword [rbp + 0x28c], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rbp + 0x28c]
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x290], eax
movss xmm0, dword [0x14031e920]
divss xmm0, dword [0x1402387d0]
movss dword [rbp + 0x294], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rbp + 0x294]
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x298], eax
mov qword [rsp + 0x58], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rbp + 0x284]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x288]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x290]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x298]
mov dword [rsp + 0x20], eax
mov r9d, 0x80000000
lea r8, str.EnCave
mov rdx, qword [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x438
mov edx, 0x37b8
lea rcx, str.1.89.2
call fcn.1400ba8c3
nop
xor ecx, ecx
call fcn.1400bb642
nop
call fcn.1400bb0bb
cvttss2si eax, dword [rax + 0x10]
mov dword [rbp + 0x284], eax
call fcn.1400bb0bb
cvttss2si eax, dword [rax + 0x10]
mov dword [rbp + 0x288], eax
cvttss2si eax, dword [0x14031e924]
mov dword [rbp + 0x28c], eax
cvttss2si eax, dword [0x14031e920]
mov dword [rbp + 0x290], eax
mov eax, dword [rbp + 0x284]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x288]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x28c]
mov r8d, dword [rbp + 0x290]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_SetWindowRgn]
nop
mov rcx, qword [rbp + 0x78]
call fcn.1400b9a8b
nop
xor ecx, ecx
call fcn.1400bb642
nop
call fcn.1400baa6c
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0x78]
call fcn.1400b8f37
nop
mov rcx, qword [0x140327320]
call fcn.1400b8636
nop
xor ecx, ecx
call fcn.1400bbc46
nop
mov r8, qword [0x140327320]
mov rdx, qword [rbp + 0x98]
lea rcx, [0x140327210]
call fcn.1400b8c71
nop
mov edx, 0xa
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov byte [rbp + 0xb4], 0
movzx eax, byte [rbp + 0xb4]
test eax, eax
jne 0x1402281f1
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140227e95
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
cmp dword [rbp + 0xe0], 0x12
jne 0x140227e93
mov byte [rbp + 0xb4], 1
jmp 0x140227e46
movzx eax, byte [rbp + 0xb4]
test eax, eax
je 0x140227ea5
jmp 0x1402281f1
call fcn.1400b974d
nop
call fcn.1400ba3ff
nop
call fcn.1400ba8dc
nop
lea rdx, [rbp + 0x128]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_GetWindowRect]
nop
movzx eax, byte [0x1402a102c]
test eax, eax
je 0x140227fbe
mov eax, 1
imul rax, rax, 0
mov rcx, qword [0x14031eff8]
movzx eax, byte [rcx + rax + 0xe04]
test eax, eax
je 0x140227fbe
cvttss2si eax, dword [0x14031e924]
mov dword [rbp + 0x284], eax
cvttss2si eax, dword [0x14031e920]
mov dword [rbp + 0x288], eax
cvtsi2ss xmm0, dword [rbp + 0x12c]
movss dword [rbp + 0x28c], xmm0
movss xmm2, dword [0x14024dc70]
xor edx, edx
lea rcx, [rbp + 0x254]
call fcn.1400ba887
movss xmm0, dword [rbp + 0x28c]
addss xmm0, dword [rax + 4]
cvttss2si eax, xmm0
mov dword [rbp + 0x290], eax
cvtsi2ss xmm0, dword [rbp + 0x128]
movss dword [rbp + 0x294], xmm0
movss xmm2, dword [0x14024dc70]
xor edx, edx
lea rcx, [rbp + 0x274]
call fcn.1400ba887
movss xmm0, dword [rbp + 0x294]
addss xmm0, dword [rax]
cvttss2si eax, xmm0
mov dword [rbp + 0x298], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rbp + 0x284]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x288]
mov r8d, dword [rbp + 0x290]
mov edx, dword [rbp + 0x298]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_MoveWindow]
nop
lea rcx, [0x140327210]
call fcn.1400b83bb
nop
call fcn.1400b8e88
nop
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x288], rax
xor r8d, r8d
mov edx, 7
mov rcx, qword [0x140327320]
call qword [rbp + 0x288]
nop
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x288], rax
xor r8d, r8d
mov edx, 0x1b
mov rcx, qword [0x140327320]
call qword [rbp + 0x288]
nop
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x288], rax
xor r8d, r8d
mov edx, 0xae
mov rcx, qword [0x140327320]
call qword [rbp + 0x288]
nop
mov ecx, 4
call fcn.1400bafd0
movss xmm0, dword [rax]
mulss xmm0, dword [0x14024dc4c]
cvttss2si eax, xmm0
and eax, 0xff
shl eax, 0x10
or eax, 0xff000000
mov dword [rbp + 0x284], eax
mov ecx, 4
call fcn.1400bafd0
movss xmm0, dword [rax + 4]
mulss xmm0, dword [0x14024dc4c]
cvttss2si eax, xmm0
and eax, 0xff
shl eax, 8
mov ecx, dword [rbp + 0x284]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x288], eax
mov ecx, 4
call fcn.1400bafd0
movss xmm0, dword [rax + 8]
mulss xmm0, dword [0x14024dc4c]
cvttss2si eax, xmm0
and eax, 0xff
mov ecx, dword [rbp + 0x288]
or ecx, eax
mov eax, ecx
mov dword [rbp + 0x154], eax
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rbp + 0x288], rax
mov dword [rsp + 0x30], 0
movss xmm0, dword [0x1402387cc]
movss dword [rsp + 0x28], xmm0
mov eax, dword [rbp + 0x154]
mov dword [rsp + 0x20], eax
mov r9d, 3
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140327320]
call qword [rbp + 0x288]
nop
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rcx, qword [0x140327320]
call qword [rax + 0x148]
test eax, eax
jl 0x140228183
call fcn.1400bb5c0
nop
call fcn.1400bb205
mov rcx, rax
call fcn.1400bb2b4
nop
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rcx, qword [0x140327320]
call qword [rax + 0x150]
nop
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rbp + 0x288], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140327320]
call qword [rbp + 0x288]
mov dword [rbp + 0x174], eax
cmp dword [rbp + 0x174], 0x88760868
jne 0x1402281ec
mov rax, qword [0x140327320]
mov rax, qword [rax]
mov rcx, qword [0x140327320]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1402281ec
call fcn.1400b81e0
nop
jmp 0x140227e37
call fcn.1400ba50d
nop
call fcn.1400b89ce
nop
xor ecx, ecx
call fcn.1400ba4e0
nop
call fcn.1400bb183
nop
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
lea rcx, [rbp - 0x60]
lea rdx, [0x140284d90]
call fcn.1400bae18
mov rcx, qword [rbp + 0x2a0]
xor rcx, rbp
call fcn.1400b9adb
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret