joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d9e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14002da10
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14002da92
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14002da5e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14002da66
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002da05
mov qword [rsp + 8], 0xe3
jmp 0x14002daaa
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14002db31
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14002dafb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14002db03
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002da9d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14002db85
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14002db8d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140030280
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400302b6
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
jmp 0x14003031b
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
test eax, eax
je 0x14003031b
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
add rsp, 0x28
ret

Function at 0x140030350
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x48
movzx eax, byte [0x1401d95f0]
test eax, eax
jne 0x140030361
jmp 0x1400303b3
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.https:__discord.com_invite_VgRrxwesPz
lea rdx, [0x1401362e0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
movzx eax, byte [0x1401d95f0]
test eax, eax
jne 0x1400303a0
mov dword [rsp + 0x30], 1
jmp 0x1400303a8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [0x1401d95f0], al
add rsp, 0x48
ret

Function at 0x1400303c0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x48
movzx eax, byte [0x1401d95f8]
test eax, eax
jne 0x1400303d1
jmp 0x140030423
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.https:__github.com_CowNowK_AimStar
lea rdx, [0x14013630c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
movzx eax, byte [0x1401d95f8]
test eax, eax
jne 0x140030410
mov dword [rsp + 0x30], 1
jmp 0x140030418
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [0x1401d95f8], al
add rsp, 0x48
ret
Function at 0x140030430
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
movzx eax, byte [0x1401d95fa]
test eax, eax
jne 0x140030444
jmp 0x14003067f
mov dword [rsp + 0x20], 0x20
movss xmm0, dword [0x140162778]
call fcn.14005b680
xorps xmm2, xmm2
movss xmm1, dword [0x140162bf0]
lea rcx, [rsp + 0x24]
call fcn.14000cc00
xor edx, edx
mov rcx, rax
call fcn.14005b570
mov r8d, dword [rsp + 0x20]
xor edx, edx
lea rcx, str.Cheats_List
call fcn.140056460
movzx eax, byte [0x1401d9291]
test eax, eax
je 0x1400304be
movzx eax, byte [0x1401d92a5]
test eax, eax
jne 0x1400304b2
mov ecx, dword [0x1401c53c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400304be
lea rcx, str.Aimbot__Toggle_
call fcn.14009b250
movzx edx, byte [0x1401d92a4]
lea rcx, [0x140136338]
call fcn.140030200
movzx edx, byte [0x1401d95ef]
lea rcx, [0x140136344]
call fcn.140030200
movzx edx, byte [0x1401d95ff]
lea rcx, [0x140136350]
call fcn.140030200
movzx edx, byte [0x1401d9273]
lea rcx, str.Crosshair
call fcn.140030200
movzx edx, byte [0x1401d95fb]
lea rcx, [0x140136370]
call fcn.140030200
movzx edx, byte [0x140174381]
lea rcx, [0x140136380]
call fcn.140030200
movzx edx, byte [0x1401d9603]
lea rcx, str.External_Radar
call fcn.140030200
movzx edx, byte [0x1401d95ee]
lea rcx, [0x140136398]
call fcn.140030200
movzx edx, byte [0x1401d9601]
lea rcx, [0x1401363a8]
call fcn.140030200
movss xmm0, dword [0x1401d95e8]
ucomiss xmm0, dword [0x140162654]
je 0x140030586
lea rcx, str.Flash_Immunity
call fcn.14009b250
movzx edx, byte [0x1401d95fc]
lea rcx, [0x1401363c8]
call fcn.140030200
cmp dword [0x1401c53a4], 0x5a
je 0x1400305ae
lea rcx, str.Fov_Changer
call fcn.14009b250
movzx edx, byte [0x1401d9289]
lea rcx, [0x1401363e8]
call fcn.140030200
movzx edx, byte [0x1401d95f9]
lea rcx, [0x1401363f8]
call fcn.140030200
movzx edx, byte [0x1401d95f1]
lea rcx, str.Money_Service
call fcn.140030200
movzx edx, byte [0x1401d95e4]
lea rcx, [0x140136418]
call fcn.140030200
movzx edx, byte [0x1401d9621]
lea rcx, [0x140136428]
call fcn.140030200
movzx edx, byte [0x1401d9290]
lea rcx, [0x140136434]
call fcn.140030200
movzx edx, byte [0x1401d95fe]
lea rcx, [0x140136438]
call fcn.140030200
movzx edx, byte [0x1401d95fd]
lea rcx, [0x140136448]
call fcn.140030200
movzx eax, byte [0x1401d9280]
test eax, eax
je 0x140030679
movzx eax, byte [0x1401d928a]
test eax, eax
jne 0x14003066d
mov ecx, dword [0x1401d92a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140030679
lea rcx, str.TriggerBot__Toggle_
call fcn.14009b250
call fcn.140059eb0
nop
add rsp, 0x38
ret
Function at 0x1400309a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x1401d9601]
test eax, eax
jne 0x1400309b4
jmp 0x140030a62
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400309ce
jmp 0x140030a62
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400309e5
jmp 0x140030a62
movss xmm3, dword [0x140162b64]
mov r8d, 0x44
lea rdx, [0x1401d6fda]
mov ecx, 0x41
call fcn.140030280
movss xmm3, dword [0x140162b64]
mov r8d, 0x41
lea rdx, [0x1401d6fec]
mov ecx, 0x44
call fcn.140030280
movss xmm3, dword [0x140162b64]
mov r8d, 0x53
lea rdx, [0x1401d6fdb]
mov ecx, 0x57
call fcn.140030280
movss xmm3, dword [0x140162b64]
mov r8d, 0x57
lea rdx, [0x1401d6fd9]
mov ecx, 0x53
call fcn.140030280
nop
add rsp, 0x28
ret

Function at 0x140031470
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140174340]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x1401d95ef]
test eax, eax
jne 0x140031498
jmp 0x14003156a
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400314af
mov byte [rsp + 0x21], 1
jmp 0x1400314b4
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000e6f0
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x30]
lea rcx, [0x1401d9820]
call fcn.140035370
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140031520
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140031520
mov dword [rsp + 0x24], 0x11
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x28]
call fcn.140025e60
mov rcx, rax
call fcn.140025e80
mov edx, 0x10001
lea rcx, [0x1401d9820]
call fcn.140035330
jmp 0x14003156a
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140031545
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140031545
mov edx, pe_nt_image_headers64
lea rcx, [0x1401d9820]
call fcn.140035330
jmp 0x14003156a
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003156a
cmp dword [rsp + 0x30], 0x10001
jne 0x14003156a
mov edx, pe_nt_image_headers64
lea rcx, [0x1401d9820]
call fcn.140035330
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140122d00
add rsp, 0x48
ret
Function at 0x140034df0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x4d0
lea rbp, [rsp + 0x20]
mov rax, qword [0x140174340]
xor rax, rbp
mov qword [rbp + 0x4a0], rax
mov dword [rbp + 0x60], 0x438
mov rax, qword [rbp + 0x4c0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
call fcn.140034d50
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x140034e6d
mov qword [rbp + 0x30], 0
jmp 0x140034f0b
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x38], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140034e7d
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140034eac
mov qword [rbp + 0x28], 0
jmp 0x140034f03
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x40], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140034ed4
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140123f10
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.140034d60
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140023d50
mov rcx, qword [rbp + 0x30]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140034f31
inc rcx
test dl, dl
jne 0x140034f1e
xor eax, eax
jmp 0x140034f36
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140034f61
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140009900
mov rax, qword [rbp + 0x48]
jmp 0x140034f99
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140034e4e
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x4c8]
call fcn.140009900
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.140122d00
lea rsp, [rbp + 0x4b0]
pop rbp
ret
Function at 0x140036900
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x20]
mov rax, qword [0x140174340]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
call fcn.140034d50
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140036972
mov qword [rbp + 0x38], 0
jmp 0x140036a10
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140036982
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x1400369b1
mov qword [rbp + 0x30], 0
jmp 0x140036a08
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x48], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x1400369d9
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140123f10
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov r8d, ecx
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.140034d60
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140023d50
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140036a36
inc rcx
test dl, dl
jne 0x140036a23
xor eax, eax
jmp 0x140036a3b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140036a60
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp + 0x2b8]
call fcn.140009900
mov eax, dword [rbp + 0x1c]
jmp 0x140036a96
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140036956
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140009900
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.140122d00
lea rsp, [rbp + 0x2a0]
pop rbp
ret

Function at 0x140037460
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str._C_taskkill__F__IM_cs2.exe
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret

Function at 0x1400381c0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret
Function at 0x140039100
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x1b8
mov rax, qword [0x140174340]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [0x140137ddc]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400391ea
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xb8]
call fcn.140009930
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, str.Aimstar
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x98]
call fcn.14003ca40
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1401d8138]
call fcn.140023e40
lea rcx, [rsp + 0x98]
call fcn.140009900
nop
lea rcx, [rsp + 0xb8]
call fcn.140009900
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x88], rax
lea rdx, [0x1401d8138]
mov rcx, qword [rsp + 0x88]
call fcn.140023f40
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140036ea0
mov byte [0x1401d6fed], al
movzx eax, byte [0x1401d6fed]
test eax, eax
je 0x1400391ff
call fcn.1400381e0
jmp 0x14003932a
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [rsp + 0x180]
lea rcx, str.OTPInputClass
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1c
rep movsb byte [rdi], byte [rsi]
lea rax, [0x140039350]
mov qword [rsp + 0x108], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x100]
call qword [sym.imp.USER32.dll_RegisterClassW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0xc8
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, [0x140137e80]
lea rdx, [rsp + 0x180]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400392e2
xor eax, eax
jmp 0x140039330
mov edx, 5
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14003932a
lea rcx, [rsp + 0x150]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x150]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400392f2
jmp 0x14003932e
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140122d00
add rsp, 0x1b8
pop rdi
pop rsi
ret
Function at 0x140039d90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140039dc9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140039eb7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140039e5f
cmp qword [rsp + 0x20], 0
jle 0x140039e5f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140039e09
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14000a1f0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140039ea7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140039ea7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140039ec0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140174340]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140039ef4
xor eax, eax
jmp 0x14003a0f0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140039f26
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14003a0f0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140039fd7
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.14000aa50
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000a1f0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14003a0e0
mov rcx, qword [rsp + 0x80]
call fcn.14003b5d0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14003a08d
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x14003a088
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14003a0f0
jmp 0x14003a003
cmp qword [rsp + 0x50], 0
jbe 0x14003a0e0
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122d00
add rsp, 0x78
ret