Function at 0x140034e80
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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x60], r15d
mov dword [rbp - 0x50], 0x50
mov dword [rbp - 0x4c], 0x40
lea rax, [0x1400392f0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x38], 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 - 0x30], rax
mov qword [rbp - 0x28], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
lea rax, [0x14011a1e4]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r15
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp - 0x38]
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 - 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rdi + 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 [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_35
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp], 1
lea r9d, [r15 + 4]
lea r8, [rbp]
lea edx, [r15 + 0x14]
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
mov rbx, qword [rdi + 0x50]
lea ecx, [r15 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [rdi], rax
lea r14, [rdi + 8]
test rax, rax
je 0x14003506b
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x1c], r15
mov dword [rdi + 0x24], r15d
mov qword [rdi + 0x28], 1
mov qword [rdi + 0x44], r15
mov dword [rdi + 0x38], 1
mov dword [rdi + 0x18], r15d
mov dword [rdi + 0x3c], 1
mov dword [rdi + 0x40], 0x50
mov dword [rdi + 0x4c], 1
mov qword [rdi + 0x30], rbx
mov rcx, rax
mov rax, qword [rax]
mov r10, qword [rax + 0x80]
lea rax, [rdi + 0x10]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
mov r9, qword [rdi + 0x50]
xor edx, edx
lea r8d, [r15 + 1]
call r10
test eax, eax
je 0x1400350cd
mov rcx, qword [r14]
test rcx, rcx
je 0x14003507c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [r14], r15
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003508d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi], r15
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov al, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400b5950
lea r11, [rsp + 0x1b0]
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
mov edx, 0xa
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x14017fb30]
test rax, rax
je 0x1400350f8
inc dword [rax + 0x3b0]
mov ecx, 0x3f00
call fcn.1400c86f0
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x20], rax
test rax, rax
je 0x140035124
xor edx, edx
mov rcx, rax
call fcn.140003010
jmp 0x140035127
mov rax, r15
cmp qword [0x14017fb30], 0
jne 0x140035138
mov qword [0x14017fb30], rax
mov rcx, rax
call fcn.140008dd0
mov rax, qword [0x14017fb30]
mov byte [rax + 0x398], 0
call fcn.140039370
mov rbx, qword [rdi + 0x50]
lea rcx, [0x14017fbd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400352dc
lea rcx, [0x14017fbc8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400352dc
mov qword [0x14017fbc0], rbx
mov rax, qword [0x14017fb30]
or dword [rax + 0xc], 6
lea rcx, str.imgui_impl_win32
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x120], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], Ordinal_41
mov dword [rax + 0x44], Ordinal_41
mov dword [rax + 0x48], Ordinal_41
mov dword [rax + 0x4c], Ordinal_46
mov dword [rax + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rax + 0x54], Ordinal_35
mov dword [rax + 0x58], Ordinal_41
mov dword [rax + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rax + 0x60], Ordinal_46
mov dword [rax + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rax + 0x70], reloc.WS2_32.dll_listen
mov dword [rax + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rax + 0x78], reloc.WS2_32.dll_listen
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 [rsp + 0x70], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x70], rax
mov rbx, r15
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400352ae
inc rbx
cmp rbx, 5
jl 0x140035290
jmp 0x1400352dc
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017fbb0], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017fbb8], rax
mov rsi, qword [r14]
mov rbx, qword [0x14017fb30]
test rbx, rbx
je 0x1400352f1
inc dword [rbx + 0x3b0]
mov ecx, Ordinal_41
call fcn.1400c86f0
test rax, rax
je 0x14003531f
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 0x140035322
mov rax, r15
mov qword [rbx + 0xf0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe0], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
movabs rax, 0xb8c86f54b27937b6
mov qword [rbp + 0x10], rax
movabs rbx, 0x812b3580c32cdb62
mov qword [rbp + 0x18], rbx
movabs r13, 0xe4a70121fe250df5
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], rbx
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea rax, [rsp + 0x70]
mov qword [rbp + 0x20], rax
lea r12, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400353a0
call fcn.1400b4920
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov edx, 7
mov qword [rbp - 0x78], rdx
mov word [rsp + 0x70], r15w
mov dword [rbp - 0x60], 4
test rsi, rsi
je 0x14003545c
cmp rsi, 0x7fffffff
ja 0x1400358ea
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov ecx, eax
call fcn.1400b4948
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x1400358f0
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x70]
call fcn.1400319d0
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r9, qword [rsp + 0x70]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r12
mov ecx, r14d
call fcn.1400b4948
shr rax, 0x20
test eax, eax
jne 0x1400358f6
mov rdx, qword [rbp - 0x78]
movabs rbx, 0x812b3580c32cdb62
lea rcx, [rsp + 0x70]
cmp rdx, 7
cmova rcx, qword [rsp + 0x70]
call fcn.1400b4a5c
shr rax, 0x20
test eax, eax
jne 0x1400358fe
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400354bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400354b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003590b
call fcn.1400b5bec
movabs rax, 0xb8c86f54b27937b6
mov qword [rsp + 0x70], rax
movabs rax, 0xe54a5aecad5bb406
mov qword [rsp + 0x78], rax
movabs rax, 0x2ed538034322be32
mov qword [rbp - 0x80], rax
movabs r8, 0x4129689a22c30afc
mov qword [rbp - 0x78], r8
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], rbx
movabs rdx, 0x2ed55d7b260ccc57
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x38], r8
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x80], xmm1
movabs rax, 0xcb883b528e51799d
mov qword [rbp + 0x60], rax
movabs r13, 0xaf1946e3ac42ae0e
mov qword [rbp + 0x68], r13
movabs r12, 0x4ba02c1e5423b925
mov qword [rbp + 0x70], r12
movabs r15, 0x18470dea4dfc7e8f
mov qword [rbp + 0x78], r15
movabs r14, 0xe0180ad5bc206178
mov qword [rbp + 0x80], r14
movabs rax, 0x5da1e7e2aa64ee1b
mov qword [rbp + 0x88], rax
movabs rax, 0xac2a01479358aa9f
mov qword [rbp + 0x90], rax
movabs rcx, 0xa2d6dce651fff160
mov qword [rbp + 0x98], rcx
movabs rax, 0xe4a70121fe250df5
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x38], r8
movabs rsi, 0x867d58add9440f19
mov qword [rbp + 0x40], rsi
movabs rbx, 0x3cce8b8cdd0b8a26
mov qword [rbp + 0x48], rbx
movabs rax, 0xac2a0147932acffb
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rcx
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
movdqa xmm0, xmmword [rbp + 0x80]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [rbp + 0x90]
xorps xmm1, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x90], xmm1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
movabs rax, 0xb8c86f54b27937b6
mov qword [rbp + 0x20], rax
movabs rax, 0x815f54e2ed54bf1b
mov qword [rbp + 0x28], rax
movabs rax, 0xe4a70121fe250df5
mov qword [rbp + 0x10], rax
movabs rax, 0x812b3580c32cdb62
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x20], xmm0
movabs rax, 0xcb883b528e51799d
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r14
movabs rax, 0x3cce8b8ca96ae81b
mov qword [rbp - 0x68], rax
movabs r13, 0xe4a70121fe250df5
mov qword [rbp + 0x60], r13
movabs r12, 0x812b3580c32cdb62
mov qword [rbp + 0x68], r12
movabs r14, 0x2ed55d7b260ccc57
mov qword [rbp + 0x70], r14
movabs r15, 0x4129689a22c30afc
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rbx
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp + 0x70]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp - 0x70], xmm0
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
movabs rsi, 0xb8c86f54b27937b6
mov qword [rsp + 0x70], rsi
movabs rax, 0xe54a5aecad5bb406
mov qword [rsp + 0x78], rax
movabs rax, 0x2ed538034322be32
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r15
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x80], xmm1
lea edx, [rbx + 2]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov qword [rbp + 0x20], rsi
movabs rax, 0x815f54e2ed54bf1b
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r12
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x20], xmm0
lea edx, [rbx + 2]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [rdi + 0x80], 1
lea ecx, [rbx + 0x10]
call fcn.1400b5970
mov qword [rax], rdi
lea rcx, [0x1400398b0]
mov qword [rax + 8], rcx
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140039de0]
xor edx, edx
xor ecx, ecx
call fcn.1400c8830
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1400358dc
cmp dword [rbp + 0x18], ebx
je 0x1400358d1
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call fcn.1400b48fc
test eax, eax
jne 0x1400358d1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
lea ecx, [rbx + 0x10]
call fcn.1400b5970
mov qword [rax], rdi
lea rcx, [0x1400397c0]
mov qword [rax + 8], rcx
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140039de0]
xor edx, edx
xor ecx, ecx
call fcn.1400c8830
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14003591c
cmp dword [rbp + 0x18], ebx
je 0x140035911
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call fcn.1400b48fc
test eax, eax
jne 0x140035911
jmp 0x14003509b
mov ecx, 1
call fcn.1400b3f14
nop
mov dword [rbp + 0x18], ebx
mov ecx, 6
call fcn.1400b3f14
nop
call fcn.140034650
int3
call fcn.1400346b0
int3
mov ecx, eax
call fcn.1400346b0
nop
lea r8, [rsp + 0x70]
mov edx, eax
call fcn.140034e10
nop
call fcn.1400bcca0
nop
mov ecx, 1
call fcn.1400b3f14
nop
mov dword [rbp + 0x18], ebx
mov ecx, 6
call fcn.1400b3f14
int3