Function at 0x140042510
Capabilities:
Create thread
Terminate process

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x1400ef0c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
call fcn.14003b1f0
xor r15d, r15d
lea r8, [0x14003a910]
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140042562
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x140], r14
call fcn.14003aa80
call fcn.14003f4e0
lea rax, [0x140042db0]
mov dword [rbp - 0x50], 0x50
xor ecx, ecx
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x4c], 0x40
mov qword [rbp - 0x40], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp - 8], r15
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x50]
lea rax, [0x1400da3b8]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x10], rax
movdqa xmmword [rbp - 0x20], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si edi, dword [0x1400ef17c]
mov r14d, 1
mov ecx, r14d
cvttss2si esi, dword [0x1400ef178]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x1400ef17c]
xor ecx, ecx
mulss xmm0, dword [0x1400dc2bc]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si ebx, xmm1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x1400ef178]
lea r8, str.Eclipse
mulss xmm0, dword [0x1400dc2bc]
cdq
mov qword [rsp + 0x58], r15
sub eax, edx
mov rdx, qword [rbp - 0x10]
mov r9d, 0x80000000
mov qword [rsp + 0x50], r15
xor ecx, ecx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
sar eax, 1
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rcx, [0x140263160]
mov qword [0x1402634e8], rax
call fcn.1400691a0
mov rcx, qword [0x1402634e8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [0x1402634e8]
mov edx, 0xffffffec
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1402634e8]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400dc510]
lea rdx, [rbp + 8]
mov rcx, qword [0x1402634e8]
movdqu xmmword [rbp + 8], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1402634e8]
lea rdx, [0x1402634f0]
xorps xmm0, xmm0
movups xmmword [0x1402634f0], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [0x1402634e8]
lea rbx, [0x1402634d8]
mov qword [rsp + 0x58], rbx
lea rdi, [0x1402630c8]
mov qword [rbp - 0x70], rax
lea rsi, [0x1402634b0]
lea rax, [rbp]
mov qword [rsp + 0x74], r15
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, r14d
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x18]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x78], 2
mov qword [rbp - 0x60], 2
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x70], Ordinal_33
mov dword [rsp + 0x68], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x6c], r14d
mov dword [rbp - 0x7c], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x7c], r14
mov qword [rbp - 0x68], r14
mov dword [rbp + 0x18], 0xb000
mov dword [rbp + 0x1c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14004282a
mov qword [rsp + 0x58], rbx
lea rax, [rbp]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 5
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x18]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rsi, qword [rsp + 0x168]
test eax, eax
je 0x140042851
call fcn.140042d30
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r14d
jmp 0x140042cf2
mov rcx, qword [0x1402634b0]
lea r9, [rbp + 0x20]
lea r8, [0x1400dba38]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1402630c8]
lea r9, [0x1402634a8]
mov rdx, qword [rbp + 0x20]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1402634e8]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1402634e8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1402630b0]
mov ecx, 0x6280
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1402630b0]
mov r9, rax
test r8, r8
je 0x140042930
movsx rax, word [r8 + 0x60f0]
lea rdx, [r8 + 0x60f4]
mov r10d, dword [r8 + 0x3f58]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140042925
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60f4]
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r15d
inc word [rdx + 4]
inc dword [r8 + 0x60e8]
test r9, r9
je 0x140042941
xor edx, edx
mov rcx, r9
call fcn.140001eb0
jmp 0x140042944
mov rax, r15
mov qword [0x1402630b0], rax
call fcn.1400064a0
test rbx, rbx
je 0x14004295e
mov qword [0x1402630b0], rbx
jmp 0x140042965
mov rbx, qword [0x1402630b0]
xor ecx, ecx
mov qword [rbx + 0x20], r15
call fcn.140025260
mov rcx, qword [0x1402634e8]
call fcn.14002edc0
call fcn.14002ebf0
call fcn.140042f80
xor bl, bl
nop dword [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400429f6
nop dword [rax]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x68], 0x12
lea rcx, [rsp + 0x60]
movzx ebx, bl
cmove ebx, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400429b0
test bl, bl
jne 0x140042ab4
mov rax, qword [0x1402630b0]
test rax, rax
je 0x140042a0b
mov rcx, qword [rax + 0x98]
jmp 0x140042a0e
mov rcx, r15
cmp qword [rcx + 0x48], r15
jne 0x140042a19
call fcn.14002e590
call fcn.14002f7d0
call fcn.140008ad0
lea rcx, [0x1402630ad]
call fcn.1400438c0
call fcn.1400103c0
call fcn.14000ac10
mov rcx, qword [0x1402634d8]
lea r8, [0x1402634a8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x20], xmm0
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1402634d8]
lea r8, [rbp + 0x20]
mov rdx, qword [0x1402634a8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1402630b0]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.14002db20
mov rcx, qword [0x1402634b0]
xor r8d, r8d
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x140042990
mov rbx, qword [0x1402630b0]
test rbx, rbx
je 0x140042ac9
mov rdi, qword [rbx + 0x98]
jmp 0x140042acc
mov rdi, r15
call fcn.14002ead0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140042ae0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140042aee
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140042afd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1402630b0]
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x98], r15
test r8, r8
je 0x140042b7b
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140042b70
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r15d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1402630b0]
test r8, r8
je 0x140042b99
mov rdi, qword [r8 + 0x90]
jmp 0x140042b9c
mov rdi, r15
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140042bb6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1402630b0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r15
mov qword [rbx + 0x88], r15
test r8, r8
je 0x140042c2a
movsx rdx, word [r8 + 0x60f0]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rdx*8 + 0x60f4]
add rcx, r8
cmp dword [rcx], r9d
je 0x140042c1f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60f4]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r15d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1402630b0]
mov qword [0x1402630b0], rbx
call fcn.1400069b0
mov qword [0x1402630b0], r15
test rbx, rbx
je 0x140042cd0
mov rcx, rbx
call fcn.14001d5f0
mov r8, qword [0x1402630b0]
test r8, r8
je 0x140042cc7
movsx r10, word [r8 + 0x60f0]
lea rdx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140042cbc
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60f4]
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r15d
inc word [rdx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140042d30
mov rcx, qword [0x1402634e8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov rdi, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x160]
mov r14, qword [rsp + 0x140]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400bfbc0
add rsp, 0x148
pop r15
pop rbp
ret