Function at 0x1400860c0
Capabilities:
Move file
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
mov rax, qword [0x140189080]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140085b70
call fcn.14008d4c0
lea rcx, [0x14008ccd0]
call fcn.14008acb0
lea rcx, [0x14008cca0]
call fcn.14008acb0
call fcn.1400a6f10
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ebx, eax
mov eax, dword [0x14016dc4c]
mov dword [rsp + 0x68], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rsp + 0x68], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x69], 0x39
xor byte [rsp + 0x6a], 0x3a
xor byte [rsp + 0x6b], 0x3b
xor al, 0x3c
mov byte [rsp + 0x6c], al
lea edx, [rbx + 0xa]
lea rcx, [rbp + 0x80]
call fcn.140085f80
nop
lea rcx, [rsp + 0x68]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x1400861e5
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140058a30
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x80]
call fcn.14003d470
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea edx, [rbx + 0xa]
lea rcx, [rbp + 0x30]
call fcn.140085f80
nop
mov dword [rbp - 0x30], 0x50
mov dword [rbp - 0x2c], 0x40
lea rax, [0x1400857f0]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rax, qword [rbp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r12
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExA]
cvttss2si edi, dword [0x1415f60cc]
cvttss2si esi, dword [0x1415f60c8]
mov r13d, 1
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1415f60cc]
mulss xmm0, dword [0x1401739b4]
subss xmm1, xmm0
cvttss2si ebx, xmm1
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1415f60c8]
mulss xmm0, dword [0x1401739b4]
subss xmm1, xmm0
cvttss2si ecx, xmm1
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r8, qword [rbp + 0x30]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov r9d, 0x80000000
mov rdx, qword [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
lea r9d, [r13 + 1]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140173b70]
movdqu xmmword [rbp + 0x70], xmm0
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, rdi
call fcn.1400858a0
mov qword [rbp - 0x6c], r12
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x70], Ordinal_32
mov dword [rbp - 0x78], reloc.WLDAP32.dll_Ordinal_60
mov dword [rbp - 0x74], r13d
mov dword [rbp - 0x5c], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x64], r13
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x78], 0xb000
mov dword [rsp + 0x7c], 0xa000
lea rbx, [0x141607778]
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rsi, [0x141607770]
mov qword [rsp + 0x48], rsi
lea r14, [0x141607768]
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x1400864a8
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 4]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x1400864ee
mov rcx, qword [0x141607768]
mov rax, qword [rcx]
lea r9, [rsp + 0x70]
lea r8, [0x14016d560]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x141607770]
mov rax, qword [rcx]
lea r9, [0x141607760]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rbx, qword [0x141606550]
mov ecx, 0x6190
call fcn.140029140
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x61]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140086524
xor edx, edx
mov rcx, rax
call fcn.140023700
jmp 0x140086527
mov rax, r12
mov qword [0x141606550], rax
call fcn.140027c10
test rbx, rbx
je 0x14008653f
mov qword [0x141606550], rbx
mov rcx, rdi
call fcn.140021390
mov r15, qword [0x141607778]
mov r14, qword [0x141607770]
mov rsi, qword [0x141606550]
mov ecx, 0x78
call fcn.140029140
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400865a7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x1400865aa
mov rbx, r12
mov qword [rsi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 8
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov rax, qword [r14]
lea r8, [rsp + 0x78]
lea rdx, [0x14015bf78]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x140086630
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x14015bf88]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140086630
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x14015bf98]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140086630
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140086640
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140086650
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov r8, qword [0x141606550]
add r8, 8
mov qword [r8 + 0x18], r12
mov rdx, rdi
call fcn.1400836e0
movaps xmm0, xmmword [0x140173dd0]
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call fcn.140025b40
mov r15d, eax
cvttss2si esi, dword [0x1415f60cc]
cvttss2si r14d, dword [0x1415f60c8]
mov dword [0x141607780], 0xba83126f
mov dword [0x141607784], 0xbe800000
xorps xmm8, xmm8
mov dword [0x141607788], 0
mov ebx, r12d
movd xmm11, esi
cvtdq2ps xmm11, xmm11
subss xmm11, xmm8
movd xmm12, r14d
cvtdq2ps xmm12, xmm12
subss xmm12, xmm8
movss xmm10, dword [0x1401739e8]
movss xmm13, dword [0x140173a00]
movss xmm9, dword [0x140173b28]
movsd xmm14, qword [0x140173a08]
nop dword [rax + rax]
mov dword [rbp - 0x60], 0x3f800000
mov dword [rbp - 0x5c], 0x40000000
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x58], r14d
mov dword [rbp - 0x54], esi
mov dword [rbp - 0x64], r15d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm9
movaps xmm6, xmm11
mulss xmm6, xmm0
addss xmm6, xmm8
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm9
movaps xmm7, xmm12
mulss xmm7, xmm0
addss xmm7, xmm8
movss dword [rbp - 0x48], xmm7
movss dword [rbp - 0x44], xmm6
mov dword [rbp - 0x40], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm9
addss xmm0, xmm8
cvtps2pd xmm0, xmm0
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
addss xmm1, xmm1
minss xmm1, xmm13
comiss xmm1, xmm10
jbe 0x1400867cb
movss dword [rbp - 0x68], xmm1
jmp 0x1400867d6
mov dword [rbp - 0x68], 0x3f800000
movaps xmm1, xmm10
mov rdx, qword [0x1416079c8]
cmp rdx, qword [0x1416079d0]
je 0x14008682b
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
movss dword [rdx + 0x18], xmm1
mov dword [rdx + 0x1c], r15d
mov dword [rdx + 0x20], 0x3f800000
mov dword [rdx + 0x24], 0x40000000
mov dword [rdx + 0x28], r14d
mov dword [rdx + 0x2c], esi
mov qword [rdx + 0x30], r12
movss dword [rdx + 0x38], xmm7
movss dword [rdx + 0x3c], xmm6
mov dword [rdx + 0x40], r12d
add qword [0x1416079c8], 0x44
jmp 0x140086834
lea r8, [rbp - 0x80]
call fcn.1400d9b30
inc ebx
cmp ebx, 0xaa
jb 0x140086710
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
xor bl, bl
movss xmm6, dword [0x140173b4c]
cmp byte [0x140244010], 0
je 0x140086871
call fcn.14008e9a0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400868d2
nop dword [rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp - 0x78], 0x12
cmove ebx, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140086890
test bl, bl
jne 0x140086b8a
mov r8d, dword [0x141607638]
test r8d, r8d
je 0x14008693d
mov r9d, dword [0x14160763c]
test r9d, r9d
je 0x14008693d
mov rcx, qword [0x141607760]
test rcx, rcx
je 0x140086911
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x141607760], r12
mov r8d, dword [0x141607638]
mov r9d, dword [0x14160763c]
mov rcx, qword [0x141607768]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x14160763c], r12d
mov dword [0x141607638], r12d
call fcn.140085780
mov rax, qword [0x141606550]
test rax, rax
je 0x140086952
mov rcx, qword [rax + 0x98]
jmp 0x140086955
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x140086961
call fcn.140020e70
call fcn.140021d40
call fcn.140029af0
nop
lea rdx, [rbp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [0x141606550]
cmp qword [rax + 0x4030], 0
je 0x140086ae9
cvttss2si r10d, dword [0x1415f60cc]
cvttss2si r11d, dword [0x1415f60c8]
movss xmm2, dword [rax + 0x6c]
movzx r9d, byte [rax + 0xe50]
test r9b, r9b
jne 0x1400869bb
cmp byte [rax + 0x3886], r9b
je 0x140086a2e
movaps xmm1, xmm2
mulss xmm1, xmm2
movss xmm0, dword [rax + 0x38c0]
comiss xmm0, xmm1
jb 0x140086a2e
lea r8, [rax + 0xe48]
test r8, r8
mov rcx, r8
jne 0x1400869e5
lea rcx, [rax + 0xe48]
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
comiss xmm0, xmm6
jb 0x140086a2e
comiss xmm1, xmm6
jb 0x140086a2e
lea rdx, [rax + 0x3818]
test rdx, rdx
mov rcx, rdx
jne 0x140086a0e
lea rcx, [rax + 0xe48]
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
comiss xmm0, xmm6
jb 0x140086a2e
comiss xmm1, xmm6
jb 0x140086a2e
movss xmm1, dword [r8 + 4]
subss xmm1, dword [rdx + 4]
jmp 0x140086a32
movaps xmm1, xmm8
movd xmm0, dword [rbp + 0x24]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si r8d, xmm0
test r9b, r9b
jne 0x140086a51
cmp byte [rax + 0x3886], r9b
je 0x140086abf
mulss xmm2, xmm2
movss xmm0, dword [rax + 0x38c0]
comiss xmm0, xmm2
jb 0x140086abf
lea rdx, [rax + 0xe48]
test rdx, rdx
mov rcx, rdx
jne 0x140086a78
lea rcx, [rax + 0xe48]
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
comiss xmm0, xmm6
jb 0x140086abf
comiss xmm1, xmm6
jb 0x140086abf
lea rcx, [rax + 0x3818]
test rcx, rcx
je 0x140086a9c
mov rax, rcx
jmp 0x140086aa2
add rax, 0xe48
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
comiss xmm0, xmm6
jb 0x140086abf
comiss xmm1, xmm6
jb 0x140086abf
movss xmm1, dword [rdx]
subss xmm1, dword [rcx]
jmp 0x140086ac3
movaps xmm1, xmm8
movd xmm0, dword [rbp + 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si edx, xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r10d
mov r9d, r11d
mov rcx, rdi
call qword [sym.imp.USER32.dll_MoveWindow]
call fcn.140085b70
call fcn.14008d4c0
lea rcx, [0x141606549]
call fcn.140084040
nop
call fcn.14002ba00
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov rcx, qword [0x141607778]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x141607760]
mov edx, r13d
call qword [rax + 0x108]
mov rcx, qword [0x141607778]
mov rax, qword [rcx]
lea r8, [rbp + 0x80]
mov rdx, qword [0x141607760]
call qword [rax + 0x190]
mov rax, qword [0x141606550]
mov rax, qword [rax + 0x4ae0]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r12
cmp byte [rcx], r12b
cmovne rax, rcx
mov rcx, rax
call fcn.1400200c0
mov rcx, qword [0x141607768]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r13d
call qword [rax + 0x40]
nop
jmp 0x140086863
lea rcx, [rsp + 0x60]
call fcn.140085540
mov rcx, qword [0x141607760]
test rcx, rcx
je 0x140086bad
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x141607760], r12
mov rcx, qword [0x141607768]
test rcx, rcx
je 0x140086bc6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x141607768], r12
mov rcx, qword [0x141607778]
test rcx, rcx
je 0x140086bdf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x141607778], r12
mov rcx, qword [0x141607770]
test rcx, rcx
je 0x140086bf8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x141607770], r12
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
nop
lea rcx, [rbp + 0x30]
call fcn.14003d470
nop
lea rcx, [rbp + 0x50]
call fcn.14003d470
xor eax, eax
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.140144a50
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret