joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000d5d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
cmp qword [rcx + 0x20], rbx
je 0x18000d64d
lea rdx, str.CreateInterface
call fcn.18000d65c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18000d650
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.18000d8a8
mov rcx, rax
call fcn.18000d8d8
mov rcx, qword [rax]
jmp 0x18000d641
mov rdx, qword [rcx + 8]
mov r8d, 0x811c9dc5
jmp 0x18000d632
movzx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
mov al, byte [rdx]
test al, al
jne 0x18000d622
cmp r8d, edi
je 0x18000d648
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x18000d616
jmp 0x18000d64d
call qword [rcx]
mov rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18000e610
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18000e653
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x18000e66c]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18000e661
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000e661
test edx, edx
jne 0x18000e661
test r8, r8
jne 0x18000e661
call fcn.1800a8074
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180010278
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rdx, str.mp_teammates_are_enemies
mov esi, 0x811c9dc5
mov al, 0x6d
movzx eax, al
inc rdx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [rdx]
test al, al
jne 0x180010298
call fcn.1800101b8
mov rbx, rax
mov rdx, rbx
mov rcx, rdi
call fcn.180010240
mov rcx, rax
test rax, rax
je 0x1800102ed
mov rdx, qword [rax]
mov r8d, 0x811c9dc5
jmp 0x1800102e2
movzx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
mov al, byte [rdx]
test al, al
jne 0x1800102d2
cmp r8d, esi
je 0x180010313
mov rdx, rbx
mov rcx, rdi
call fcn.1800101f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800102b4
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rcx
jmp 0x180010303
Function at 0x180028cdc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180028d38
cmp byte [rcx + 0x71], 0
je 0x180028d38
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180028d80
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180028d45
sub eax, 1
je 0x180028d49
cmp eax, 2
jne 0x180028d80
mov byte [rbx + 0x71], 0
mov al, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x180028d77
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180028d80
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180028d3a
xor al, al
jmp 0x180028d3a

Function at 0x180032a58
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rdi, rdx
mov rbp, rcx
mov rcx, r8
mov rax, 0xfffffffffffff000
and rcx, rax
mov rsi, r8
mov qword [rdx], rcx
mov rdx, r8
sub rdx, rcx
lea r9, [rdi + 0x10]
add rdx, 0x1004
mov r8d, 0x40
and rdx, rax
mov qword [rdi + 8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180032ad8
mov r9, qword [rdi + 8]
lea rdx, str.__unprotect_memory__p__size_llu______p__size_llu__n
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180031bf4
xor eax, eax
jmp 0x180032b25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.1800322f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi + 8]
lea rdx, str.Failed_to_unprotect_memory__p__size_llu______p__size_llu__error_lu__s__
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180031c1c
mov eax, 9
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180035294
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
not r8d
movzx eax, byte [rcx]
inc rcx
movzx r9d, r8b
xor r9, rax
shr r8d, 8
lea rax, [0x18010e7d0]
xor r8d, dword [rax + r9*4]
sub rdx, 1
jne 0x180035297
not r8d
mov eax, r8d
ret
Function at 0x1800352c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18003531a
mov r11b, 0x23
lea rdi, [0x18010e7d0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180035304
cmp rdx, 2
jb 0x180035304
cmp byte [r10], r11b
jne 0x180035304
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1800352e2
jmp 0x18003535b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18003535b
mov r11b, 0x23
lea rdi, [0x18010e7d0]
cmp dl, r11b
jne 0x18003533f
cmp byte [r10], r11b
jne 0x18003533f
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18003532d
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x18007c9ec
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov r10d, 1
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x18007cade
xor ecx, ecx
cmp ebx, 7
jbe 0x18007ca8b
lea edx, [rcx + 7]
movzx eax, byte [r11]
add ecx, 8
add r10d, eax
add edx, 8
movzx eax, byte [r11 + 1]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 2]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 3]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 4]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 5]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 6]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 7]
add r9d, r10d
add r10d, eax
add r11, 8
add r9d, r10d
cmp edx, ebx
jb 0x18007ca26
cmp ecx, ebx
jae 0x18007caa8
mov eax, ebx
sub eax, ecx
mov ecx, eax
movzx eax, byte [r11]
inc r11
add r10d, eax
add r9d, r10d
sub rcx, 1
jne 0x18007ca95
mov eax, 0x80078071
mul r10d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r10d, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul ecx, edx, 0xffff000f
add r9d, ecx
sub r8d, ebx
mov ebx, 0x15b0
jne 0x18007ca1c
mov rbx, qword [rsp + 8]
shl r9d, 0x10
lea eax, [r10 + r9]
ret
Function at 0x18007e1cc
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call fcn.18007e1a8
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18007e205
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret

Function at 0x18007e454
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret

Function at 0x1800a6c6c
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
lea rcx, [0x1800a6bfc]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a6cb9
lea r8, [0x1800a6a70]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov qword [0x180147d68], rax
lea edx, [r9 + 6]
call qword [sym.imp.USER32.dll_PostMessageA]
add rsp, 0x20
pop rbx
ret

Function at 0x1800a80f8
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
call fcn.1800a5afc
mov ecx, 1
mov rbx, rax
call fcn.1800a5bcc
mov rcx, rbx
call fcn.1800a5ba0
mov rcx, rax
mov edx, 1
call fcn.1800a5c54
and qword [rsp + 0x28], 0
lea r9, [0x180000000]
and dword [rsp + 0x20], 0
lea r8, [0x1800a816c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800a8156
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret

Function at 0x1800a8264
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.CS2____TripIt.cc
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x180130354]
mov rcx, rbx
mov r9, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
test eax, eax
jne 0x1800a82ae
call fcn.1800a817c
add rsp, 0x20
pop rbx
ret
Function at 0x1800a8870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov r10d, 0x811c9dc5
mov al, byte [rdx]
test al, al
je 0x1800a88a6
mov r8, rdx
movzx eax, al
xor eax, r10d
imul r10d, eax, 0x1000193
inc r8
mov al, byte [r8]
test al, al
jne 0x1800a888f
mov dword [rsp + 0x40], r10d
lea rcx, [rsp + 0x40]
call fcn.1800211d4
mov rcx, qword [rdi + 0x30]
and rcx, rax
mov rdx, qword [rdi + 0x18]
mov rax, rcx
add rax, rax
mov rax, qword [rdx + rax*8 + 8]
cmp rax, qword [rdi + 8]
je 0x1800a88eb
add rcx, rcx
mov rdx, qword [rdx + rcx*8]
jmp 0x1800a88e3
cmp rax, rdx
je 0x1800a88eb
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x1800a88da
jmp 0x1800a88ed
xor eax, eax
test rax, rax
cmove rax, qword [rdi + 8]
cmp rax, qword [rdi + 8]
je 0x1800a8904
add rax, 0x18
jmp 0x1800a899e
mov ecx, 0x38
call fcn.1800b29a8
mov qword [rsp + 0x48], rax
mov rdx, rbx
mov rcx, rax
call fcn.18000d524
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.18000d5a0
test al, al
je 0x1800a8957
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800a8a78
mov rdi, qword [rax]
add rdi, 0x18
mov rbx, qword [rsp + 0x48]
jmp 0x1800a8981
mov ecx, dword [0x180147570]
mov rax, qword gs:[0x58]
mov edx, 8
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18014a3f4], eax
jg 0x1800a89a9
lea rdi, [0x180149370]
test rbx, rbx
je 0x1800a899b
mov rcx, rbx
call fcn.18000d4c8
mov edx, 0x38
mov rcx, rbx
call fcn.1800b2998
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x18014a3f4]
call fcn.1800b25b0
cmp dword [0x18014a3f4], 0xffffffff
jne 0x1800a897a
lea rcx, [0x1800b5298]
call fcn.1800b2980
lea rcx, [0x18014a3f4]
call fcn.1800b2544
jmp 0x1800a897a

Function at 0x1800a89dc
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rdx], 0
mov rbx, rdx
mov rdx, r8
mov rdi, r9
call fcn.1800a8870
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a8a23
mov edx, 0x811c9dc5
jmp 0x1800a8a15
movzx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc rdi
mov al, byte [rdi]
test al, al
jne 0x1800a8a07
call fcn.18000d5d0
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800ac454
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
sub rsp, 0x38
and dword [rax + 8], 0
lea rdx, [rax + 8]
and dword [rax + 0xc], 0
lea rcx, str.Github
call fcn.180089cb8
test al, al
je 0x1800ac4a2
mov dword [rsp + 0x28], 0xa
lea r8, str.https:__github.com_control0forver_TripIt.cc_
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret

Function at 0x1800b242c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800b2466
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800b246b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800b24b4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800d3c20]
cmp byte [rcx + rax], 0
je 0x1800b24b4
dec r8
sub rdx, 1
jne 0x1800b249a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140011235
Capabilities:
Terminate process

Disassembly:
jmp 0x140013a50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001123a
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140011e10
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240a2]
call fcn.1400113e3
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140011e8c
mov rax, qword [0x14001e220]
mov eax, dword [rax + 4]
sub eax, 2
mov rcx, qword [0x14001e220]
mov dword [rcx + 4], eax
mov rax, qword [0x14001e220]
mov rcx, qword [0x14001e228]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
jge 0x140011e7e
mov rax, qword [0x14001e220]
mov rcx, qword [0x14001e228]
mov ecx, dword [rcx + 4]
mov dword [rax + 4], ecx
jmp 0x140011e8c
mov eax, dword [0x14001e21c]
dec eax
mov dword [0x14001e21c], eax
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140011eed
mov rax, qword [0x14001e220]
mov eax, dword [rax + 4]
add eax, 2
mov rcx, qword [0x14001e220]
mov dword [rcx + 4], eax
mov rax, qword [0x14001e220]
mov rcx, qword [0x14001e238]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
jle 0x140011edf
mov rax, qword [0x14001e220]
mov rcx, qword [0x14001e238]
mov ecx, dword [rcx + 4]
mov dword [rax + 4], ecx
jmp 0x140011eed
mov eax, dword [0x14001e21c]
inc eax
mov dword [0x14001e21c], eax
mov rax, qword [0x14001e228]
mov dword [rax + 8], 0xe
mov rax, qword [0x14001e230]
mov dword [rax + 8], 0xe
mov rax, qword [0x14001e238]
mov dword [rax + 8], 0xe
mov eax, dword [0x14001e21c]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x140011f40
cmp dword [rbp + 0xc0], 1
je 0x140011f50
cmp dword [rbp + 0xc0], 2
je 0x140011f60
jmp 0x140011f6e
mov rax, qword [0x14001e228]
mov dword [rax + 8], 4
jmp 0x140011f6e
mov rax, qword [0x14001e230]
mov dword [rax + 8], 4
jmp 0x140011f6e
mov rax, qword [0x14001e238]
mov dword [rax + 8], 4
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1400112c1
Capabilities:
Execute command

Disassembly:
jmp 0x1400124a0
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240a2]
call fcn.1400113e3
call fcn.1400110c3
call fcn.1400111a9
xor eax, eax
cmp eax, 1
je 0x140012510
lea rcx, [0x14001ad24]
call qword [sym.imp.ucrtbased.dll_system]
call fcn.14001120d
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xa
mov ecx, 0xa
call fcn.1400113ac
mov ecx, 0xa
call fcn.14001130c
lea rcx, str.Hello_world
call fcn.1400111d6
jmp 0x1400124c5
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400112d0
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014da0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014dc0
xor al, al
jmp 0x140014e41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014dd3
xor al, al
jmp 0x140014e41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014dfd
xor al, al
jmp 0x140014e41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014e11
xor al, al
jmp 0x140014e41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014e23
xor al, al
jmp 0x140014e41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e3f
xor al, al
jmp 0x140014e41
mov al, 1
add rsp, 0x38
ret
Function at 0x1400113ac
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x140012160
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1400240a2]
call fcn.1400113e3
mov eax, dword [rbp + 0x100]
shl eax, 1
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac80]
call fcn.140011366
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140282ac0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140282acd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140282add
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140282ac5
lea eax, [rcx + 1]
jmp 0x140282aeb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140282afe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140282ae4
sub eax, 3
jb 0x140282b1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140282b6d
sar eax, 1
movsxd rbp, eax
jb 0x140282b54
jmp 0x140282b2c
add ebx, ebx
jne 0x140282b2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140282b54
inc ecx
add ebx, ebx
jne 0x140282b3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140282b54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140282b4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140282b3c
add ecx, 2
jmp 0x140282b59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140282a82
jmp 0x140282acd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x11b200
mov dl, 0x27
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140282bb9
cmp rsi, rcx
jae 0x140282bc1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140282ba0
cmp al, 0x8f
ja 0x140282ba0
cmp byte [rsi - 2], 0xf
je 0x140282ba6
sub al, 0xe8
cmp al, 1
ja 0x140282b8a
cmp rsi, rcx
jae 0x140282bc1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140282b90
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140282bc1
lodsb al, byte [rsi]
jmp 0x140282ba0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x27d000]
mov eax, dword [rdi]
or eax, eax
je 0x140282c2a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2a8590]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140282bce
jns 0x140282c03
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140282c0d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140282c24
mov qword [rbx], rax
add rbx, 8
jmp 0x140282bee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140282c6e
cmp al, 0xef
ja 0x140282c56
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140282c36
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140282c45
mov eax, dword [rdi]
add rdi, 4
jmp 0x140282c45
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140282cc2
sub rsp, 0xffffffffffffff80
jmp 0x1400e1d78
Function at 0x1401fbbb0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
xor sil, sil
add rcx, 8
xor r8d, r8d
mov dl, 1
call fcn.1400ed8e0
mov rdi, rax
test rax, rax
je 0x1401fbccc
xor ebp, ebp
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.ProxyEnable
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401fbcbe
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 4]
xor r8d, r8d
lea rdx, str.ProxyEnable
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1401fbcbe
lea rax, [0x14034d1a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
lea r8, [rsp + 0x38]
lea rdx, str.ProxyServer
mov rcx, rdi
call fcn.1400d9fd0
test al, al
je 0x1401fbcaa
lea rdx, str.ProxyServer
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov sil, 1
cmp dword [rsp + 0x40], 0
jle 0x1401fbcbe
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
movzx eax, sil
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402c0e34
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1402c0c9c
Function at 0x14000f340
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x140163834]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret