joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006320
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400064a2
mov dword [rsp + 0x60], 0x238
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14000b8c0
nop
lea r14, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r14, r8
lea rcx, [rsp + 0x40]
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
lea r15, [rcx + rax*2]
lea rbx, [rsp + 0x40]
cmovae rbx, r8
cmp rbx, r15
je 0x1400063d4
sub r14, rbx
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x1400063bd
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000648e
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x20]
call fcn.14000b7b0
nop
lea r14, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
setae r8b
mov rdx, qword [rsp + 0x20]
cmovae r14, rdx
lea rcx, [rsp + 0x20]
test r8b, r8b
cmovne rcx, rdx
mov rax, qword [rsp + 0x30]
lea r15, [rcx + rax*2]
lea rbx, [rsp + 0x20]
cmovne rbx, rdx
cmp rbx, r15
je 0x14000644e
sub r14, rbx
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x140006437
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000b6d4
cmp rax, 0xffffffffffffffff
jne 0x140006480
lea rcx, [rsp + 0x20]
call fcn.14000c01c
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x1400063e2
mov edi, dword [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.14000c01c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call fcn.14000c01c
mov eax, edi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1401dc200
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400064f4
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.1400056cc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor ebx, ebx
test eax, eax
jne 0x140006531
xor eax, eax
jmp 0x1400065a3
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 0x140006556
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000652d
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rbx
mov r9d, reloc.WS2_32.dll_recv
xor edx, edx
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140006596
mov ebx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401dc200
add rsp, 0x60
pop rbx
ret
Function at 0x14000df4c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401dc230
movups xmm0, xmmword [rbx]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000f318]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14000dfc3
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401dc200
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14000dfd4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401dc230
movups xmm0, xmmword [rbx]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000f434]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14000e04b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401dc200
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000e8ec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x14000e914
mov rax, qword [0x1405ef120]
and rax, r15
add rax, rax
mov rcx, qword [0x1405ef108]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x1405ef0f8]
cmp rbx, rbp
jne 0x14000e97f
mov rbx, rbp
mov rsi, rbp
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x1405ef100], rax
jne 0x14000e9be
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x14000e991
cmp rbx, rdx
je 0x14000e9b4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14000e988
mov rbp, qword [rbx]
mov rsi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x14000e95e
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14000eb1a
mov rbp, rbx
xor eax, eax
mov rsi, rbx
jmp 0x14000e9a2
lea rax, [0x1405ef0f8]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.1401dc230
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
mov r8, qword [0x1405ef100]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14000ea04
cvtsi2ss xmm0, rcx
jmp 0x14000ea19
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1405ef128]
xorps xmm1, xmm1
test rcx, rcx
js 0x14000ea2f
cvtsi2ss xmm1, rcx
jmp 0x14000ea44
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1405ef0f0]
seta al
test al, al
je 0x14000eab1
call fcn.14000ed28
mov rcx, qword [0x1405ef120]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1405ef108]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1405ef0f8]
cmp rax, rbx
je 0x14000ea9d
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x14000ea95
mov rbx, rax
cmp rax, r8
je 0x14000eaf4
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14000ea89
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rsi, rbx
mov rbp, qword [rsp + 0x20]
mov r8, qword [0x1405ef100]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x1405ef100], r8
mov qword [rdi], rbp
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x1405ef120]
and rax, r15
add rax, rax
mov rcx, qword [0x1405ef108]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1405ef0f8]
jne 0x14000eafb
mov qword [rcx + rax*8], rdi
jmp 0x14000eb0d
mov qword [rsp + 0x20], rax
jmp 0x14000eaa2
cmp r8, rsi
jne 0x14000eb06
mov qword [rcx + rax*8], rdi
jmp 0x14000eb12
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14000eb12
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000ed28
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x1405ef100]
xorps xmm0, xmm0
add rcx, 1
js 0x14000ed49
cvtsi2ss xmm0, rcx
jmp 0x14000ed5e
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1405ef0f0]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x14044ae28]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14000ed90
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14000ed90
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1405ef128]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x14000edc5
cmp rdx, 0x200
jae 0x14000edc2
shl rdx, 3
cmp rdx, rcx
jae 0x14000edc5
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x14000edee
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x1405ef0f8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1405ef108]
lea rdx, [rdi + rdi]
call fcn.14000c0dc
mov rax, qword [0x1405ef0f8]
lea r9, [rdi - 1]
mov qword [0x1405ef120], r9
mov qword [0x1405ef128], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14000ef3c
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x14000ee56
mov rdi, qword [0x1405ef108]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x14000ee94
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14000ef02
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x14000eed7
mov r10, qword [r10]
cmp r10, rax
je 0x14000ee8d
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 0x14000ee8d
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x14000ef16
cmp qword [rdi + r11*8], r10
jne 0x14000eecd
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x14000ef3c
mov r9, qword [0x1405ef120]
jmp 0x14000ee46
mov r10, qword [r10]
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 0x14000ef02
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.14000ef58
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000f014
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000f078
lea r8, [r9 + 8]
mov r11d, 0x7fffffff
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r11d
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 0x14000f038
mov ecx, dword [r9]
jmp 0x14000f151
cmp ecx, 0x4e0
jb 0x14000f151
lea r10, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [r10]
mov r11d, 0x7fffffff
mov eax, edi
mov edi, dword [r10 + 4]
mov edx, edi
lea r10, [r10 + 4]
xor edx, eax
and edx, r11d
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 rsi, 1
jne 0x14000f099
lea r10, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [r10]
mov eax, edi
mov edi, dword [r10 + 4]
mov edx, edi
lea r10, [r10 + 4]
xor edx, eax
and edx, r11d
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 rsi, 1
jne 0x14000f0e1
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r11d
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 rsi, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
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
ret
Function at 0x14000f198
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x14000f259
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r15, 0xcbf29ce484222325
mov r14, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r15, rax
imul r15, rdx
cmp rcx, 4
jb 0x14000f1f0
and r15, qword [r12 + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.1401dc738
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x14000f27a
cmp rdi, rsi
jne 0x14000f222
cmp qword [rsp + 0x30], r13
jne 0x14000f252
mov qword [rbp + r15*8], rdi
mov qword [r14], rdi
mov qword [rdi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x14000f290
mov r13, qword [rsp + 0x20]
mov qword [rbp + r15*8], r13
mov rax, r13
jmp 0x14000f293
mov rax, r14
mov qword [rbp + r15*8 + 8], rax
cmp rdi, rsi
je 0x14000f252
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rdx + 0x10]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, 4
jb 0x14000f2b3
mov r15, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.1401dc738
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x14000f30c
cmp rdi, rsi
je 0x14000f24d
jmp 0x14000f2e2
mov qword [rbp + r15*8], r13
mov qword [rbp + r15*8 + 8], r13
jmp 0x14000f298
Function at 0x1400192f0
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 0x140019343
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x140019337
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140019321
test rdi, rdi
jne 0x14001936f
xor eax, eax
jmp 0x1400193f2
mov rdx, rcx
test r8, r8
je 0x140019337
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14001936a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x140019350
jmp 0x140019337
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 0x1400193ea
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x1400193d9
cmp dword [rbx + 0x14], ebp
jne 0x1400193d9
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x1400193ca
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400193e1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400193b1
test rbx, rbx
je 0x1400193ea
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 0x14001ab80
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 [0x1405ef134]
mov rbx, rcx
test eax, eax
jne 0x14001abf9
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 [0x1405ef140], eax
mov eax, dword [rsp + 0x48]
mov dword [0x1405ef144], eax
mov eax, 1
xchg dword [0x1405ef134], eax
mov r13d, dword [0x1405ef140]
lea rax, [0x14043b780]
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 0x14001ac44
lea eax, [r14 - 1]
test r14d, eax
je 0x14001ac4b
mov r14d, dword [0x1405ef144]
lea eax, [rsi - 0x40]
cmp eax, 0xc0
ja 0x14001ac5c
lea eax, [rsi - 1]
test esi, eax
je 0x14001ac61
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 0x14001ad0f
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 0x14001acd0
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
Function at 0x14001ad30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, word [r8 + 0x1c]
lea r15, [r9 - 1]
mov r14, rcx
add r15, rax
movzx ecx, byte [r8 + 0x1e]
mov rbp, r9
shr r15, cl
mov ecx, 0x68
lea r12d, [r15 + 0x3f]
shr r12d, 6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xorps xmm0, xmm0
mov edi, 1
mov rbx, rax
movups xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x14001aeae
mov ecx, r12d
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x14001aea5
test byte [r14], dil
je 0x14001add5
lea r8d, [rdi + 6]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call sym.ConsoleApplication1.exe_unsigned_int___cdecl_asmjit::_abi_1_10::VirtMem::allocDualMapping_struct_asmjit::_abi_1_10::VirtMem::DualMapping____ptr64__unsigned_long_long_unsigned___int64___enum_asmjit::_abi_1_10::VirtMem::MemoryFlags_
mov rdx, qword [rsp + 0x28]
mov edi, eax
mov r13d, 4
jmp 0x14001ae0c
test rbp, rbp
jne 0x14001addf
lea edi, [rbp + 2]
jmp 0x14001ae02
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001ae02
mov qword [rsp + 0x20], rax
xor edi, edi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test edi, edi
jne 0x14001ae9c
mov eax, dword [r14]
shr eax, 2
test al, 1
je 0x14001ae33
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x14001ae33
mov eax, dword [r14 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov r8d, r12d
xor edx, edx
shl r8, 4
mov rcx, rsi
call fcn.1401dd2b6
mov rax, qword [rsp + 0x80]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x20]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + r12*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r15d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r15d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r15d
mov qword [rbx + 0x58], rsi
jmp 0x14001aeb0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret