Function at 0x140003760
Capabilities:
Query environment variable
Read file on windows
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x400
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rsp + 0x3a8], rax
xor edi, edi
mov dword [rsp + 0x1e0], 0x50
mov dword [rsp + 0x1e4], 0x40
lea rax, [0x140005900]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x1f8], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x200], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x210], xmm1
lea rax, str.SMI_MainWindow
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], rdi
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r13, qword [0x140045110]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x1e
jb 0x14000520b
lea r15, [0x140045100]
cmp qword [0x140045118], 0xf
cmova r15, qword [0x140045100]
xorps xmm0, xmm0
movups xmmword [rsp + 0x240], xmm0
mov qword [rsp + 0x250], rdi
mov qword [rsp + 0x258], rdi
lea r14, [r13 + 0x1e]
mov esi, 0xf
lea rbx, [rsp + 0x240]
cmp r14, rsi
jbe 0x14000390c
mov rsi, r14
or rsi, 0xf
cmp rsi, rcx
jbe 0x1400038ca
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140036850
test rax, rax
je 0x1400051b2
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140003904
mov eax, 0x16
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400038f2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005211
jmp 0x1400038ab
test rcx, rcx
je 0x140003901
call fcn.140036850
mov rbx, rax
jmp 0x140003904
mov rbx, rdi
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x250], r14
mov qword [rsp + 0x258], rsi
movups xmm0, xmmword [str.TnyavnTos_Module_Injector___v]
movups xmmword [rbx], xmm0
movsd xmm0, qword [0x140039ad0]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [0x140039ad8]
mov dword [rbx + 0x18], eax
movzx eax, word [0x140039adc]
mov word [rbx + 0x1c], ax
lea rcx, [rbx + 0x1e]
mov r8, r13
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], dil
lea rcx, [rsp + 0x240]
mov r8, qword [rsp + 0x250]
cmp qword [rsp + 0x258], 0xf
jbe 0x140003982
mov rdx, qword [rsp + 0x240]
add r8, rdx
jmp 0x14000398d
add r8, rcx
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x280]
call fcn.140005350
nop
lea r8, [rsp + 0x280]
cmp qword [rsp + 0x298], 7
cmova r8, qword [rsp + 0x280]
mov qword [rsp + 0x58], rdi
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0xbc
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xca0000
mov rdx, qword [rsp + 0x220]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140045b30], rax
mov qword [rsp + 0x154], rdi
mov qword [rsp + 0x168], 2
mov qword [rsp + 0x180], 2
mov qword [rsp + 0x140], rdi
mov dword [rsp + 0x150], 0x1c
mov dword [rsp + 0x148], 0x3c
mov dword [rsp + 0x14c], 1
mov dword [rsp + 0x164], 0x20
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x15c], 1
mov qword [rsp + 0x178], 1
mov dword [rsp + 0x3a0], 0xb000
mov dword [rsp + 0x3a4], 0xa000
lea rax, [0x140045b10]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x50], rax
lea rax, [0x140045b18]
mov qword [rsp + 0x48], rax
lea rax, [0x140045b20]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140003bf7
mov r9d, 0x10
xor r8d, r8d
lea rdx, str.Failed_to_create_Direct3D_device
mov rcx, qword [0x140045b30]
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140005810
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov rdx, qword [rsp + 0x298]
cmp rdx, 7
jbe 0x140003b8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005150
call fcn.140036ad4
mov qword [rsp + 0x290], rdi
mov qword [rsp + 0x298], 7
mov word [rsp + 0x280], di
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x140003bed
inc rdx
mov rcx, qword [rsp + 0x240]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140003be8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1400051b2
call fcn.140036ad4
mov eax, 1
jmp 0x1400051c0
call fcn.140005890
mov edx, 1
mov rcx, qword [0x140045b30]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [0x140045b48]
test rax, rax
je 0x140003c20
inc dword [rax + 0xec]
mov ecx, 0x61d8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x238], rcx
mov qword [rsp + 0x230], rax
test rax, rax
je 0x140003c59
xor edx, edx
mov rcx, rax
call fcn.140005d90
jmp 0x140003c5c
mov rax, rdi
cmp qword [0x140045b48], 0
jne 0x140003c6d
mov qword [0x140045b48], rax
mov rcx, rax
call fcn.14000c100
mov r15, qword [0x140045b48]
mov qword [r15 + 0x20], rdi
mov rsi, qword [0x140045b30]
lea rcx, [rsp + 0x238]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140003ded
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140003ded
mov rax, qword [0x140045b48]
test rax, rax
je 0x140003cc5
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x130], rax
test rax, rax
je 0x140003cfa
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
mov qword [rbx + 0x40], rax
jmp 0x140003cfd
mov rbx, rdi
mov qword [r15 + 0x90], rbx
lea rax, [0x14003e6e8]
mov qword [r15 + 0x80], rax
or dword [r15 + 0xc], 6
mov qword [rbx], rsi
mov byte [rbx + 0x2d], 1
mov rax, qword [rsp + 0x238]
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x230]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], 9
mov rax, qword [0x140045b48]
mov rax, qword [rax + 0x4030]
mov rcx, qword [rax]
mov qword [rcx + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x140], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x148], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x150], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x158], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x160], rax
mov rsi, rdi
mov rcx, qword [rsp + rsi*8 + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140003dc1
inc rsi
cmp rsi, 5
jl 0x140003da0
jmp 0x140003ded
mov qword [rbx + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
mov r12, qword [0x140045b10]
mov r14, qword [0x140045b18]
mov rsi, qword [0x140045b48]
test rsi, rsi
je 0x140003e0d
inc dword [rsi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x130], rax
test rax, rax
je 0x140003e5c
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 0x140003e5f
mov rbx, rdi
mov qword [rsi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 8
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x138], rdi
mov rax, qword [r14]
lea r8, [rsp + 0x128]
lea rdx, [0x14003e6b8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x140003f00
mov rcx, qword [rsp + 0x128]
mov rax, qword [rcx]
lea r8, [rsp + 0x3a0]
lea rdx, [0x14003e6c8]
call qword [rax + 0x30]
test eax, eax
jne 0x140003f00
mov rcx, qword [rsp + 0x3a0]
mov rax, qword [rcx]
lea r8, [rsp + 0x138]
lea rdx, [0x14003e6d8]
call qword [rax + 0x30]
test eax, eax
jne 0x140003f00
mov qword [rbx], r14
mov qword [rbx + 8], r12
mov rax, qword [rsp + 0x138]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140003f13
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x3a0]
test rcx, rcx
je 0x140003f26
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], rdi
mov r8d, 0x1a
lea rdx, str.WindowsFontsVerdana.ttf
lea rcx, [rsp + 0xf8]
call fcn.140002260
nop
lea rcx, str.SystemDrive
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r8, [rsp + 0xf8]
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.140005220
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 0xf
jbe 0x140003fdb
inc rdx
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003fd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], 0xf
mov byte [rsp + 0xf8], 0
mov r13, qword [r15 + 0x50]
lea rbx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 0xf
cmova rbx, qword [rsp + 0x2c0]
lea rdx, [0x140039ddc]
mov rcx, rbx
call fcn.1400075a0
mov rsi, rax
test rax, rax
je 0x14000432c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140004323
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004323
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd r12, eax
cmp r12d, 0xffffffff
je 0x140004323
xor r8d, r8d
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004323
cmp r12, 0xffffffffffffffff
je 0x140004323
mov rax, qword [0x140045b48]
test rax, rax
je 0x1400040a5
inc dword [rax + 0xec]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x140004323
mov r9, rsi
mov r8, r12
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
cmp rax, r12
je 0x1400040fc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140045b48]
test rax, rax
je 0x1400040ee
dec dword [rax + 0xec]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000432c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x140], xmm2
movups xmmword [rsp + 0x150], xmm2
movups xmmword [rsp + 0x180], xmm2
movups xmmword [rsp + 0x190], xmm2
mov qword [rsp + 0x1c0], rax
mov byte [rsp + 0x14c], 1
mov dword [rsp + 0x158], 3
mov dword [rsp + 0x15c], 1
mov dword [rsp + 0x184], 0x7f7fffff
mov dword [rsp + 0x190], 0x3f800000
mov eax, 0xffff
mov word [rsp + 0x194], ax
movaps xmm3, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x310], xmm3
movaps xmm4, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x320], xmm4
movaps xmmword [rsp + 0x330], xmm2
xorps xmm5, xmm5
movaps xmmword [rsp + 0x340], xmm5
movaps xmm6, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x350], xmm6
movaps xmm1, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x360], xmm1
xorps xmm7, xmm7
movaps xmmword [rsp + 0x370], xmm7
xorps xmm8, xmm8
movaps xmmword [rsp + 0x380], xmm8
movsd xmm9, qword [rsp + 0x1c0]
movsd qword [rsp + 0x390], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x1400042ab
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [rbx + r9], 0
jne 0x140004210
add r9, rbx
cmp r9, rbx
jbe 0x140004239
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140004239
cmp al, 0x5c
je 0x140004239
mov r9, rcx
cmp rcx, rbx
ja 0x140004222
movsd xmm0, qword [0x14003e998]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rsp + 0x366]
call fcn.140007470
movsd xmm9, qword [rsp + 0x390]
movaps xmm8, xmmword [rsp + 0x380]
movaps xmm7, xmmword [rsp + 0x370]
movaps xmm1, xmmword [rsp + 0x360]
movaps xmm6, xmmword [rsp + 0x350]
movaps xmm5, xmmword [rsp + 0x340]
movaps xmm2, xmmword [rsp + 0x330]
movaps xmm4, xmmword [rsp + 0x320]
movaps xmm3, xmmword [rsp + 0x310]
movaps xmmword [rsp + 0x140], xmm3
movaps xmmword [rsp + 0x150], xmm4
movaps xmmword [rsp + 0x160], xmm2
movaps xmmword [rsp + 0x170], xmm5
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x190], xmm1
movaps xmmword [rsp + 0x1a0], xmm7
movaps xmmword [rsp + 0x1b0], xmm8
movsd qword [rsp + 0x1c0], xmm9
mov qword [rsp + 0x140], r15
mov dword [rsp + 0x148], r12d
mov dword [rsp + 0x154], 0x41b80000
lea rdx, [rsp + 0x140]
mov rcx, r13
call fcn.1400278b0
jmp 0x14000432c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm0, xmm0
movups xmmword [rsp + 0x2e0], xmm0
movups xmmword [rsp + 0x2f0], xmm0
movups xmmword [rsp + 0x300], xmm0
lea r12, [0x140045b58]
lea r13, str.Author:_TnyavnTo_nCompiled:
xorps xmm8, xmm8
movss xmm7, dword [0x14003ea20]
movss xmm9, dword [0x14003e9e8]
movss xmm10, dword [0x14003e9f4]
nop dword [rax]
nop word [rax + rax]
cmp dword [rsp + 0x2e8], 0x12
je 0x140004f7c
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400043ce
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140004380
mov rax, qword [0x140045b48]
test rax, rax
je 0x1400043e3
mov rcx, qword [rax + 0x98]
jmp 0x1400043e6
mov rcx, rdi
cmp qword [rcx + 0x48], 0
jne 0x1400043f2
call fcn.14002cb90
call fcn.14002d8f0
call fcn.14000af10
call fcn.1400059d0
cmp qword [0x140045150], 0
je 0x1400044f9
mov rax, qword [0x140045b48]
lea rdx, str.PopupNotification
mov rcx, qword [rax + 0x3e28]
call fcn.140009580
mov ecx, eax
call fcn.140014a80
lea rcx, str.PopupNotification
call fcn.140014fb0
test al, al
je 0x1400044f9
lea rcx, [0x140045140]
cmp qword [0x140045158], 0xf
cmova rcx, qword [0x140045140]
call fcn.1400303d0
mov qword [rsp + 0x138], 0x43c80000
xor r8d, r8d
lea rdx, [rsp + 0x138]
lea rcx, [0x140039b50]
call fcn.140030a10
test al, al
je 0x1400044ad
mov qword [0x140045150], rdi
lea rax, [0x140045140]
cmp qword [0x140045158], 0xf
cmova rax, qword [0x140045140]
mov byte [rax], 0
call fcn.140014ef0
mov rbx, qword [0x140045b48]
mov rax, qword [rbx + 0x3e28]
cmp qword [rbx + 0x4038], rax
jne 0x1400044dd
cmp byte [rbx + 0x4095], 0
je 0x1400044dd
cmp dword [rbx + 0x4074], 0
jne 0x1400044dd
or dword [rbx + 0x4098], 2
test dword [rax + 0xc], 0x1000000
je 0x1400044ed
mov byte [rbx + 0x3db6], 1
call fcn.140012b70
mov byte [rbx + 0x3db6], 0
mov rax, qword [0x140045b48]
mov dword [rax + 0x3f50], 0x43fa0000
mov dword [rax + 0x3f54], 0x43150000
mov dword [rax + 0x3f38], 1
or dword [rax + 0x3f30], 3
mov qword [rax + 0x3f40], 0
mov qword [rax + 0x3f48], 0
mov dword [rax + 0x3f34], 1
xor edx, edx
lea r8d, [rdx + 0x27]
lea rcx, str.MainWindow
call fcn.140010810
lea rcx, str.Module_Name:
call fcn.140030210
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.140013f60
mov rcx, qword [0x140045b08]
test rcx, rcx
je 0x140004589
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rcx, rax
call fcn.1400303d0
mov rbx, qword [0x140045b48]
mov rax, qword [rbx + 0x3e28]
movss xmm0, dword [rax + 0x18]
subss xmm0, xmm9
movaps xmm1, xmm7
call fcn.140013f60
movss xmm6, dword [rbx + 0x37b8]
mov dword [rbx + 0x37b8], edi
mov qword [rsp + 0x3a0], 0
mov r8d, 0x8000
lea rdx, [rsp + 0x3a0]
lea rcx, str.Select_Module
call fcn.140030a10
movss dword [rbx + 0x37b8], xmm6
test al, al
je 0x14000477f
mov ecx, 0x104
call fcn.140036b08
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], rcx
mov dword [rsp + 0x140], 0x98
mov rcx, qword [0x140045b30]
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x158], rdi
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x170], rax
mov byte [rax], 0
mov dword [rsp + 0x178], 0x104
mov dword [rsp + 0x16c], 1
mov qword [rsp + 0x190], rdi
mov dword [rsp + 0x1a0], 0x81804
lea rcx, [rsp + 0x140]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x14000477f
mov rsi, qword [rsp + 0x170]
test rsi, rsi
je 0x14000477f
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000476d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x14000476d
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
test rax, rax
je 0x14000476d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x14000476d
mov qword [0x140045b08], rsi
jmp 0x14000477f
mov r8d, 0x2a
lea rdx, str.Selected_file_is_not_a_valid_NT_executable
call fcn.140002cd0
lea rcx, str.Process_Name_ID:
call fcn.140030210
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.140013f60
movaps xmm0, xmm10
call fcn.140014010
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, 0x33
mov r8, r12
xor edx, edx
lea rcx, str.ProcessNameOrIDInput
call fcn.140033780
mov dword [rsp + 0xc8], 0
mov dword [rsp + 0xcc], 0x40a00000
lea rcx, [rsp + 0xc8]
call fcn.140031850
mov dword [rsp + 0xd0], 0x43eb0000
mov dword [rsp + 0xd4], 0x420c0000
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, str.Inject_Module
call fcn.140030a10
test al, al
je 0x140004a1c
cmp qword [0x140045b08], 0
jne 0x14000485b
mov r8d, 0x1e
lea rdx, str.You_must_select_a_module_first
call fcn.140002cd0
jmp 0x140004a1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x260], xmm0
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x278], rdi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r12 + r8], 0
jne 0x140004880
mov rdx, r12
lea rcx, [rsp + 0x260]
call fcn.140002260
nop
cmp qword [rsp + 0x270], 0
je 0x1400049c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x260]
cmp qword [rsp + 0x278], 0xf
cmova rbx, qword [rsp + 0x260]
mov dword [rax], edi
mov r8d, 0xa
lea rdx, [rsp + 0x130]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r14d, eax
cmp rbx, qword [rsp + 0x130]
jne 0x140004900
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x140004912
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x118], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], di
mov rdx, qword [0x140045b08]
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140004963
lea rcx, [rsp + 0xa8]
call fcn.140002260
nop
mov r8d, r14d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.140002500
nop
jmp 0x1400049d6
mov r8d, 0x22
lea rdx, str.You_must_provide_a_process_name_id
call fcn.140002cd0
nop
mov rdx, qword [rsp + 0x278]
cmp rdx, 0xf
jbe 0x140004a1c
inc rdx
mov rcx, qword [rsp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
mov dword [rsp + 0x230], 0x43eb0000
mov dword [rsp + 0x234], 0x41f00000
xor r8d, r8d
lea rdx, [rsp + 0x230]
lea rcx, str.About
call fcn.140030a10
test al, al
je 0x140004a6e
mov rax, qword [0x140045b48]
lea rdx, str.About_TMIAboutPopup
mov rcx, qword [rax + 0x3e28]
call fcn.140009580
mov ecx, eax
call fcn.140014a80
lea rcx, str.About_TMIAboutPopup
call fcn.140014fb0
test al, al
je 0x140004eeb
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
mov r8d, 8
lea rdx, str.19:23:01
lea rcx, [rsp + 0x68]
call fcn.140002260
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
mov r8d, 0xb
lea rdx, str.Feb_28_2024
lea rcx, [rsp + 0x88]
call fcn.140002260
nop
mov r8, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
sub rax, r8
cmp rax, 0x1b
jb 0x140004b92
lea rax, [r8 + 0x1b]
mov qword [rsp + 0x98], rax
lea rbx, [rsp + 0x88]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x88]
lea rax, [0x140039cc3]
cmp rax, rbx
jbe 0x140004b4d
lea rax, [rbx + r8]
cmp r13, rax
ja 0x140004b4d
cmp rbx, r13
ja 0x140004b45
mov rsi, rdi
jmp 0x140004b52
mov rsi, rbx
sub rsi, r13
jmp 0x140004b52
mov esi, 0x1b
inc r8
lea rcx, [rbx + 0x1b]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x1b
sub r8, rsi
lea rdx, [rsi + 0x1b]
add rdx, r13
lea rcx, [rbx + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x88]
jmp 0x140004bb2
mov qword [rsp + 0x28], 0x1b
mov qword [rsp + 0x20], r13
mov edx, 0x1b
lea rcx, [rsp + 0x88]
call fcn.140005690
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140039c94]
lea rcx, [rsp + 0xd8]
call fcn.140002c50
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x150], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x140]
lea rcx, [rsp + 0xa8]
call fcn.1400054a0
nop
mov r8d, 0x20
lea rdx, str._nGitHub:_https:__github.com_svxy
lea rcx, [rsp + 0xa8]
call fcn.140002c50
xorps xmm0, xmm0
movups xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], rdi
mov qword [rsp + 0x2b8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x2a0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x2b0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x140004cef
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 0xf
mov byte [rsp + 0xa8], 0
mov rdx, qword [rsp + 0x158]
cmp rdx, 0xf
jbe 0x140004d52
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
nop
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x140004d98
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], 0xf
mov byte [rsp + 0xd8], 0
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x140004dfa
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004df5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], 0xf
mov byte [rsp + 0x88], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x140004e59
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
lea rcx, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 0xf
cmova rcx, qword [rsp + 0x2a0]
call fcn.1400303d0
mov qword [rsp + 0x238], 0x43fa0000
xor r8d, r8d
lea rdx, [rsp + 0x238]
lea rcx, str.Close
call fcn.140030a10
test al, al
je 0x140004ea5
call fcn.140014ef0
nop
mov rdx, qword [rsp + 0x2b8]
cmp rdx, 0xf
jbe 0x140004eeb
inc rdx
mov rcx, qword [rsp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ee6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ee6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
call fcn.140012b70
call fcn.14000d9d0
mov rcx, qword [0x140045b10]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140045b28]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rax, qword [0x140045b48]
mov rcx, qword [rax + 0x4030]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, rdi
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14002c130
mov rcx, qword [0x140045b20]
mov rax, qword [rcx]
mov r8d, dword [0x140045b00]
mov edx, 1
call qword [rax + 0x40]
cmp eax, 0x87a0001
jne 0x140004f71
mov dword [0x140045b00], 1
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004380
mov dword [0x140045b00], edi
jmp 0x140004380
mov rsi, qword [0x140045b48]
test rsi, rsi
je 0x140004f91
mov rbx, qword [rsi + 0x98]
jmp 0x140004f94
mov rbx, rdi
call fcn.14002d0d0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140004fa8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004fb6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140004fc5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x88], rdi
mov qword [rsi + 0x98], rdi
mov rax, qword [0x140045b48]
test rax, rax
je 0x140004fe5
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140045b48]
test rax, rax
je 0x140005003
mov rbx, qword [rax + 0x90]
jmp 0x140005006
mov rbx, rdi
lea rsi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140005020
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140045b48]
mov qword [rsi + 0x78], rdi
mov qword [rsi + 0x88], rdi
test rax, rax
je 0x140005036
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140045b48]
mov rcx, rbx
call fcn.14000c410
cmp qword [0x140045b48], rbx
jne 0x14000505e
mov qword [0x140045b48], rdi
test rbx, rbx
je 0x140005086
mov rcx, rbx
call fcn.14001bcf0
mov rax, qword [0x140045b48]
test rax, rax
je 0x14000507d
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140005810
mov rcx, qword [0x140045b30]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 0xf
jbe 0x1400050f5
inc rdx
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
mov qword [rsp + 0x2d0], rdi
mov qword [rsp + 0x2d8], 0xf
mov byte [rsp + 0x2c0], 0
mov rdx, qword [rsp + 0x298]
cmp rdx, 7
jbe 0x14000515c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005157
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005157
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
mov qword [rsp + 0x290], rdi
mov qword [rsp + 0x298], 7
mov word [rsp + 0x280], di
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x1400051be
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036ad4
xor eax, eax
mov rcx, qword [rsp + 0x3a8]
xor rcx, rsp
call fcn.140036830
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
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]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.1400011e0
int3
call fcn.140001140
int3