joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010920
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400109a5
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x1400109e6
cmp dword [rsp + 0x2c], 0
je 0x1400109ca
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400109fe
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1406d30f0]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1406d30f0], rsi
jne 0x140010980
mov byte [0x1406d30e8], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1400109dc
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140010a48
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400109cf
mov edi, dword [rsp + 0x28]
jmp 0x1400109dc
mov edi, dword [rsi + 0x18]
jmp 0x1400109da
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140010e90
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140002980
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140010ee0
int3
Function at 0x140010d70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x140010e47
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140010da4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140010da4
add rdi, 0x10
jmp 0x140010e3d
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x140010e5a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140010e3b
mov rsi, rax
test rax, rax
jne 0x140010e0a
movzx eax, byte [0x1406d3040]
mov ecx, 0x18
call fcn.14002e720
test rax, rax
je 0x140010e7d
mov rsi, rax
lea rax, [0x140034080]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x140010e6d
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x140010e3d
test rcx, rcx
je 0x140010e3d
lock dec qword [rcx]
jne 0x140010e3d
call fcn.1400108d0
jmp 0x140010e3d
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140034080]
call fcn.140010920
mov ecx, eax
jmp 0x140010d86
lea rcx, [0x140034080]
call fcn.140010920
mov ecx, eax
jmp 0x140010db4
lea rcx, [0x140034080]
call fcn.140010920
mov ecx, eax
jmp 0x140010e02
mov ecx, 8
mov edx, 0x18
call fcn.1400022d0
int3
Function at 0x1400120a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140034078]
test ecx, ecx
je 0x140012158
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400120d0
cmp qword [rax + 8], 0
je 0x1400120d0
add rax, 0x10
jmp 0x140012152
mov ecx, dword [0x140034078]
test ecx, ecx
je 0x14001216b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140012150
mov rsi, rax
test rax, rax
jne 0x140012136
movzx eax, byte [0x1406d3040]
mov ecx, 0x20
call fcn.14002e720
test rax, rax
je 0x14001218e
mov rsi, rax
lea rax, [0x140034060]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140034078]
test ecx, ecx
je 0x14001217e
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x140012152
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140034060]
call fcn.140010920
mov ecx, eax
jmp 0x1400120b5
lea rcx, [0x140034060]
call fcn.140010920
mov ecx, eax
jmp 0x1400120e0
lea rcx, [0x140034060]
call fcn.140010920
mov ecx, eax
jmp 0x14001212e
mov ecx, 8
mov edx, 0x20
call fcn.1400022d0
int3

Function at 0x140014890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
test al, al
setne r8b
cmp r9b, 1
ja 0x140014904
test al, al
jne 0x1400148e9
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x1400148e9
mov r10, qword [rdx]
mov rax, qword [rdx + 8]
xor r11d, r11d
test r9b, r9b
jne 0x1400148e0
cmp sil, 6
je 0x1400148e0
mov r11d, 2
cmp rax, 2
jb 0x140014aed
cmp r11, rax
jne 0x140014a37
xor eax, eax
xor r8d, r8d
xor eax, eax
xor r10d, r10d
add rax, r10
lea rsi, [r10 + r11]
inc rsi
cmp rsi, rax
sete al
movzx r10d, byte [r10 + r11]
Function at 0x140033160
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 fcn.140033f20
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.140033f20
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 0x1400331d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1406d3184]
mov rbx, rcx
test esi, esi
jle 0x140033300
mov rax, qword [0x1406d3188]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14003321b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400332a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140033200
mov rcx, rbx
call fcn.140033c40
mov rdi, rax
test rax, rax
je 0x140033322
mov rax, qword [0x1406d3188]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140033d80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1406d3188]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140033307
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14003329e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400332b0
add dword [0x1406d3184], 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 [0x1406d3188]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14003329e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140033160
nop dword [rax]
xor esi, esi
jmp 0x140033228
mov rax, qword [0x1406d3188]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140033160
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140033160
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400338b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1406d31e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1406d31c0]
test rbx, rbx
je 0x14003390c
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 rsi, rsi
je 0x140033903
test eax, eax
jne 0x140033903
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400338e8
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 0x140033c40
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140033cc0
Capabilities:
Parse pe header

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

Function at 0x140033d80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1406ce660]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140033d9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140033da8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x1400054f0]
mov dword [rax], 1
mov rax, qword [0x140005500]
mov dword [rax], 1
mov rax, qword [0x1400054a0]
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 0x140001da0
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002a72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x140002b0a
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x140002aee
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 0x140002ae2
cmp qword [rbp - 0x10], 0
je 0x140002ae2
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 0x140002aa8
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002b0b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140002cf0
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0xf0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rdx, rcx
lea r8, [r11 + 0x10]
lea rcx, [0x140025700]
call qword [sym.imp.USER32.dll_wvsprintfW]
lea rcx, [0x140025700]
call fcn.140002610
xor ebx, ebx
lea r8, [rsp + 0x50]
lea rdx, str.Softwareheloword
mov qword [rsp + 0x50], rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x50]
lea rax, [0x140008c78]
mov dword [rsp + 0x28], ebx
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140025700]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xorps xmm0, xmm0
mov dword [rsp + 0x60], 0x68
xor eax, eax
lea r8, [0x140025700]
lea rdx, str.cmd__c__s
mov dword [rsp + 0xc4], eax
lea rcx, [0x140024f30]
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0xd0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [0x140024f30]
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400054d0
add rsp, 0xf0
pop rbx
ret
Function at 0x140005300
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
lea rdi, [rsp + 0x20]
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005357
lea rcx, [0x140009550]
call fcn.140002fe0
xor eax, eax
jmp 0x1400053ee
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000538a
lea rcx, str.Process32First
call fcn.140002fe0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400053ee
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400053e1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400053d4
nop
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400053e1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400053b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400053ee
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400054d0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret

Function at 0x140006014
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000605e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000605e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000605e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000605e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000605e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006060
xor al, al
add rsp, 0x28
ret
Function at 0x4323d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x4323dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x4323ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x4323d5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x432405
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x4323f2
sub eax, 3
jb 0x43241f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x432456
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x432446
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x432444
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x432433
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.00432392
jmp 0x4323dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xee00
mov dl, 6
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x4324a2
cmp rsi, rcx
jae 0x4324aa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x432489
cmp al, 0x8f
ja 0x432489
cmp byte [rsi - 2], 0xf
je 0x43248f
sub al, 0xe8
cmp al, 1
ja 0x432473
cmp rsi, rcx
jae 0x4324aa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x432479
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x4324aa
lodsb al, byte [rsi]
jmp 0x432489
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x30000]
mov eax, dword [rdi]
or eax, eax
je 0x432507
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x41440]
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 0x4324b7
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 0x432501
mov qword [rbx], rax
add rbx, 8
jmp 0x4324d7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x1af]
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
mov byte [fcn.0043258a], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0043258a
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x43257a
sub rsp, 0xffffffffffffff80
jmp 0x4014d0
Function at 0x140083560
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14008356d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14008357d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140083565
lea eax, [rcx + 1]
jmp 0x14008358b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14008359e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140083584
sub eax, 3
jb 0x1400835be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14008360d
sar eax, 1
movsxd rbp, eax
jb 0x1400835f4
jmp 0x1400835cc
add ebx, ebx
jne 0x1400835ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400835f4
inc ecx
add ebx, ebx
jne 0x1400835da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400835f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400835ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400835dc
add ecx, 2
jmp 0x1400835f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140083522
jmp 0x14008356d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28600
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140083659
cmp rsi, rcx
jae 0x140083661
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140083640
cmp al, 0x8f
ja 0x140083640
cmp byte [rsi - 2], 0xf
je 0x140083646
sub al, 0xe8
cmp al, 1
ja 0x14008362a
cmp rsi, rcx
jae 0x140083661
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140083630
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140083661
lodsb al, byte [rsi]
jmp 0x140083640
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x81000]
mov eax, dword [rdi]
or eax, eax
je 0x1400836be
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8d308]
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 0x14008366e
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 0x1400836b8
mov qword [rbx], rax
add rbx, 8
jmp 0x14008368e
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 0x1400836f8
cmp al, 0xef
ja 0x1400836ea
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400836ca
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400836d9
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 0x14008374c
sub rsp, 0xffffffffffffff80
jmp 0x140016820
Function at 0x1400011b0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov ecx, Ordinal_26
call fcn.140181aec
mov r14, rax
mov dword [rax], edi
mov qword [rax + 8], rbx
lea rax, [0x1400012f0]
mov qword [r14 + 0x10], rax
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x1400017c0]
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x140001250
cmp dword [rdi], 0
je 0x140001264
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140001272
mov qword [rsi], 0
mov dword [rsi + 8], 0
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov qword [rbp - 0x10], rdi
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov qword [rbp - 0x10], rdi
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x1400013b0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov edi, edx
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140181aec
mov rbx, rax
mov dword [rax], edi
lea rax, [0x1400014e0]
mov qword [rbx + 8], rax
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140001820]
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x140001444
cmp dword [rdi], 0
je 0x140001458
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140001466
mov qword [rsi], 0
mov dword [rsi + 8], 0
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 8], rbx
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov qword [rbp - 8], rdi
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov qword [rbp - 8], rdi
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3