joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d8b9e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8db5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8b9ff8
mov rax, qword [0x6d8db5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8b9ebc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8b9f45
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8b9ea0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8ba02d
mov rax, qword [0x6d8db5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8db5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8ba010
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8b9f3e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8b9fa0
add dword [0x6d8db5e4], 1
cmp edi, 8
jae 0x6d8b9f73
test dil, 4
jne 0x6d8b9fe4
test edi, edi
je 0x6d8b9f68
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8b9fff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8b9f68
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8b9f8c
jmp 0x6d8b9f68
add rsi, qword [0x6d8db5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8b9f3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8b9f68
xor esi, esi
jmp 0x6d8b9ec7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8b9f68
mov rax, qword [0x6d8db5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8ba780
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8db8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8db8a0]
test rbx, rbx
je 0x6d8ba7d4
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 0x6d8ba7cb
test rsi, rsi
je 0x6d8ba7cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8ba7b0
lea rcx, [0x6d8db8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8baa10
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8baa20
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8baa30
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8baa71
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8baa68
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8baa73
add rax, 0x28
cmp rax, r9
jne 0x6d8baa54
xor eax, eax
ret

Function at 0x6d8bab10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8d81f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8bab7d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8bab7d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8bab7d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8bab74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8bab7f
add rax, 0x28
cmp rax, r9
jne 0x6d8bab60
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8bac80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8d81f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8baca0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8bac98
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8bacfd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8bacf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8bad04
add rax, 0x28
cmp rax, r9
jne 0x6d8bace0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8bad20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8d81f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8bad8e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8bad8e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8bad8e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8bad8e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8bad85
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8bad95
add rcx, 0x28
cmp rcx, rax
jne 0x6d8bad70
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8bada8
jmp 0x6d8bad8e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8badb6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8bad8e
test r9d, r9d
jg 0x6d8bada0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8bb120
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 sym.__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 sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140003030
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140204330
sub rsp, rax
mov rax, qword [0x140612ab8]
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.140036810
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x140003105
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.140036810
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, [0x140462fb8]
jmp 0x140003150
lea rax, [0x140462fd8]
jmp 0x140003150
lea rax, [0x140462f88]
jmp 0x140003150
lea rax, [0x140462fa8]
jmp 0x140003150
lea rax, [0x140462f58]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1402036b0
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 [0x140612ab8]
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.140034f90
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.1402036b0
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.140001570
lea rdx, [0x140482d40]
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, [0x140482ac8]
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 [0x140612ab8]
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.140033d70
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.140203be8
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.140203be8
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1402036b0
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 [0x140612ab8]
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.1402036b0
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.1402036b0
add rsp, 0x68
ret
Function at 0x140036660
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 0x140036691
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 [0x1406170c8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1406170d8]
lea rdx, [rdi + rdi]
call fcn.140034b80
mov rax, qword [0x1406170c8]
lea r9, [rdi - 1]
mov qword [0x1406170f0], r9
mov qword [0x1406170f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140036804
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 [0x1406170d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140036750
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400367c5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003678d
mov r10, qword [rdx]
cmp r10, rax
je 0x140036787
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 0x1400367c5
cmp r9, rdx
je 0x1400367a1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400367d9
cmp r9, rdx
jne 0x140036792
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 0x1400367ff
mov r9, qword [0x1406170f0]
jmp 0x140036701
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 0x1400367c5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140036810
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 0x140036871
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 0x140036830
mov ecx, dword [r9]
jmp 0x140036958
cmp ecx, 0x4e0
jb 0x140036958
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 0x140036890
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 0x1400368e0
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 0x1400407a0
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 0x1400407f3
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x1400407e7
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x1400407d1
test rdi, rdi
jne 0x14004081f
xor eax, eax
jmp 0x1400408a2
mov rdx, rcx
test r8, r8
je 0x1400407e7
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14004081a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x140040800
jmp 0x1400407e7
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 0x14004089a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140040889
cmp dword [rbx + 0x14], ebp
jne 0x140040889
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14004087a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140040891
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140040861
test rbx, rbx
je 0x14004089a
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 0x140042030
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 [0x140617104]
mov rbx, rcx
test eax, eax
jne 0x1400420a9
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 [0x140617110], eax
mov eax, dword [rsp + 0x48]
mov dword [0x140617114], eax
mov eax, 1
xchg dword [0x140617104], eax
mov r13d, dword [0x140617110]
lea rax, [0x140463690]
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 0x1400420f4
lea eax, [r14 - 1]
test r14d, eax
je 0x1400420fb
mov r14d, dword [0x140617114]
lea eax, [rsi - 0x40]
cmp eax, 0xc0
ja 0x14004210c
lea eax, [rsi - 1]
test esi, eax
je 0x140042111
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 0x1400421bf
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 0x140042180
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 0x1400421e0
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 0x14004235e
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 0x140042355
test byte [r14], dil
je 0x140042285
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 0x1400422bc
test rbp, rbp
jne 0x14004228f
lea edi, [rbp + 2]
jmp 0x1400422b2
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400422b2
mov qword [rsp + 0x20], rax
xor edi, edi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test edi, edi
jne 0x14004234c
mov eax, dword [r14]
shr eax, 2
test al, 1
je 0x1400422e3
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x1400422e3
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.140204776
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 0x140042360
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