joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013180
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 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400144d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400144f0
xor al, al
jmp 0x140014571
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014503
xor al, al
jmp 0x140014571
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 0x14001452d
xor al, al
jmp 0x140014571
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014541
xor al, al
jmp 0x140014571
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014553
xor al, al
jmp 0x140014571
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001456f
xor al, al
jmp 0x140014571
mov al, 1
add rsp, 0x38
ret
Function at 0x140001d80
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push rbx
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
call fcn.140002120
test eax, eax
jne 0x140001ed5
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
call sym.run_w_py3.9_win_amd64.exe_PySys_SetArgvEx
mov rax, qword [0x14000c290]
test rax, rax
jne 0x140001e23
mov r10, qword [0x14000c248]
mov rbx, qword [0x14000c348]
test r10, r10
je 0x140001df2
nop dword [rax + rax]
cmp rbx, qword [r10]
je 0x140001edb
mov r10, qword [r10 + 0x10]
test r10, r10
jne 0x140001de0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.PyImport_ImportModule
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
lea rcx, [0x140004380]
cmove rax, rcx
mov qword [0x14000c290], rax
lea rcx, [0x14000b1fc]
call rax
mov rbx, rax
test rax, rax
je 0x140001e80
xor r9d, r9d
lea rcx, str._MessageBox
xor r8d, r8d
xor edx, edx
call sym.run_w_py3.9_win_amd64.exe_PyCMethod_New
mov rdx, qword [str._MessageBox]
mov r8, rax
mov rcx, rbx
call sym.run_w_py3.9_win_amd64.exe_PyObject_SetAttrString
xor r9d, r9d
lea rcx, str._SHGetSpecialFolderPath
xor r8d, r8d
xor edx, edx
call sym.run_w_py3.9_win_amd64.exe_PyCMethod_New
mov rdx, qword [str._SHGetSpecialFolderPath]
mov r8, rax
mov rcx, rbx
call sym.run_w_py3.9_win_amd64.exe_PyObject_SetAttrString
call fcn.140002ab0
lea rcx, str.PYTHONINSPECT
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001ece
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._stdin_
call sym.run_w_py3.9_win_amd64.exe_Py_FdIsInteractive
test eax, eax
je 0x140001ece
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r8d, r8d
lea rdx, [0x14000b3a8]
mov rcx, rax
call sym.run_w_py3.9_win_amd64.exe_PyRun_InteractiveLoopFlags
call sym.run_w_py3.9_win_amd64.exe_Py_Finalize
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov eax, dword [r10 + 0x20]
lea rcx, [0x14000b578]
mov r9, qword [r10 + 8]
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
call fcn.1400048e0
mov rcx, qword [r10]
lea rdx, str.PyImport_ImportModule
call fcn.140003260
jmp 0x140001e1c
Function at 0x14002fbe8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14002fc1a
call fcn.14002408c
mov dword [rax], 0x16
call fcn.14001ef0c
jmp 0x14002fd39
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002fd39
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002fd39
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002fc49
lock or dword [rcx + 0x14], 0x10
jmp 0x14002fd39
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002fc5d
call fcn.14003124c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14002d750
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400309c8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14002fd27
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14002fcf2
mov rcx, rsi
call fcn.14002d750
cmp eax, edi
je 0x14002fcdd
mov rcx, rsi
call fcn.14002d750
cmp eax, 0xfffffffe
je 0x14002fcdd
mov rcx, rsi
call fcn.14002d750
movsxd rbx, eax
lea r14, [0x1400a10f0]
mov rcx, rsi
sar rbx, 6
call fcn.14002d750
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002fce4
lea rdx, [0x1400643e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002fcf2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14002fd16
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14002fd16
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14002fd16
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14002fd3c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140030064
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140017ba0
sub rsp, rax
mov rax, qword [0x140064028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002d750
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400300b3
mov rax, rbp
jmp 0x1400301bb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa10f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400311a0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xa10f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400301b7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400301b7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400311a0
test rax, rax
js 0x1400301b7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400301b7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400301a9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400301a9
cmp byte [rcx], 0xd
jne 0x14003018f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14003019e
cmp byte [rcx + 1], 0xa
jne 0x14003019e
inc rcx
jmp 0x14003019e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x64430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140030171
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400301bb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140017b70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003051c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400a10f0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14003057a
cmp word [rdx], r12w
jne 0x14003057a
or byte [rax + r8*8 + 0x38], cl
jmp 0x140030580
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400306db
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400306b6
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400305b9
mov rcx, r9
jmp 0x1400305dc
cmp r9, rdx
jae 0x1400305f3
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14003059d
jmp 0x1400306db
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400306b0
cmp dword [rsp + 0x80], edi
je 0x1400306b0
mov rdx, r14
lea r11, [0x1400a10f0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140030689
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14003065c
mov word [rbx], r12w
jmp 0x1400306d7
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140030665
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400306d7
cmp word [rsp + 0x70], r12w
jne 0x140030696
cmp rbx, rsi
je 0x140030656
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400311a8
cmp word [rsp + 0x70], r12w
je 0x1400306db
mov word [rbx], r13w
jmp 0x1400306d7
lea r11, [0x1400a10f0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400306d3
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400306db
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400413d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400a16e8]
mov qword [rsp + 0x98], rax
mov eax, 5
mov word [rsp + 0x42], ax
mov eax, 0x1e
mov word [rsp + 0x44], ax
mov eax, 0x2f
mov word [rsp + 0x46], ax
mov eax, 4
mov word [rsp + 0x48], ax
mov eax, 8
mov word [rsp + 0x4a], ax
mov eax, 0x69
mov word [rsp + 0x4c], ax
mov eax, 0x66
mov word [rsp + 0x4e], ax
mov eax, 0x41
mov word [rsp + 0x50], ax
mov eax, 0x3e
mov word [rsp + 0x52], ax
mov eax, 0x36
mov word [rsp + 0x54], ax
mov eax, 0x28
mov word [rsp + 0x56], ax
mov eax, 0x55
mov word [rsp + 0x58], ax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x42]
call fcn.140014aa0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0x98]
mov qword [0x1400a16c8], rax
lea rcx, [rsp + 0x100]
call fcn.140007820
mov byte [rsp + 0x2e], 0x15
mov byte [rsp + 0x2f], 0x19
mov byte [rsp + 0x30], 0x27
mov byte [rsp + 0x31], 5
mov byte [rsp + 0x32], 5
mov byte [rsp + 0x33], 0x34
mov byte [rsp + 0x34], 0x30
mov byte [rsp + 0x35], 0x23
mov byte [rsp + 0x36], 0x33
mov byte [rsp + 0x37], 0x34
mov byte [rsp + 0x38], 0x21
mov byte [rsp + 0x39], 1
mov byte [rsp + 0x3a], 5
mov byte [rsp + 0x3b], 7
mov byte [rsp + 0x3c], 0x2a
mov byte [rsp + 0x3d], 0xb
mov byte [rsp + 0x3e], 0x34
mov byte [rsp + 0x3f], 0x25
mov byte [rsp + 0x40], 0x45
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x2e]
call fcn.140014d40
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1400a16c8]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
call fcn.14004b480
mov qword [0x1400a1700], rax
lea rcx, [rsp + 0x118]
call fcn.140002490
mov byte [rsp + 0x20], 5
mov byte [rsp + 0x21], 0x1e
mov byte [rsp + 0x22], 0x2f
mov byte [rsp + 0x23], 4
mov byte [rsp + 0x24], 8
mov byte [rsp + 0x25], 0x1f
mov byte [rsp + 0x26], 0x2c
mov byte [rsp + 0x27], 0xa
mov byte [rsp + 0x28], 0x39
mov byte [rsp + 0x29], 0x2f
mov byte [rsp + 0x2a], 0x30
mov byte [rsp + 0x2b], 0x30
mov byte [rsp + 0x2c], 0x3d
mov byte [rsp + 0x2d], 0x46
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.140014950
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400a16c8]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xe8]
call fcn.14004b480
mov qword [0x1400a1708], rax
lea rcx, [rsp + 0x130]
call fcn.140002490
add rsp, 0x158
ret
Function at 0x14004b480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x14004b49e
cmp qword [rsp + 0x68], 0
jne 0x14004b4a5
xor eax, eax
jmp 0x14004b5d1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp], 0
jmp 0x14004b546
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp dword [rsp], eax
jae 0x14004b5cf
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14004b58e
inc rax
test dl, dl
jne 0x14004b57b
xor eax, eax
jmp 0x14004b593
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004b5ca
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
jmp 0x14004b5d1
jmp 0x14004b53e
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400364f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140036658
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140036556
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
mov rsi, qword [rdi + 0x10]
jb 0x140036570
mov rcx, qword [rdi]
cmp rbx, rsi
lea rdx, [rsp + 0x4c]
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400365de
cmp rsi, rbx
jb 0x1400365de
ja 0x1400365de
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rsp + 0x28]
cmp rdx, 0x10
jb 0x1400365d6
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400365d1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400366cc
mov rcx, r8
call fcn.1400f0cec
mov rax, rbx
jmp 0x140036690
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14003664f
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140036600
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
mov rsi, qword [rdi + 0x10]
jb 0x14003661a
mov rcx, qword [rdi]
cmp rbx, rsi
lea rdx, [rsp + 0x4c]
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003663d
cmp rsi, rbx
jb 0x14003663d
jbe 0x14003658f
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400365f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14003668e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140036689
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400366cc
mov rcx, r8
call fcn.1400f0cec
xor eax, eax
mov byte [rdi], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400f0970
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14003a020
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xa8
cmp byte [0x140104aa1], 0
movups xmm0, xmmword [0x140104a90]
movzx eax, word [0x140104aa0]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x50], xmm0
je 0x14003a20f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003a1d0
movdqa xmm0, xmmword [str.8888888888888888_t]
lea rdx, [r11 - 0x54]
movdqa xmm5, xmmword [0x14010fad0]
mov eax, 5
movdqa xmm4, xmmword [0x14010fb30]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x14010faf0]
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14010fb10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010fb10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x14003a0b0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x12
jge 0x14003a20f
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x14003a1e0
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x50]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14003a258
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0xa8
ret
xor al, al
add rsp, 0xa8
ret
Function at 0x14003a270
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, word [0x140106b98]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.kvoklz]
mov word [rsp + 0x50], ax
movups xmm1, xmmword [0x140106b88]
movzx eax, byte [0x140106b9a]
mov byte [rsp + 0x52], al
mov qword [r11 - 0x48], rcx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
jl 0x14003a445
movdqa xmm0, xmmword [str.8888888888888888_t]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x14010fad0]
mov eax, 5
movdqa xmm4, xmmword [0x14010fb30]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x14010faf0]
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
mov eax, ecx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14010fb10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010fb10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x14003a320
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp eax, 0x23
jge 0x14003a47f
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x23
jl 0x14003a450
lea rax, [rsp + 0x70]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f0970
add rsp, 0xb8
ret