Function at 0x140052e20
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140100040]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rcx, str.Keyauth_std
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
mov cl, 1
call qword [sym.imp.VMProtectSDK64.dll_VMProtectIsDebuggerPresent]
call fcn.140052b00
mov ecx, 8
call fcn.140055afc
lea rcx, [0x140052890]
mov qword [rax], rcx
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140053830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x27], rax
test rax, rax
je 0x1400532c4
mov dword [rbp - 0x29], 0x50
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
mov qword [rbp + 0x1b], rax
mov dword [rbp + 0x23], eax
mov dword [rbp - 0x25], 3
lea rax, [0x14004a6e0]
mov qword [rbp - 0x21], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x11], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 1], rax
lea rdi, str.MyCustomWindowClass
mov qword [rbp + 0x17], rdi
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rbx
mov rax, qword [rbp - 0x11]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], Ordinal_301
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 0x80000000
lea r8, str.Yusei
mov rdx, qword [rbp + 0x17]
mov ecx, 0x88
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1403e8a88], rax
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1403e8a88]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x1403e8a80], rax
test rax, rax
je 0x14005303c
mov qword [0x1403e8aa0], rbx
mov qword [0x1403e8ab0], rbx
mov qword [0x1403e8abc], rbx
mov dword [0x1403e8ac4], ebx
mov qword [0x1403e8ad4], rbx
mov dword [0x1403e8ac8], 1
mov dword [0x1403e8ab8], 1
mov dword [0x1403e8aa8], 0x15
mov dword [0x1403e8aac], 2
mov dword [0x1403e8acc], 1
mov dword [0x1403e8ad0], 0x50
mov dword [0x1403e8adc], 1
mov rax, qword [rax]
lea rdx, [0x1403e8a90]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1403e8aa0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, qword [0x1403e8a88]
xor edx, edx
mov r8d, 1
call qword [rax + 0x80]
nop
call fcn.14004a930
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14005322a
mov qword [rbp - 0x39], 5
movss xmm6, dword [0x1400ef9f4]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400530b8
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x21], 0x12
je 0x1400530cd
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140053080
mov rax, qword [0x1403e73d0]
test rax, rax
je 0x1400530d6
mov rcx, qword [rax + 0xa0]
jmp 0x1400530d9
mov byte [reloc.WS2_32.dll_accept], 0
jmp 0x140053107
mov rcx, rbx
cmp qword [rcx + 0x18], 0
jne 0x1400530fc
test rax, rax
je 0x1400530fc
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x1400530fc
cmp qword [rcx], 0
je 0x1400530fc
call fcn.140038e80
call fcn.140039bd0
call fcn.140012d10
nop
call fcn.14004b310
nop
call fcn.140014850
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
call qword [rax + 0x1c8]
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
mov dword [rsp + 0x30], ebx
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 0xff000000
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400531d6
call fcn.140014e90
mov rax, qword [0x1403e73d0]
mov rax, qword [rax + 0x4bd0]
mov rcx, qword [rax]
add rcx, 0x50
mov rax, rbx
cmp byte [rcx], bl
cmovne rax, rcx
mov rcx, rax
call fcn.1400388c0
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140053214
mov rcx, qword [0x1403e8a90]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140053214
call fcn.14004a870
nop
lea rcx, [rbp - 0x39]
call fcn.1400535c0
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x140053060
call fcn.14004ab00
nop
mov rcx, qword [0x1403e8a90]
test rcx, rcx
je 0x140053249
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1403e8a90], rbx
mov rcx, qword [0x1403e8a80]
test rcx, rcx
je 0x140053262
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1403e8a80], rbx
mov rcx, qword [0x1403e8a88]
test rcx, rcx
je 0x14005327b
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x1403e8a88], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnregisterClassW]
cmp dword [rbp + 0x2f], 0
je 0x14005329c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140055510
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
mov dword [rbp + 0x2f], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3