Function at 0x14004c5f0
Capabilities:
Create thread
Delete file
Log keystrokes via polling
Write file on windows

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140086040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
lea rax, [0x14004d340]
mov dword [rbp + 0x120], 0x50
xor r12d, r12d
mov qword [rbp + 0x128], rax
xor ecx, ecx
mov qword [rbp + 0x130], r12
mov dword [rbp + 0x124], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp + 0x168], r12
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x140], xmm0
lea rbx, [0x14007adf0]
movdqa xmmword [rbp + 0x150], xmm1
lea rcx, [rbp + 0x120]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x160], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp + 0x138]
mov r9d, 0x80000000
mov rdx, qword [rbp + 0x160]
mov r8, rbx
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [r12 + 0x20]
mov qword [0x140135368], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x140135360], rax
mov rcx, rax
test rax, rax
je 0x14004d2e5
lea rdx, [0x140135318]
mov qword [0x140135320], r12
mov qword [rsp + 0x30], rdx
lea r8d, [r12 + 1]
lea rdx, [0x140135320]
mov qword [0x14013532c], r12
mov qword [rsp + 0x28], rdx
mov r9, rbx
mov dword [0x140135334], r12d
xor edx, edx
mov qword [0x14013533c], r12
mov dword [0x140135344], r12d
mov qword [0x140135354], r12
mov dword [0x140135348], 1
mov dword [0x140135338], 1
mov dword [0x140135328], r12d
mov dword [0x14013534c], 1
mov dword [0x140135350], 0x50
mov dword [0x14013535c], 1
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x14004d2de
mov rcx, qword [0x140135368]
xor edx, edx
mov qword [rsp + 0x320], rsi
mov qword [rsp + 0x328], rdi
mov qword [rsp + 0x330], r13
mov qword [rsp + 0x2f8], r14
movaps xmmword [rsp + 0x2e0], xmm6
movaps xmmword [rsp + 0x2c0], xmm8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140135368]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140135308]
test rax, rax
je 0x14004c7fa
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14004c816
xor edx, edx
mov rcx, rax
call fcn.1400064b0
jmp 0x14004c819
mov rax, r12
cmp qword [0x140135308], r12
jne 0x14004c829
mov qword [0x140135308], rax
mov rcx, rax
call fcn.14000d3a0
mov r13, qword [0x140135308]
lea rdx, [rbp + 0x80]
movss xmm8, dword [0x14007ba88]
xorps xmm2, xmm2
xorps xmm6, xmm6
movaps xmmword [rbp + 0xa0], xmm2
xor eax, eax
movaps xmmword [rbp + 0xb0], xmm2
or dword [r13 + 8], 0x400
mov ecx, 0xffff
movups xmmword [rsp + 0x70], xmm2
mov qword [rbp - 0x20], rax
movups xmmword [rbp - 0x50], xmm2
mov word [rbp - 0x4c], cx
movups xmmword [rsp + 0x60], xmm2
mov byte [rsp + 0x6c], al
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x80], xmm0
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp + 0x70], rax
lea rax, [0x140075ac0]
movups xmmword [rbp + 0x40], xmm6
mov word [rbp + 0x44], cx
mov rcx, qword [r13 + 0xa8]
movups xmmword [rbp], xmm6
mov dword [rsp + 0x78], 3
movups xmmword [rbp + 0x30], xmm6
mov dword [rsp + 0x7c], 1
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x90], xmm1
movups xmmword [rbp - 0x10], xmm6
mov dword [rbp - 0x5c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xc0], xmm0
movsd xmm0, qword [rbp - 0x20]
movups xmmword [rbp + 0x10], xmm6
mov dword [rbp - 0x50], 0x3f800000
movaps xmm1, xmmword [rbp - 0x50]
movsd qword [rbp + 0x100], xmm0
mov byte [rbp - 4], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov dword [rbp + 0x40], 0x3f800000
mov qword [r13 + 0x20], r12
mov qword [r13 + 0x28], r12
mov byte [rbp + 0x38], 1
mov byte [rbp + 0x10], 1
mov dword [rbp + 8], 3
mov dword [rbp + 0xc], 3
movaps xmmword [rbp + 0xd0], xmm1
movaps xmmword [rbp + 0xe0], xmm2
movaps xmmword [rbp + 0xf0], xmm2
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x88], 0x52e0
mov dword [rbp + 0x94], 0x41f00000
call fcn.140034ab0
mov rax, qword [0x140135308]
mov r14, qword [r13 + 0xa8]
test rax, rax
je 0x14004c983
inc dword [rax + 0x3b0]
mov ecx, 0x286ac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
lea rbx, [0x140057430]
lea rax, [0x140057420]
mov qword [0x140135388], rsi
mov rcx, rbx
mov qword [0x140135378], rax
mov qword [0x140135390], rsi
lea rdi, [rsi + 0x286ac]
mov qword [0x140135380], rdi
call fcn.140039140
cmp rax, rbx
je 0x14004c9e9
nop
cmp qword [0x140135390], rdi
ja 0x14004c9e9
mov rcx, rax
mov rbx, rax
call fcn.140039140
cmp rax, rbx
jne 0x14004c9d0
movaps xmm0, xmmword [rbp - 0x10]
lea rax, [0x14007b0dc]
movaps xmm2, xmmword [rbp]
lea rdx, [rsp + 0x60]
movaps xmm3, xmmword [rbp + 0x10]
mov rcx, r14
movaps xmm4, xmmword [rbp + 0x30]
movaps xmm5, xmmword [rbp + 0x40]
movsd xmm1, qword [rbp + 0x70]
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x70], xmm6
mov byte [rbp + 0x8c], 1
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x286ac
movaps xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm5
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x30], xmm6
movsd qword [rbp - 0x20], xmm1
mov dword [rsp + 0x74], 0x419c0000
mov qword [rbp - 0x68], rax
call fcn.140034ab0
mov rcx, qword [r13 + 0xa8]
call fcn.140034d70
lea rdx, [0x14007b0c4]
lea rcx, str.AnimeGirl1000.png
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edx, 1
lea rcx, [0x1400860d0]
mov r9, rax
mov r8d, 0xad629
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, str.AnimeGirl1000.png
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
call fcn.14003ace0
mov rcx, qword [0x140135318]
lea rax, str.imgui_impl_dx9
mov rbx, qword [0x140135308]
mov qword [0x1401353a8], rcx
or dword [rbx + 0xc], 0x1008
mov qword [rbx + 0xe8], rax
mov rax, qword [rcx]
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x14004cb4a
mov rax, qword [0x140135308]
lea rcx, [fcn.14003a9b0]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.14003aa80]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x14003ab00]
mov qword [rax + 0x1600], rcx
lea rcx, [0x14003ab60]
mov qword [rax + 0x1608], rcx
lea rcx, [0x14003acb0]
mov qword [rax + 0x1610], rcx
mov ecx, 8
call fcn.14004fee0
lea rcx, [0x140003190]
mov r9, rax
lea r8, [0x14004d400]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x118]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x110], rax
test rax, rax
je 0x14004d2cb
cmp dword [rbp + 0x118], r12d
je 0x14004d2bf
movaps xmm0, xmmword [rbp + 0x110]
lea rcx, [rbp + 0x170]
movdqa xmmword [rbp + 0x170], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004d2bf
xorps xmm0, xmm0
lea ecx, [rax + 8]
movdqa xmmword [rbp + 0x110], xmm0
call fcn.14004fee0
lea rcx, [0x140003420]
mov r9, rax
lea r8, [0x14004d400]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x118]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x110], rax
test rax, rax
je 0x14004d2ac
cmp dword [rbp + 0x118], r12d
je 0x14004d2a0
movaps xmm0, xmmword [rbp + 0x110]
lea rcx, [rbp + 0x170]
movdqa xmmword [rbp + 0x170], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004d2a0
xorps xmm0, xmm0
mov qword [rsp + 0x2f0], r15
mov qword [rsp + 0x28], r12
lea r8, [0x140003060]
xor r9d, r9d
movdqa xmmword [rbp + 0x110], xmm0
xor edx, edx
movaps xmmword [rsp + 0x2d0], xmm7
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
movss xmm6, dword [0x14007ba44]
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm7, xmm7
movsx ecx, word [0x140133af8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004cce3
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x140135408]
sub rax, rcx
cmp rax, 0x64
jbe 0x14004cce3
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp byte [0x1400860c8], r12b
mov dword [0x140135408], eax
sete byte [0x1400860c8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x180]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004cd23
lea rcx, [rbp + 0x180]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x180]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14004d100
cmp qword [0x140135398], r12
jne 0x14004cd31
call fcn.14003a840
mov rcx, qword [0x1401353d0]
lea rdx, [rbp + 0x110]
mov rbx, qword [0x140135308]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x110], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x118]
sub eax, dword [rbp + 0x110]
movd xmm1, eax
mov eax, dword [rbp + 0x11c]
sub eax, dword [rbp + 0x114]
cmp byte [0x1401336fa], r12b
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
je 0x14004cde0
mov rdi, qword [0x140135308]
mov ecx, dword [rdi + 0x161c]
test ecx, ecx
jns 0x14004cdbe
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1618]
test eax, eax
cmovg edx, eax
call fcn.140028290
xor r9d, r9d
mov dword [rdi + 0x1618], r12d
lea r8, [0x14003b740]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [0x1401336fa], r12b
lea rcx, [rbp + 0x170]
mov qword [rbp + 0x170], r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x170]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401353d8]
cvtsi2ss xmm0, qword [0x1401353e0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [0x1401353d8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rbx + 0x13c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rbx + 0x13d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13f], r12b
mov byte [rbx + 0x13e], al
call fcn.14003b260
cmp byte [rbx + 0xcf], r12b
je 0x14004ce87
mov eax, 0xffffffff
jmp 0x14004ce94
mov rax, qword [0x140135308]
mov eax, dword [rax + 0x20d0]
cmp dword [0x1401338b0], eax
je 0x14004cea7
mov dword [0x1401338b0], eax
call fcn.14003b0e0
call fcn.14003b470
call fcn.14000c080
cmp byte [0x1400860c8], r12b
je 0x14004cf59
cmp dword [0x14013540c], r12d
jne 0x14004cf54
movss xmm0, dword [0x140133b08]
ucomiss xmm0, xmm7
jp 0x14004cf48
jne 0x14004cf48
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm0, dword [rbp + 0x118]
movd xmm1, dword [rbp + 0x11c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [0x140133b00], xmm0
subss xmm0, dword [0x140133b10]
movss dword [0x140133b04], xmm1
subss xmm1, dword [0x140133b14]
mulss xmm0, xmm6
mulss xmm1, xmm6
movss dword [0x140133b08], xmm0
movss dword [0x140133b0c], xmm1
mov dword [0x14013540c], 1
jmp 0x14004cf59
call fcn.14004e770
call fcn.14000e7c0
mov rcx, qword [0x140135318]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm8
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140135318]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004cfd9
call fcn.14000ec90
mov rax, qword [0x140135308]
mov rcx, qword [rax + 0x1ef8]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0xa8
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140039f90
mov rcx, qword [0x140135318]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13 + 8], 0x400
je 0x14004d0ba
call fcn.14001e610
mov rbx, qword [0x140135308]
mov r14d, 1
mov eax, dword [rbx + 0x1628]
cmp eax, r14d
jle 0x14004d05c
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004d04a
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14004d037
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14004d04a
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
add rsi, 8
cmp r14d, eax
jl 0x14004d010
mov r14d, 1
cmp eax, r14d
jle 0x14004d0ba
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004d0aa
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14004d097
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x14004d0aa
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x1628]
jl 0x14004d070
mov rcx, qword [0x140135318]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004d0f7
mov rcx, qword [0x140135318]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004d0f7
call fcn.14004c550
cmp byte [0x1401339e0], r12b
je 0x14004d10f
cmp dword [rbp + 0x188], 0x12
jne 0x14004cca3
jmp 0x14004d119
mov dword [rbp + 0x188], 0x12
call fcn.14001ebf0
call fcn.14003a8d0
mov rcx, qword [0x1401353a8]
movaps xmm7, xmmword [rsp + 0x2d0]
mov r15, qword [rsp + 0x2f0]
test rcx, rcx
je 0x14004d14c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401353a8], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x1401353b8]
test rcx, rcx
je 0x14004d176
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x140135308]
mov rcx, rbx
mov qword [0x1401353b8], r12
mov qword [0x1401353c0], r12
mov qword [0x1401353c8], r12
mov qword [0x1401353d0], r12
mov qword [0x1401353d8], r12
mov qword [0x1401353e0], r12
mov dword [0x1401338b0], 9
mov byte [0x140135372], r12b
mov byte [0x1401336f9], 1
call fcn.14000d700
cmp qword [0x140135308], rbx
jne 0x14004d1d7
mov qword [0x140135308], r12
test rbx, rbx
je 0x14004d1ff
mov rcx, rbx
call fcn.140028db0
mov rax, qword [0x140135308]
test rax, rax
je 0x14004d1f6
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140135318]
test rcx, rcx
je 0x14004d218
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140135318], r12
mov rcx, qword [0x140135360]
test rcx, rcx
je 0x14004d231
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140135360], r12
mov rcx, qword [0x140135368]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.USER32.dll_UnregisterClassA]
movaps xmm6, xmmword [rsp + 0x2e0]
xor eax, eax
mov r14, qword [rsp + 0x2f8]
mov r13, qword [rsp + 0x330]
mov rdi, qword [rsp + 0x328]
mov rsi, qword [rsp + 0x320]
movaps xmm8, xmmword [rsp + 0x2c0]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14004fda0
add rsp, 0x300
pop r12
pop rbx
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x118], r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x118], r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, qword [0x140135360]
mov rdx, qword [0x140135318]
test rdx, rdx
je 0x14004d308
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140135360]
mov qword [0x140135318], r12
test rcx, rcx
je 0x14004d31a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140135360], r12
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
jmp 0x14004d285