Function at 0x14004f3a0
Capabilities:
Access peb ldr_data
Create thread
Delete file
Encode data using xor
Get token membership
Hash data using fnv
Move file
Persist via autodialdll registry key
Persist via windows service
Resolve function by fnv-1a hash
Resolve function by parsing pe exports
Set registry value

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x338]
sub rsp, 0x438
mov rax, qword [0x140104080]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r13d, r13d
lea rax, [rbp + 0xd0]
xorps xmm0, xmm0
mov qword [rbp + 0x30], r13
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x38], r13
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x14004f400
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x20]
call fcn.140053a10
lea rcx, [rbp + 0x20]
call fcn.140051a20
cmp qword [rbp + 0x30], rax
lea rdx, [rbp + 0x20]
xorps xmm0, xmm0
mov qword [rbp + 0x70], r13
cmovb rax, qword [rbp + 0x30]
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x38], 7
mov r8, rax
movups xmmword [rbp + 0x60], xmm0
cmova rdx, qword [rbp + 0x20]
mov qword [rbp + 0x78], r13
call fcn.140053a10
lea rcx, [rbp + 0x20]
call fcn.140051a20
xorps xmm0, xmm0
mov qword [rbp + 0x90], r13
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x98], r13
lea rcx, [rax + 1]
mov rax, qword [rbp + 0x30]
cmp rax, rcx
jb 0x1400507f1
sub rax, rcx
mov qword [rsp + 0x450], rbx
mov qword [rsp + 0x458], rsi
mov r8, 0xffffffffffffffff
cmp rax, r8
mov qword [rsp + 0x460], rdi
mov qword [rsp + 0x430], r12
cmovb r8, rax
mov qword [rsp + 0x428], r14
cmp qword [rbp + 0x38], 7
lea rax, [rbp + 0x20]
mov qword [rsp + 0x420], r15
cmova rax, qword [rbp + 0x20]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x80]
call fcn.140053a10
xorps xmm0, xmm0
mov qword [rbp + 0x50], r13
mov r8d, 0x3e
mov qword [rbp + 0x58], r13
lea rdx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea rcx, [rbp + 0x40]
movups xmmword [rbp + 0x40], xmm0
call fcn.140053a10
xorps xmm0, xmm0
mov rbx, r13
movups xmmword [rbp], xmm0
mov edi, 7
mov word [rbp], r13w
xor ecx, ecx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rdi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov r15, qword [rbp + 0x58]
mov esi, reloc.WS2_32.dll_ntohs
mov r12, qword [rbp + 0x50]
mov r14, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div r12
cmp r15, 7
lea rax, [rbp + 0x40]
cmova rax, r14
movzx r9d, word [rax + rdx*2]
cmp rbx, rdi
jae 0x14004f58d
lea rax, [rbx + 1]
cmp rdi, 7
mov qword [rbp + 0x10], rax
lea rax, [rbp]
cmova rax, qword [rbp]
mov word [rax + rbx*2], r9w
mov word [rax + rbx*2 + 2], r13w
jmp 0x14004f596
lea rcx, [rbp]
call fcn.1400536c0
sub rsi, 1
je 0x14004f5a6
mov rdi, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
jmp 0x14004f548
movaps xmmword [rsp + 0x410], xmm6
cmp r15, 7
jbe 0x14004f5e9
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004f5e1
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
mov rcx, r14
call fcn.1400c7dfc
mov rcx, qword [rbp + 0x70]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rcx
cmp rax, 1
jb 0x1400507f7
cmp qword [rbp + 0x78], 7
lea rax, [0x1400edd8c]
mov qword [rsp + 0x30], 1
lea r9, [rbp + 0x60]
cmova r9, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x50]
call fcn.140054380
mov r15, qword [rbp + 0x18]
lea r9, [rbp]
mov rcx, qword [rbp - 0x38]
cmp r15, 7
mov r14, qword [rbp - 0x40]
mov rax, rcx
cmova r9, qword [rbp]
sub rax, r14
mov rdi, qword [rbp + 0x10]
cmp rdi, rax
ja 0x14004f694
cmp rcx, 7
lea rax, [r14 + rdi]
lea rbx, [rbp - 0x50]
mov qword [rbp - 0x40], rax
cmova rbx, qword [rbp - 0x50]
lea r8, [rdi + rdi]
mov rdx, r9
lea rcx, [rbx + r14*2]
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r13w
lea rax, [rbp - 0x50]
jmp 0x14004f6ac
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140053850
mov r15, qword [rbp + 0x18]
movups xmm0, xmmword [rax]
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp - 0x38]
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm6
cmp rdx, 7
jbe 0x14004f70e
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f709
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f709
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7dfc
movq rax, xmm6
sub rsi, rax
cmp rsi, 4
jb 0x1400507eb
cmp qword [rbp + 0x58], 7
lea rcx, [0x1400edd90]
mov qword [rsp + 0x30], 4
lea r9, [rbp + 0x40]
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.140054380
cmp qword [rbp - 0x38], 7
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xd0]
cmova rdx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rbp - 0x38]
mov ebx, eax
cmp rdx, 7
jbe 0x14004f7b1
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7ac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f7ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7dfc
test ebx, ebx
jne 0x14004f955
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14004f7f9
mov rcx, qword [rbp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7f4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
cmp r15, 7
jbe 0x14004f835
mov rcx, qword [rbp]
lea rdx, [r15*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f830
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14004f87b
mov rcx, qword [rbp + 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f876
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14004f8bb
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f8b6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
mov r8, qword [rbp + 0x38]
cmp r8, 7
jbe 0x14004f8fe
mov rcx, qword [rbp + 0x20]
lea r8, [r8*2 + 2]
mov rdx, rcx
cmp r8, 0x1000
jb 0x14004f8f6
mov rcx, qword [rcx - 8]
add r8, 0x27
sub rdx, rcx
add rdx, 0xfffffffffffffff8
cmp rdx, 0x1f
ja 0x1400507c1
mov rdx, r8
call fcn.1400c7dfc
mov eax, 1
movaps xmm6, xmmword [rsp + 0x410]
mov r14, qword [rsp + 0x428]
mov r12, qword [rsp + 0x430]
mov rdi, qword [rsp + 0x460]
mov rsi, qword [rsp + 0x458]
mov rbx, qword [rsp + 0x450]
mov r15, qword [rsp + 0x420]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400c76d0
add rsp, 0x438
pop r13
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.140041d40
xor r9d, r9d
mov qword [rsp + 0x28], r13
lea r8, [0x140047830]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [0x1400508d0]
mov dword [rsp + 0x60], 0x50
xor ecx, ecx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x64], 0x40
mov qword [rsp + 0x70], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp - 0x58], r13
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm0
lea r14, str.Lumos
movdqa xmmword [rbp - 0x70], xmm1
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], r14
call qword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si edi, dword [0x14013be24]
mov ecx, 1
cvttss2si esi, dword [0x14013be20]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x14013be24]
xor ecx, ecx
mulss xmm0, dword [0x1400f0b24]
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 [0x14013be20]
mov r9d, 0x80000000
mulss xmm0, dword [0x1400f0b24]
cdq
mov qword [rsp + 0x58], r13
sub eax, edx
mov rdx, qword [rbp - 0x60]
mov r8, r14
sar eax, 1
movd xmm1, eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], edi
cvtdq2ps xmm1, xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
subss xmm1, xmm0
cvttss2si ecx, xmm1
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [rsp + 0x30], 3
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x28], r13d
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov rdx, 0xffffffffffffffff
mov r12, rax
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rax, [rbp - 0x50]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMControlSet001ServicesWinSock2Parameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x50]
lea rax, str.C:WindowsSystem32_rasadhlp.dll
mov esi, 1
mov dword [rsp + 0x28], 0x42
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.AutodialDLL
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov qword [rbp - 0x10], r13
mov r8d, Ordinal_35
mov qword [rbp - 8], r13
lea rdx, str.C:WindowsSystem32xwinput_13.dll
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call fcn.140053a10
cmp qword [rbp - 8], 7
lea rcx, [rbp - 0x20]
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14004fb89
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fb84
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fb84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7dfc
mov rcx, rsi
call fcn.1400c7ab0
lea rcx, [rbp - 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140054df0]
xor ecx, ecx
mov dword [rsp + 0x20], r13d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400507db
cmp dword [rbp - 0x48], r13d
je 0x1400507d2
movaps xmm0, xmmword [rbp - 0x50]
lea rcx, [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400507d2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x400], xmm7
movdqa xmmword [rbp - 0x50], xmm0
movaps xmmword [rsp + 0x3f0], xmm8
call fcn.1400494d0
test al, al
je 0x14004fd07
lea rdx, str.Rust
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14004fc33
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x14004fcc5
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14004fcc5
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov r8d, dword [rdx + rbx]
mov edx, 0x811c9dc5
add r8, r10
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x14004fcc0
nop
movsx ecx, cl
lea r8, [r8 + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8 - 1]
test cl, cl
jne 0x14004fca0
cmp edx, 0x2fa62ca8
je 0x14004fcca
test r9d, r9d
jne 0x14004fc80
mov rax, qword [rax]
jmp 0x14004fc50
mov eax, dword [r11 + 0x24]
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx edx, word [rax + r9*2]
mov eax, dword [rcx + rdx*4]
mov ecx, 0x9c4
add rax, r10
call rax
xor r9d, r9d
lea r8, str.Success
lea rdx, str.Game_Closed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov r15, qword [rbp + 0x18]
lea rax, [rbp - 0x50]
mov dword [rbp - 0x30], r13d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x48], r13d
mov r9d, 0x220
mov dword [rsp + 0x40], r13d
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x38], r13d
mov dl, 2
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov qword [rbp - 0x50], r13
mov dword [rbp - 0x20], r13d
mov word [rbp - 0x1c], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14004fd76
mov rdx, qword [rbp - 0x50]
lea r8, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x30], r13d
jne 0x14004fe4b
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Error
lea rdx, str.Please_run_the_application_as_an_administrator.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x14004fe25
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14004fe25
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [r10 + r9*4]
mov r8d, dword [rdx + rbx]
mov edx, 0x811c9dc5
add r8, r10
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x14004fe20
nop
movsx ecx, cl
lea r8, [r8 + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8 - 1]
test cl, cl
jne 0x14004fe00
cmp edx, 0xcded1a85
je 0x14004fe2a
test r9d, r9d
jne 0x14004fde0
mov rax, qword [rax]
jmp 0x14004fdb0
mov eax, dword [r11 + 0x24]
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx edx, word [rax + r9*2]
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov r15, qword [rbp + 0x18]
call fcn.140007ed0
mov rax, qword [0x14013d110]
xor ecx, ecx
cvttss2si r9d, dword [0x14013be24]
cvttss2si edx, dword [rax + 0x37f0]
cvttss2si r8d, dword [0x14013be20]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov r8d, esi
mov rcx, r12
mov rdx, rax
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x14013d578], rax
mov rcx, rax
test rax, rax
je 0x14004ff34
lea rdx, [0x14013d600]
mov qword [0x14013d610], r13
mov qword [rsp + 0x30], rdx
mov r9, r12
lea rdx, [0x14013d610]
mov qword [0x14013d61c], r13
mov qword [rsp + 0x28], rdx
mov r8d, esi
mov dword [0x14013d624], r13d
xor edx, edx
mov qword [0x14013d62c], r13
mov dword [0x14013d634], r13d
mov qword [0x14013d644], r13
mov dword [0x14013d638], esi
mov dword [0x14013d628], esi
mov dword [0x14013d618], r13d
mov dword [0x14013d63c], esi
mov dword [0x14013d640], 0x50
mov dword [0x14013d64c], esi
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
call fcn.140007ed0
mov r14, qword [0x14013d110]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140050092
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140050092
mov rax, qword [0x14013d110]
test rax, rax
je 0x14004ff76
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14004ffa3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x14004ffa6
mov rdi, r13
or dword [r14 + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [r14 + 0x88], rax
mov rbx, r13
mov qword [r14 + 0x98], rdi
mov qword [rdi], r12
mov rax, qword [rbp - 0x50]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rdi + 0x18], rax
mov rax, qword [0x14013d110]
mov dword [rdi + 0x28], 9
mov rcx, qword [rax + 0x4898]
mov rax, qword [rcx]
mov qword [rax + 0x28], r12
lea rax, str.xinput1_4.dll
mov qword [rbp + 0xa0], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0xa8], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0xb0], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0xb8], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0xc0], rax
mov byte [rdi + 0x2d], sil
nop dword [rax]
mov rcx, qword [rbp + rbx*8 + 0xa0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140050061
inc rbx
cmp rbx, 5
jl 0x140050040
jmp 0x14005008d
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x30], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov esi, 1
mov rbx, qword [0x14013d110]
mov rdi, qword [0x14013d600]
test rbx, rbx
je 0x1400500ab
inc dword [rbx + 0xf4]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400500da
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x1400500dd
mov rax, r13
or dword [rbx + 0xc], 8
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x90], rcx
mov rcx, rdi
mov qword [rbx + 0xa0], rax
mov qword [rax], rdi
mov rax, qword [rdi]
call qword [rax + reloc.WS2_32.dll_htonl]
xor ecx, ecx
call fcn.140024a10
lea rcx, [r14 + 8]
call fcn.14004e6a0
mov edx, 0xa
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
movss xmm6, dword [0x1400f0c60]
xor bl, bl
movss xmm7, dword [0x1400f0c24]
movss xmm8, dword [0x1400f0b50]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, [rbp + 0xa0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400501ad
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0xa8], 0x12
lea rcx, [rbp + 0xa0]
movzx ebx, bl
cmove ebx, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140050161
test bl, bl
jne 0x1400504d0
mov rax, qword [0x14013d110]
test rax, rax
je 0x1400501c2
mov rcx, qword [rax + 0xa0]
jmp 0x1400501c5
mov rcx, r13
cmp qword [rcx + 0x18], r13
jne 0x1400501e6
test rax, rax
je 0x1400501e6
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x1400501e6
cmp qword [rcx], r13
je 0x1400501e6
call fcn.140002310
call fcn.140002d10
call fcn.14000a270
lea rdx, [rbp - 0x50]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [reloc.WS2_32.dll_accept], r13b
je 0x140050365
mov rax, qword [0x14013d110]
cmp byte [rax + 0xe04], r13b
je 0x140050365
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + 0x3790]
cvttss2si r9d, dword [0x14013be24]
cvttss2si r10d, dword [0x14013be20]
mulss xmm1, xmm1
comiss xmm0, xmm1
jb 0x1400502a4
lea rcx, [rax + 0xdfc]
test rcx, rcx
jne 0x140050259
lea rcx, [rax + 0xdfc]
movss xmm0, dword [rcx]
comiss xmm0, xmm6
movss xmm1, dword [rcx + 4]
jb 0x1400502a4
comiss xmm1, xmm6
jb 0x1400502a4
lea rdx, [rax + 0x36e8]
mov rcx, rdx
test rdx, rdx
jne 0x140050282
lea rcx, [rax + 0xdfc]
movss xmm0, dword [rcx]
comiss xmm0, xmm6
movss xmm1, dword [rcx + 4]
jb 0x1400502a4
comiss xmm1, xmm6
jb 0x1400502a4
movss xmm1, dword [rax + 0xe00]
subss xmm1, dword [rdx + 4]
jmp 0x1400502a7
xorps xmm1, xmm1
movd xmm0, dword [rbp - 0x4c]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [rax + 0x38]
cvttss2si r8d, xmm0
cmp byte [rax + 0xe04], r13b
jne 0x1400502cf
cmp byte [rax + 0x3756], r13b
je 0x14005033d
movss xmm0, dword [rax + 0x3790]
mulss xmm1, xmm1
comiss xmm0, xmm1
jb 0x14005033d
lea rcx, [rax + 0xdfc]
test rcx, rcx
jne 0x1400502f3
lea rcx, [rax + 0xdfc]
movss xmm0, dword [rcx]
comiss xmm0, xmm6
movss xmm1, dword [rcx + 4]
jb 0x14005033d
comiss xmm1, xmm6
jb 0x14005033d
lea rdx, [rax + 0x36e8]
mov rcx, rdx
test rdx, rdx
jne 0x14005031c
lea rcx, [rax + 0xdfc]
movss xmm0, dword [rcx]
comiss xmm0, xmm6
movss xmm1, dword [rcx + 4]
jb 0x14005033d
comiss xmm1, xmm6
jb 0x14005033d
movss xmm1, dword [rax + 0xdfc]
subss xmm1, dword [rdx]
jmp 0x140050340
xorps xmm1, xmm1
movd xmm0, dword [rbp - 0x50]
mov rcx, r12
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r9d
mov r9d, r10d
addss xmm0, xmm1
cvttss2si edx, xmm0
call qword [sym.imp.USER32.dll_MoveWindow]
call fcn.14004eb00
call fcn.14000bf10
mov rcx, qword [0x14013d600]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14013d600]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14013d600]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14013d110]
mov r9d, 3
mov r10, qword [0x14013d600]
mov dword [rsp + 0x30], r13d
movss dword [rsp + 0x28], xmm8
movss xmm0, dword [rcx + 0x38ec]
movss xmm1, dword [rcx + 0x38e8]
mov r11, qword [r10]
mulss xmm0, xmm7
mulss xmm1, xmm7
cvttss2si eax, xmm0
movss xmm0, dword [rcx + 0x38f0]
mov rcx, r10
movzx r8d, al
cvttss2si eax, xmm1
mulss xmm0, xmm7
shl eax, 8
or r8d, eax
shl r8d, 8
cvttss2si eax, xmm0
movzx edx, al
or r8d, edx
xor edx, edx
or r8d, 0xff000000
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [r11 + 0x158]
mov rcx, qword [0x14013d600]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140050486
call fcn.14000c280
mov rax, qword [0x14013d110]
mov rcx, qword [rax + 0x4898]
mov rax, qword [rcx]
mov rcx, r13
add rax, 0x48
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.140001d50
mov rcx, qword [0x14013d600]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14013d600]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140050144
mov rcx, qword [0x14013d600]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140050144
call fcn.140050800
jmp 0x140050144
mov rcx, qword [0x14013d110]
movaps xmm8, xmmword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x400]
test rcx, rcx
je 0x1400504f6
mov rdi, qword [rcx + 0xa0]
jmp 0x1400504f9
mov rdi, r13
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140050572
mov rbx, qword [rcx + 0xa0]
test rbx, rbx
je 0x140050572
cmp qword [rbx], r13
je 0x140050572
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140050530
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14013d110]
mov qword [rbx + 8], r13
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14005054d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14013d110]
mov qword [rbx + 0x10], r13
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140050572
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14013d110]
mov qword [rbx + 0x18], r13
mov rax, qword [rcx + 0x58]
mov qword [rax + 8], r13
mov rdx, qword [rdi]
test rdx, rdx
je 0x14005058a
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14013d110]
mov qword [rsi + 0x88], r13
mov qword [rsi + 0x98], r13
test rcx, rcx
je 0x1400505a3
dec dword [rcx + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14013d110]
test rax, rax
je 0x1400505c1
mov rbx, qword [rax + 0x98]
jmp 0x1400505c4
mov rbx, r13
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400505de
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14013d110]
mov qword [rdi + 0x80], r13
mov qword [rdi + 0x90], r13
test rax, rax
je 0x1400505f7
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14013d110]
mov qword [0x14013d110], rbx
call fcn.140008330
mov qword [0x14013d110], r13
test rbx, rbx
je 0x140050642
mov rcx, rbx
call fcn.14001d1a0
mov rax, qword [0x14013d110]
test rax, rax
je 0x140050639
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14013d600]
test rcx, rcx
je 0x14005065b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14013d600], r13
mov rcx, qword [0x14013d578]
test rcx, rcx
je 0x140050674
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14013d578], r13
mov rcx, r12
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x1400506cc
mov rcx, qword [rbp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400506c7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
cmp r15, 7
jbe 0x140050708
mov rcx, qword [rbp]
lea rdx, [r15*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050703
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14005074a
mov rcx, qword [rbp + 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050745
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140050786
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050781
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507c1
call fcn.1400c7dfc
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x14004f903
mov rcx, qword [rbp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400507c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400507c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7dfc
jmp 0x14004f903
mov ecx, esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x48], r13d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call fcn.140037530
int3
call fcn.140052c00
int3
call fcn.140037530
int3