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

Disassembly:
mov qword [rsp + 8], rbx
and bx, 0x918b
shrd r9d, r11d, 0x91
mov qword [rsp + 0x10], rdi
not r10b
sar r10b, cl
cmp dh, 0x1a
xor edi, edi
inc rbx
jmp 0x1408ae45f
movzx ebx, r8b
mov r11, rcx
movsx r8, di
inc r9w
cmove r9w, r9w
mov r8, rdi
mov r10w, 0xf908
nop
cmove r10d, r15d
movzx r10w, r9b
bswap r9
movzx r9d, byte [r11]
movzx r10w, spl
movsx r10w, dl
movzx r10d, byte [rdx]
jmp 0x1408ae49f
inc r11
jmp 0x1408ae4a7
inc rdx
test bl, bl
jmp 0x1408ae4b1
je 0x1408ae4d2
mov ecx, r8d
movzx eax, sp
mov eax, 0xe1357b30
rol eax, cl
add al, r8b
xor r9b, al
jmp 0x1408ae4cf
inc r8
test r9b, r9b
jmp 0x1408ae4da
je 0x1408ae4ee
cmp r9b, r10b
jmp 0x1408ae4e8
je 0x1408ae488
cmp r9b, r10b
jmp 0x1408ae4f6
jae 0x1408ae51d
or eax, 0xffffffff
cmovl di, r14w
movsx di, r15b
mov rbx, qword [rsp + 8]
seto dil
mov rdi, qword [rsp + 0x10]
jmp 0x1408ae51c
ret
mov rbx, qword [rsp + 8]
cwde
seta dil
xchg ah, al
lahf
movsx eax, cx
mov eax, edi
movsx di, bpl
bswap di
movzx rdi, r12w
mov rdi, qword [rsp + 0x10]
jmp 0x1408ae545
ret
Function at 0x1408b3dd5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rbp, qword [rbp + riz - 8]
mov qword [rbp + riz], rax
mov r11, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
call fcn.1408cc68e

Function at 0x1408b79b6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rbp], r11
lea rsp, [rsp + 0x18]
jmp 0x1408b5c07

Function at 0x1408be639
Capabilities:
Encrypt data using rc4 prga

Disassembly:
adc rbp, 2
mov qword [rsp], 0xffffffffd7b8d88e
add r11w, ax
mov word [rbp + riz], r11w
lea rsp, [rsp + 8]
jmp 0x1408b5c07

Function at 0x1408ca6a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rbp, qword [rbp + rsi*2 - 0x15e773a]
mov qword [rbp + rsi - 0xaf3b99], rax
not rsi
mov r9, qword [rsp + rsi + 0xaf3ba2]
mov qword [rsp + rsi*2 + 0x15e773c], 0x7d21a010
push rsi
push rsi
mov r8, qword [rsp + rsi*8 + 0x579dcf0]
mov rsi, qword [rsp + rsi + 0xaf3bc2]
jmp 0x1408e088b
not byte [rsp + 0x1d]
lea rsp, [rsp + 0x30]
jmp 0x1408b5c07

Function at 0x1408d65e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rbp], edx
lea rsp, [rsp + 0x10]
jmp 0x1408b5c07

Function at 0x1408ec44d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x10]
jmp 0x1408b5c07

Function at 0x1408ec4d9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx r11w, byte [r11 + rdx - 0x10b8361f]
add rbp, 6
mov word [rbp + riz], r11w
lea rsp, [rsp + 8]
jmp 0x1408b5c07
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14002dca0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14002dcb0]
mov dword [rax], 1
mov rax, qword [0x14002dcc0]
mov dword [rax], 1
mov rax, qword [0x14002dc40]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14002dc90]
mov dword [0x140031020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14002dd70]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14002dd50]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14002dbf0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140023be0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140023c50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400310b4]
mov rbx, rcx
test esi, esi
jle 0x140023d80
mov rax, qword [0x1400310b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140023c9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140023d25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140023c80
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140023da2
mov rax, qword [0x1400310b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400310b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140023d87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140023d1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140023d30
add dword [0x1400310b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400310b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140023d1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140023ca8
mov rax, qword [0x1400310b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140024310
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140031120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140031100]
test rbx, rbx
je 0x14002436c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140024363
test rsi, rsi
je 0x140024363
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140024348
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140024580
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140024598
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400245a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400245b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400245fd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400245f4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400245ff
add rax, 0x28
cmp rax, r9
jne 0x1400245e0
xor eax, eax
ret

Function at 0x140024600
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140024690
mov rdx, qword [0x14002dc40]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14002467e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14002467e
cmp word [rax + 0x18], 0x20b
jne 0x14002467e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140024690
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140024669
add rbx, 0x28
cmp rbx, rdi
je 0x140024690
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140024660
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400246a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14002dc40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400246c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400246c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400246c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14002471d
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 0x140024714
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400246c0
add rax, 0x28
cmp rax, r9
jne 0x140024700
xor eax, eax
ret

Function at 0x140024720
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002dc40]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14002473f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140024748
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14002473f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140024760
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14002dc40]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140024780
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140024788
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140024780
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400247d0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400247c7
test rcx, rcx
je 0x140024780
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400247b8
xor eax, eax
ret

Function at 0x1400247e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002dc40]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400247ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140024808
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140024820
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14002dc40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140024840
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140024848
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140024840
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140024840
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140024894
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400248a0
add rdx, 0x28
cmp r9, rdx
jne 0x140024880
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400248b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14002dc40]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400248d2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400248e0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400248d2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400248d2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400248d2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140024935
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140024948
add rdx, 0x28
cmp rdx, r10
jne 0x140024920
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140024957
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140024967
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14002493e
test ecx, ecx
jg 0x140024950
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14007f0f0
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x14007f362
mov rsi, rcx
mov byte [rsp + 0x37], 0xaa
lea r14, [rcx + 0x718]
lea rbx, [rcx + 8]
mov edi, 1
xor ebp, ebp
mov r15, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov r12d, 0x40
mov rcx, rbx
call r15
test al, al
jne 0x14007f172
jmp 0x14007f341
pause
dec eax
jne 0x14007f151
add ebp, edi
add edi, edi
cmp edi, 0x40
cmovge edi, r12d
cmp ebp, 0x3e8
jl 0x14007f142
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [r14]
mov rdi, qword [rax]
test rdi, rdi
je 0x14007f318
mov byte [rsp + 0x37], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007f19e
mov rdx, rcx
not rdx
cmp qword [rdi + 8], rdx
jne 0x14007f365
bswap rcx
mov qword [rax], rcx
inc word [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm6, xmm6
movups xmmword [rdi + 0x2d8], xmm6
movups xmmword [rdi + 0x2c8], xmm6
movups xmmword [rdi + 0x2b8], xmm6
movups xmmword [rdi + 0x2a8], xmm6
movups xmmword [rdi + 0x298], xmm6
mov qword [rdi + 0x2e8], 0
xor r14d, r14d
mov r8d, 0x291
add al, byte [rax]
add byte [rax - 0x77], cl
stc
xor edx, edx
call fcn.14009fa40
mov qword [rdi + 0x2f0], rsi
movups xmmword [rdi + 0x2f8], xmm6
mov ebp, 1
lea rbx, [0x140161348]
mov r12d, 0x40
mov rcx, rbx
call r15
test al, al
jne 0x14007f24b
jmp 0x14007f350
pause
dec eax
jne 0x14007f224
add r14d, ebp
add ebp, ebp
cmp ebp, 0x40
cmovge ebp, r12d
cmp r14d, 0x3e8
jl 0x14007f215
lea rcx, [0x140161348]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov qword [rdi + 0x300], 0
mov rax, qword [0x140161350]
mov qword [0x140161350], rdi
mov qword [rdi + 0x2f8], rax
test rax, rax
je 0x14007f277
mov qword [rax + 0x300], rdi
lea rcx, [0x140161348]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
add rsi, 0x10
mov eax, 0xa
jmp 0x14007f2a7
mov dword [rdi + rax - 2], 0
add rax, 0x10
add rsi, 0x28
cmp rax, 0x29a
je 0x14007f2e5
cmp qword [rsi], 0
je 0x14007f28f
mov ecx, dword [rsi + 0x18]
cmp ecx, 0x10000
jae 0x14007f35f
mov word [rdi + rax], cx
cmp ecx, 0x80
jbe 0x14007f2d7
cmp ecx, 0x100
ja 0x14007f2de
mov byte [rdi + rax - 1], 0x40
jmp 0x14007f297
mov byte [rdi + rax - 1], 0x80
jmp 0x14007f297
mov byte [rdi + rax - 1], 0x20
jmp 0x14007f297
mov ecx, dword [0x140169500]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009d180
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rsp + 0x37]
mov qword [rsp + 0x20], rax
mov r9d, 0x308
mov rcx, r14
mov rdx, rsi
mov r8d, 2
call fcn.140061300
mov rdi, rax
jmp 0x14007f1a8
mov eax, edi
test edi, edi
jg 0x14007f151
jmp 0x14007f159
mov eax, ebp
test ebp, ebp
jg 0x14007f224
jmp 0x14007f22d
int3
int3
call 0x1400c8770
int3
Function at 0x140004d69
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140004dc8
mov ecx, eax
add rsp, 0x28
jmp sub.KERNEL32.dll_TlsGetValue

Function at 0x140004d9c
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140004dc8
mov ecx, eax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x140004dc8
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, dword [rcx + 0x18]
test edi, edi
je 0x140004de2
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rsi, rcx
cmp qword [rcx], 0
je 0x140004e52
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x140004e99
cmp dword [rsp + 0x2c], 0
je 0x140004e81
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140004e89
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400120a0]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400120a0], rsi
jne 0x140004e2d
mov byte [0x140012098], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140004dd8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140004e99
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x140004dd8
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x140004dd8
mov edi, dword [rsi + 0x18]
jmp 0x140004dd6
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2

Function at 0x14000b600
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14000c490
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000c490
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000b670
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140012124]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000b800
mov rax, qword [0x140012128]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000b6bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000b745
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000b6a0
mov rcx, rdi
call fcn.14000c1d0
test rax, rax
mov r12, rax
je 0x14000b852
mov rax, qword [0x140012128]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000c310
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140012128]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b835
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000b73e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000b7b0
add dword [0x140012124], 1
cmp ebx, 8
jae 0x14000b771
test bl, 4
jne 0x14000b810
test ebx, ebx
je 0x14000b766
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000b824
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000b766
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000b78a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140012128]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b73e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b600
xor esi, esi
jmp 0x14000b6c7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000b766
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000b766
mov rax, qword [0x140012128]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000b600
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000b600
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000be20
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140012180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140012160]
test rbx, rbx
je 0x14000be74
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000be6b
test rsi, rsi
je 0x14000be6b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000be50
lea rcx, [0x140012180]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000c1d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14000f580]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000c23f
mov rcx, r9
call fcn.14000c0a0
test eax, eax
je 0x14000c23f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000c23d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000c234
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000c23f
add rdx, 0x28
cmp rdx, r9
jne 0x14000c220
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140015000
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 0x140011267
Capabilities:
Capture network configuration via ipconfig
Execute command

Disassembly:
jmp 0x140011820
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400210fb]
call fcn.140011366
xor eax, eax
cmp eax, 1
je 0x14001189d
lea rax, str.ipconfig__renew
mov qword [rbp + 8], rax
lea rax, str.ipconfig__flushdns
mov qword [rbp + 0x28], rax
lea rax, [0x140019be0]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x64], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0xa4], eax
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001183b
xor eax, eax
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012d10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012d30
xor al, al
jmp 0x140012db1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012d43
xor al, al
jmp 0x140012db1
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 0x140012d6d
xor al, al
jmp 0x140012db1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012d81
xor al, al
jmp 0x140012db1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012d93
xor al, al
jmp 0x140012db1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012daf
xor al, al
jmp 0x140012db1
mov al, 1
add rsp, 0x38
ret