joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jp 0x14003f6cd
mov esi, 0x77f7eb71
sti
ficomp dword [rcx - 0x31]
xchg ecx, eax
push rbp
invalid
rcr dword [0x1808d9479], 1
shl byte [rsp + rdx*8], 1
invalid
fst st(1)
invalid
push rax
push rsp
invalid
enter 0x57fb, 0xfffffffffffffff8
invalid
cmp ebp, dword [rdx + rcx*8 - 0x16b22376]
out dx, eax
in al, dx
sti
mov ch, ah
add byte [rsi + 0x75], ch
outsb dx, byte [rsi]
jne 0x14003f6d2
jmp 0xc8ffe3c7
outsb dx, byte [rsi]
jne 0x14003f6d2
add eax, 0x63a5564
invalid
mov esi, 0x825bacb5
movabs al, byte [0xd2002aa6b8e368f5]
jrcxz 0x14003f6ac
cmpsb byte [rsi], byte [rdi]
sub al, byte [rax]
rol byte [rax - 0x2647c2c7], cl
invalid
invalid
xchg esp, eax
sbb ecx, ebx
invalid
jrcxz 0x14003f6ac
cmpsb byte [rsi], byte [rdi]
sub al, byte [rax]
rol byte [rax - 0x2647c2c7], cl
invalid
cdq
xchg ebx, eax
test eax, 0x7443aa18
fnsave dword [0xd2acd005]
invalid
test al, 0x92
xchg edx, eax
xchg edx, eax
and dword [rsi - 0xa6940b5], esi
scasb al, byte [rdi]
and dh, bh
scasb al, byte [rdi]
out dx, eax
xchg edi, eax
adc eax, 0xe1ab2b06
and bl, dl
invalid

Function at 0x14000727c
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x140007342
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007306
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007303
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020640]
mov rdx, rsi
call fcn.1400123b8
jmp 0x140007306
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072d3
mov rdx, qword [0x14001f118]
lea rcx, [0x140020640]
mov rdi, rdx
inc rdx
mov qword [0x14001f118], rdx
lea edx, [rbx + 0x20]
call fcn.140012400
lea rcx, [0x140021210]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1400010b9
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rcx
movsxd rdi, dword [rcx + 0x3c]
add rdi, rcx
mov eax, 0
cmp dword [rdi], 0x4550
jne 0x14000117d
mov qword [rsp + 0x38], 0
mov eax, dword [rdi + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x103000
lea r9, [rsp + 0x30]
mov r8d, 0
mov rcx, 0xffffffffffffffff
mov r10d, 0x99ce7c55
call fcn.14000183a
call rax
mov edx, eax
mov eax, 0
test edx, edx
js 0x14000117d
mov r8d, dword [rdi + 0x54]
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call fcn.140001057
movzx eax, word [rdi + 0x14]
lea rbx, [rdi + rax + 0x18]
cmp word [rdi + 6], 0
je 0x140001178
mov esi, 0
mov ecx, dword [rbx + 0xc]
add rcx, qword [rsp + 0x38]
mov edx, dword [rbx + 0x14]
add rdx, rbp
mov r8d, dword [rbx + 0x10]
call fcn.140001057
add esi, 1
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp eax, esi
jg 0x140001152
mov rax, qword [rsp + 0x38]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1400013ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x258
mov rbx, rcx
mov r13d, edx
mov ebp, r8d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov esi, dword [rax + 0x88]
add rsi, rcx
mov eax, dword [rax + 0x8c]
mov dword [rsp + 0x2c], eax
mov r12d, dword [rsi + 0x20]
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x24]
mov eax, dword [rsi + 0x18]
test eax, eax
je 0x1400015d2
mov eax, eax
mov qword [rsp + 0x20], rax
mov edi, 0
add r12, rcx
mov ecx, dword [r12 + rdi*4]
add rcx, rbx
mov edx, 0
call fcn.140001067
cmp ebp, edi
je 0x140001479
cmp eax, r13d
je 0x140001479
add rdi, 1
cmp qword [rsp + 0x20], rdi
jne 0x14000144a
mov eax, 0
jmp 0x1400015a6
lea rax, [rbx + rdi*2]
movzx eax, word [rax + r15]
lea rax, [rbx + rax*4]
mov eax, dword [rax + r14]
add rbx, rax
cmp rbx, rsi
jb 0x1400015a3
mov eax, dword [rsp + 0x2c]
add rsi, rax
cmp rbx, rsi
jae 0x1400015a3
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rdi, [rsp + 0x40]
mov eax, 0
mov ecx, 0x1e
rep stosq qword [rdi], rax
mov dword [rdi], 0
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x148], 0
lea rdi, [rsp + 0x150]
mov ecx, 0x1e
rep stosq qword [rdi], rax
mov dword [rdi], 0
cmp byte [rbx], 0x2e
je 0x1400015ba
mov eax, 1
mov r8, rax
add rax, 1
cmp byte [rbx + rax - 1], 0x2e
jne 0x14000150c
mov esi, r8d
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140001057
lea ecx, [rsi + 1]
movsxd rcx, ecx
add rcx, rbx
cmp byte [rcx], 0
je 0x1400015ca
mov eax, 1
movsxd rdx, esi
add rdx, rbx
mov r8, rax
add rax, 1
cmp byte [rdx + rax], 0
jne 0x140001547
lea rax, [rsp + 0x140]
mov rdx, rcx
mov rcx, rax
call fcn.140001057
lea rcx, [rsp + 0x30]
call fcn.140001186
mov rbx, rax
mov eax, 0
test rbx, rbx
je 0x1400015a6
lea rcx, [rsp + 0x140]
mov edx, 0
call fcn.140001067
mov edx, eax
mov r8d, 0xffffffff
mov rcx, rbx
call fcn.1400013ee
mov rbx, rax
mov rax, rbx
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 0
mov r8d, 0
jmp 0x14000151d
mov r8d, 0
jmp 0x140001554
mov eax, 0
jmp 0x1400015a6
Function at 0x14000162f
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, rcx
movsxd rdi, dword [rcx + 0x3c]
add rdi, rcx
movzx eax, word [rdi + 0x14]
lea rbx, [rdi + rax + 0x18]
mov qword [rsp + 0x48], 0
cmp word [rdi + 6], 0
je 0x1400016c9
mov esi, 0
mov r12d, 0
lea r14, [rsp + 0x40]
lea r13, [rsp + 0x48]
jmp 0x140001799
mov ecx, 1
and eax, 0x60000000
mov r8d, 1
cmp eax, 0x60000000
mov r9d, 0x20
mov eax, pe_nt_image_headers64
cmovne r9d, eax
jmp 0x14000172f
mov r9d, 0x20
jmp 0x14000173f
mov eax, 0
jmp 0x1400016ba
mov eax, 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, 1
jmp 0x1400016ba
mov ecx, 1
mov r8d, r12d
mov r9d, 0x10
jmp 0x14000171f
mov ecx, r12d
test eax, 0x20000000
je 0x14000171c
mov ecx, 0
test eax, eax
js 0x14000167f
mov ecx, eax
shr ecx, 0x1f
mov r8d, ecx
mov ecx, r12d
mov r9d, 0x10
jmp 0x14000171f
test eax, 0x20000000
jne 0x14000167a
mov ecx, 1
mov r9d, 4
mov r8d, r12d
and eax, 0x60000000
cmp eax, 0x60000000
je 0x1400016a3
test cl, cl
je 0x14000173f
test r8b, r8b
mov eax, 0x40
cmovne r9d, eax
mov eax, dword [rdx + 0xc]
add rax, rbp
mov qword [rsp + 0x48], rax
mov eax, dword [rdx + 0x10]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r8, r14
mov rdx, r13
mov rcx, 0xffffffffffffffff
mov r10d, 0x6ede4d41
call fcn.14000183a
call rax
test eax, eax
js 0x1400016ae
add esi, 1
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp eax, esi
jle 0x1400016b5
mov rdx, rbx
mov eax, dword [rbx + 0x24]
test eax, eax
je 0x140001786
mov r9d, eax
sar r9d, 0x1f
and r9d, 0xffffffc8
add r9d, 0x40
test eax, 0x40000000
je 0x1400016e0
test eax, eax
js 0x140001706
test eax, 0x20000000
jne 0x1400016d0
mov ecx, 1
mov r9d, 2
jmp 0x14000171c

Function at 0x14000183a
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov r9d, 0
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14000186d
sub al, 0x20
crc32 r9d, al
loop 0x140001863
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400018ef
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400018ef
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400018ee
mov r9, qword [rsp + 8]
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
crc32 r9d, al
cmp al, ah
jne 0x1400018b4
cmp r9d, r10d
jne 0x1400018a3
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
ret
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140001851
Function at 0x140003030
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.1401df3d0
sub rsp, rax
mov rax, qword [0x1405edab8]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000306f
imul rax, rax, 0x64
jmp 0x14000308d
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov edx, 1
nop dword [rax]
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x24], ecx
inc rdx
cmp rdx, 0x270
jb 0x1400030b0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.1400118c0
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x140003105
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400118c0
mov ecx, eax
lea rax, [rcx + rcx*4]
cmp eax, 1
jb 0x1400030f0
shr rax, 0x20
test eax, eax
je 0x140003149
sub eax, 1
je 0x140003140
sub eax, 1
je 0x140003137
sub eax, 1
je 0x14000312e
cmp eax, 1
je 0x140003125
xor eax, eax
jmp 0x140003150
lea rax, [0x14043e078]
jmp 0x140003150
lea rax, [0x14043e098]
jmp 0x140003150
lea rax, [0x14043e048]
jmp 0x140003150
lea rax, [0x14043e068]
jmp 0x140003150
lea rax, [0x14043e018]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1401de760
add rsp, 0x13c0
pop rbx
ret
Function at 0x140003ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x1405edab8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rcx + 0x50]
movabs rax, 0x6666666666666667
mov rbx, qword [rcx + 0x48]
mov rdx, rsi
sub rdx, rbx
mov rbp, rcx
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140003f3c
xor al, al
jmp 0x140003fe9
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r14
cmp rbx, rsi
je 0x140003fc0
xor r14d, r14d
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov rcx, qword [rbx]
mov r8d, 0x40
mov dword [rsp + 0x38], r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000401a
mov ecx, dword [rbx + 8]
call fcn.1400038e0
mov rdi, rax
test rax, rax
je 0x140003f9d
mov r8d, dword [rbx + 8]
mov rdx, rax
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003ffe
add rbx, 0x28
cmp rbx, rsi
jne 0x140003f51
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
je 0x140003fda
call fcn.140010180
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x50], rax
mov rdi, qword [rsp + 0x78]
mov al, 1
mov r14, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401de760
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.140001570
lea rdx, [0x14045dc60]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
call fcn.140001680
lea rdx, [0x14045d9e8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140005820
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x3a0
mov rax, qword [0x1405edab8]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x40], 0x348
xor ebx, ebx
xor edx, edx
xor r9d, r9d
lea r8, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x140005937
test byte [rsp + 0x184], 1
je 0x1400058d0
lea rdx, [rsp + 0x84]
lea rcx, [rsp + 0x20]
call fcn.14000ef60
nop
cmp qword [rsp + 0x30], 0
je 0x140005892
lea rcx, [rsp + 0x20]
call fcn.140004fa0
test al, al
jne 0x1400058d9
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400058d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005930
call fcn.1401dec98
inc ebx
mov edx, ebx
jmp 0x140005847
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140005917
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005930
call fcn.1401dec98
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1401de760
add rsp, 0x3a0
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0x66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400067c0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1405edab8]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140005820
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140006818
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14000682c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401de760
add rsp, 0x68
ret
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
xor edx, edx
xor eax, eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140006812
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401de760
add rsp, 0x68
ret
Function at 0x140011710
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140011741
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1405f20c8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1405f20d8]
lea rdx, [rdi + rdi]
call fcn.14000fd70
mov rax, qword [0x1405f20c8]
lea r9, [rdi - 1]
mov qword [0x1405f20f0], r9
mov qword [0x1405f20f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400118b4
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1405f20d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140011800
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140011875
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001183d
mov r10, qword [rdx]
cmp r10, rax
je 0x140011837
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140011875
cmp r9, rdx
je 0x140011851
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140011889
cmp r9, rdx
jne 0x140011842
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400118af
mov r9, qword [0x1405f20f0]
jmp 0x1400117b1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140011875
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400118c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140011921
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400118e0
mov ecx, dword [r9]
jmp 0x140011a08
cmp ecx, 0x4e0
jb 0x140011a08
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140011940
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140011990
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14001b850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x14001b8a3
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x14001b897
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x14001b881
test rdi, rdi
jne 0x14001b8cf
xor eax, eax
jmp 0x14001b952
mov rdx, rcx
test r8, r8
je 0x14001b897
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14001b8ca
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x14001b8b0
jmp 0x14001b897
mov ecx, reloc.WS2_32.dll_recvfrom
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14001b94a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14001b939
cmp dword [rbx + 0x14], ebp
jne 0x14001b939
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14001b92a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001b941
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14001b911
test rbx, rbx
je 0x14001b94a
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d0e0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov eax, dword [0x1405f2104]
mov rbx, rcx
test eax, eax
jne 0x14001d159
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov edx, eax
shr edx, 1
or edx, eax
mov eax, edx
shr eax, 2
or eax, edx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [0x1405f2110], eax
mov eax, dword [rsp + 0x48]
mov dword [0x1405f2114], eax
mov eax, 1
xchg dword [0x1405f2104], eax
mov r13d, dword [0x1405f2110]
lea rax, [0x14043e750]
test rbx, rbx
cmovne rax, rbx
mov r12d, dword [rax]
mov r14d, dword [rax + 4]
mov esi, dword [rax + 8]
mov r15d, dword [rax + 0xc]
mov eax, r12d
shr rax, 1
and eax, 1
lea rbp, [rax*2 + 1]
lea eax, [r14 - 0x10000]
cmp eax, 0xfff0000
ja 0x14001d1a4
lea eax, [r14 - 1]
test r14d, eax
je 0x14001d1ab
mov r14d, dword [0x1405f2114]
lea eax, [rsi - 0x40]
cmp eax, 0xc0
ja 0x14001d1bc
lea eax, [rsi - 1]
test esi, eax
je 0x14001d1c1
mov esi, 0x40
mov eax, 0xcccccccc
bt r12d, 0x1c
cmovae r15d, eax
imul rcx, rbp, 0x38
add rcx, 0x60
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14001d26f
xorps xmm0, xmm0
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
lea rbx, [rax + 0x60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x40], r9
lea rax, [rbx + 0x10]
mov qword [rdi + 0x48], r9
mov r8d, r9d
mov qword [rdi + 0x58], rbp
mov dword [rdi], r12d
mov dword [rdi + 4], r14d
mov dword [rdi + 8], esi
mov dword [rdi + 0xc], r15d
mov dword [rdi + 0x38], r13d
nop dword [rax]
mov qword [rax - 0x10], r9
mov rcx, r8
mov qword [rax - 8], r9
mov edx, esi
shl edx, cl
inc r8
mov qword [rax], r9
mov dword [rax + 8], r9d
mov word [rax + 0xc], dx
mov byte [rax + 0xf], r9b
mov qword [rax + 0x10], r9
mov qword [rax + 0x18], r9
mov qword [rax + 0x20], r9
lea rax, [rax + 0x38]
bsf ecx, edx
mov byte [rax - 0x2a], cl
cmp r8, rbp
jb 0x14001d230
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret