Function at 0x140009640
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read file on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x108]
sub rsp, 0x200
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x14004d040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
lea rdx, [0x14004d7c0]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400096a7
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
mov qword [0x14004d7dc], rbx
mov qword [0x14004d7e8], 1
mov qword [0x14004d804], rbx
mov eax, dword [0x14004d814]
mov dword [0x14004d7d0], eax
mov dword [0x14004d7d4], eax
mov dword [0x14004d7d8], 0x15
mov dword [0x14004d7e4], ebx
mov dword [0x14004d800], 0x50
mov dword [0x14004d7fc], 1
mov r9, qword [0x14004d968]
mov qword [0x14004d7f0], r9
mov dword [0x14004d7f8], 1
mov dword [0x14004d80c], 0x80000000
mov rcx, qword [0x14004d7c0]
mov rax, qword [rcx]
lea rdx, [0x14004d960]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14004d7d0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rbx + 1]
call qword [rax + 0x80]
mov rdi, qword [0x14004d8a0]
test rdi, rdi
je 0x140009762
inc dword [rdi + 0xf4]
mov ecx, 0x5ec0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14000978f
xor edx, edx
mov rcx, rax
call fcn.140011d10
jmp 0x140009792
mov rax, rbx
mov qword [0x14004d8a0], rax
call fcn.140014cd0
test rdi, rdi
je 0x1400097ac
mov qword [0x14004d8a0], rdi
jmp 0x1400097b3
mov rdi, qword [0x14004d8a0]
mov rsi, qword [0x14004d968]
lea rcx, [0x14004d9c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400098df
lea rcx, [0x14004d9b8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400098df
mov qword [0x14004d9b0], rsi
mov rcx, qword [0x14004d8a0]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rcx + 0x88], rax
mov qword [rcx + 0xd0], rsi
mov dword [rcx + 0x900], 9
mov dword [rcx + 0x904], 0x25
mov dword [rcx + 0x908], 0x27
mov dword [rcx + 0x90c], 0x26
mov dword [rcx + 0x910], 0x28
mov dword [rcx + 0x914], 0x21
mov dword [rcx + 0x918], 0x22
mov dword [rcx + 0x91c], 0x24
mov dword [rcx + 0x920], 0x23
mov dword [rcx + 0x924], 0x2d
mov dword [rcx + 0x928], 0x2e
mov dword [rcx + 0x92c], 8
mov dword [rcx + 0x930], 0x20
mov dword [rcx + 0x934], 0xd
mov dword [rcx + 0x938], 0x1b
mov dword [rcx + 0x988], 0x41
mov dword [rcx + 0x990], 0x43
mov dword [rcx + 0x9dc], 0x56
mov dword [rcx + 0x9e4], 0x58
mov dword [rcx + 0x9e8], 0x59
mov dword [rcx + 0x9ec], 0x5a
jmp 0x1400098e6
mov rcx, qword [0x14004d8a0]
mov rax, qword [0x14004d960]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0x90], rdx
mov qword [0x14004d9a0], rax
xor ecx, ecx
call fcn.140030ae0
mov rax, qword [0x14004d8a0]
mov dword [rax + 0x37f4], ebx
mov dword [rax + 0x3800], 0x3f000000
movdqa xmm0, xmmword [0x140046870]
movdqu xmmword [rbp - 8], xmm0
mov dword [rbp + 8], 0x39323120
mov dword [rbp + 0xc], 0x2e773122
mov word [rbp + 0x10], 0x3a2f
xor eax, eax
mov byte [rbp + 0x12], al
mov r14, qword [rdi + 0x58]
nop word [rax + rax]
movsxd rcx, ebx
lea eax, [rbx + 0x43]
xor byte [rbp + rcx - 8], al
inc ebx
cmp ebx, 0x1a
jb 0x140009950
mov byte [rbp + 0x12], 0
lea rdx, [0x1400461bc]
lea rcx, [rbp - 8]
call fcn.1400130a0
mov rbx, rax
test rax, rax
je 0x140009bfc
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140009bf3
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009bf3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009bf3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009bf3
cmp rdi, 0xffffffffffffffff
je 0x140009bf3
mov rax, qword [0x14004d8a0]
test rax, rax
je 0x1400099f3
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140009bf3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140009a4a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004d8a0]
test rax, rax
je 0x140009a3c
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009bfc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x5c], ax
movaps xmm3, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x20], xmm3
movaps xmm4, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x30], xmm4
movaps xmmword [rbp + 0x40], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0x50], xmm5
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x60], xmm6
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x70], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0x80], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x90], xmm8
movsd xmm9, qword [rbp - 0x30]
movsd qword [rbp + 0xa0], xmm9
mov rbx, rdi
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140009b9e
lea rcx, [rbp - 8]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140009b10
lea r9, [rbp - 8]
add r9, rax
lea rax, [rbp - 8]
cmp r9, rax
jbe 0x140009b4b
nop dword [rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140009b4b
cmp al, 0x5c
je 0x140009b4b
mov r9, rcx
lea rax, [rbp - 8]
cmp rcx, rax
ja 0x140009b30
movsd xmm0, qword [0x1400466a8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x76]
call fcn.140012f70
movsd xmm9, qword [rbp + 0xa0]
movaps xmm8, xmmword [rbp + 0x90]
movaps xmm7, xmmword [rbp + 0x80]
movaps xmm1, xmmword [rbp + 0x70]
movaps xmm6, xmmword [rbp + 0x60]
movaps xmm5, xmmword [rbp + 0x50]
movaps xmm2, xmmword [rbp + 0x40]
movaps xmm4, xmmword [rbp + 0x30]
movaps xmm3, xmmword [rbp + 0x20]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm8
movsd qword [rbp - 0x30], xmm9
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x64], 0x41400000
lea rax, [0x140046414]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140035280
jmp 0x140009bfc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x14004d7c0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14003d790
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret