joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14129e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14129e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14129e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14129e06f
add dl, dl
jne 0x14129e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14129e0f6
xor eax, eax
add dl, dl
jne 0x14129e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14129e1ad
add dl, dl
jne 0x14129e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14129e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14129e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14129e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14129e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14129e07e
mov eax, 1
add dl, dl
jne 0x14129e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14129e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14129e0fb
sub eax, ebx
mov ebx, 1
jne 0x14129e14c
mov ecx, 1
add dl, dl
jne 0x14129e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14129e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14129e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14129e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14129e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14129e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14129e15d
cmp eax, 0x7d00
jae 0x14129e19b
cmp eax, 0x500
jb 0x14129e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14129e07e
cmp eax, 0x7f
ja 0x14129e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14129e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14129e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14129e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140060720
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14006077d
lea rbx, [0x140362bd0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140060764
cmp r10, 2
jb 0x140060764
cmp byte [r9], r8b
jne 0x140060764
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140060740
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400607bf
lea rbx, [0x140362bd0]
cmp r8b, 0x23
jne 0x1400607a3
cmp byte [r9], r8b
jne 0x1400607a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140060790
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140060970
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14006099e
mov r8d, 0x78d
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.cpp
lea rcx, str.filename__mode
call fcn.14028ff68
test rsi, rsi
je 0x1400609aa
mov qword [rsi], 0
lea rdx, [0x1403623f8]
mov rcx, rbx
call fcn.1400607d0
mov rbx, rax
test rax, rax
jne 0x1400609cc
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.140282420
mov ebp, eax
cmp eax, 0xffffffff
je 0x140060aac
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140282f70
test eax, eax
jne 0x140060aac
mov rcx, rbx
call fcn.140282420
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140060aac
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.140282f70
test eax, eax
jne 0x140060aac
cmp rdi, 0xffffffffffffffff
je 0x140060aac
mov rax, qword [0x140521770]
test rax, rax
je 0x140060a40
inc dword [rax + 0xf4]
mov rdx, qword [0x140521760]
mov rcx, rdi
call fcn.14005f8b0
mov rbp, rax
test rax, rax
je 0x140060aac
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14028a0fc
mov rcx, rbx
cmp rax, rdi
je 0x140060a9a
call fcn.140282bbc
mov rax, qword [0x140521770]
test rax, rax
je 0x140060a89
dec dword [rax + 0xf4]
mov rdx, qword [0x140521760]
mov rcx, rbp
call fcn.14005f8c0
jmp 0x140060ab4
call fcn.140282bbc
test rsi, rsi
je 0x140060aa7
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140060ab6
mov rcx, rbx
call fcn.140282bbc
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140063e50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0xe8]
mov rbx, rcx
movsxd rdi, edx
test eax, eax
jg 0x140063e8d
mov r8d, 0x7b0
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.h
lea rcx, str.Size___0
call fcn.14028ff68
mov eax, dword [rbx + 0xe8]
movsxd rcx, eax
lea rdx, [0x140362bd0]
mov rax, qword [rbx + 0xf0]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x140521770]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140063f07
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140079bd0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400730b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1403a05a0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140521770]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140073111
cmp byte [rbx + 0x4a5e], 0
jne 0x140073111
movsx r9d, word [rbx + 0x5b5e]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400605b0
test dil, 1
je 0x140073238
jmp 0x14007319a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14036e114]
xor eax, eax
mulss xmm1, dword [0x14036e0f8]
addss xmm0, dword [rbx + 0xdfc]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x14036e05c]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b5e]
call fcn.1400605b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400731f0
lea r11, [0x140362bd0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400731d3
cmp byte [r8], r9b
jne 0x1400731d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400731c0
not ecx
call fcn.1400684c0
test rax, rax
je 0x140073238
cmp byte [rax + 0xae], 0
je 0x140073238
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5e]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5e]
call fcn.1400605b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14006af50
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140270e60
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140078980
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x140521770]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x1400789e4
lea r10, [0x140362bd0]
cmp r8b, 0x23
jne 0x1400789c7
cmp byte [rdx], r8b
jne 0x1400789c7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1400789b4
mov eax, dword [r14 + 0x5bb8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x140078a44
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x140078a0a
cmp edi, eax
jl 0x140078a23
mov r8d, 0x797
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.h
lea rcx, str.i___0__i___Size
call fcn.14028ff68
mov rdx, qword [r14 + 0x5bc0]
cmp dword [rdx + rbp + 8], ebx
je 0x140078a61
mov eax, dword [r14 + 0x5bb8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x140078a01
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x140078a6e
cmp edi, dword [r14 + 0x5bb8]
jl 0x140078a8e
mov r8d, 0x797
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.h
lea rcx, str.i___0__i___Size
call fcn.14028ff68
mov rdx, qword [r14 + 0x5bc0]
movsxd rax, edi
lea rcx, [rax + rax*8]
lea rax, [rdx + rcx*8]
jmp 0x140078a46
Function at 0x1400920d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.14006eb80
cmp byte [rax], 0
je 0x140092164
xor edx, edx
mov ecx, 0x210
call fcn.1400713e0
test al, al
je 0x140092164
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140092164
mov rbx, qword [0x140521770]
test rbx, rbx
jne 0x140092133
mov r8d, 0xfe1
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.14028ff68
mov rbx, qword [0x140521770]
cmp byte [rbx + 0x37a9], 0
je 0x140092150
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.14005fdf0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.14006eb80
cmp byte [rax], 0
je 0x1400921f2
xor edx, edx
mov ecx, 0x214
call fcn.1400713e0
test al, al
je 0x1400921f2
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400921f2
mov rbx, qword [0x140521770]
test rbx, rbx
jne 0x1400921c1
mov r8d, 0xfe1
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.14028ff68
mov rbx, qword [0x140521770]
cmp byte [rbx + 0x37a9], 0
je 0x1400921de
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.14005fdf0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.14006eb80
cmp byte [rax], 0
je 0x140092280
xor edx, edx
mov ecx, 0x212
call fcn.1400713e0
test al, al
je 0x140092280
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140092280
mov rbx, qword [0x140521770]
test rbx, rbx
jne 0x14009224f
mov r8d, 0xfe1
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.14028ff68
mov rbx, qword [0x140521770]
cmp byte [rbx + 0x37a9], 0
je 0x14009226c
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.14005fdf0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.14006eb80
cmp byte [rax], 0
je 0x14009230e
xor edx, edx
mov ecx, 0x216
call fcn.1400713e0
test al, al
je 0x14009230e
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14009230e
mov rbx, qword [0x140521770]
test rbx, rbx
jne 0x1400922dd
mov r8d, 0xfe1
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.14028ff68
mov rbx, qword [0x140521770]
cmp byte [rbx + 0x37a9], 0
je 0x1400922fa
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.14005fdf0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1400a8150
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1403a05a0]
xor rax, rsp
mov qword [rbp + 0x180], rax
test rcx, rcx
je 0x1400a819a
cmp byte [rcx], 0x77
jne 0x1400a819a
cmp byte [rcx + 1], 0
jne 0x1400a819a
mov dil, 1
jmp 0x1400a819d
xor dil, dil
movzx ecx, dil
call fcn.1400a7e50
test al, al
je 0x1400a834e
lea rax, [0x140522270]
lea rsi, [0x140522258]
test dil, dil
cmovne rsi, rax
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400a8200
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400bbb40
nop
lea rax, str.error_sound.wav
lea rdx, str.notification_sound.wav
test dil, dil
cmovne rdx, rax
nop
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400a8230
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.1400b9fd0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400a82aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a82a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a8380
call fcn.1402711ec
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea r8, [0x14036a408]
lea rcx, [rsp + 0x20]
call fcn.140289e1c
test eax, eax
jne 0x1400a8310
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rcx
mov r9, qword [rsp + 0x20]
lea edx, [rax + 1]
call fcn.140289be4
mov rcx, qword [rsp + 0x20]
call fcn.140282bbc
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
xor edx, edx
mov r8d, 0x20003
call qword [sym.imp.WINMM.dll_PlaySoundW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400a834e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a8349
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a837a
call fcn.1402711ec
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140270e60
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140290dbc
int3
call fcn.140290dbc
int3
Function at 0x1400abd50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x4a], 0
je 0x1400abd73
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x53]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x49
jb 0x1400abd60
mov byte [rdx + 0x4a], 0
lea rcx, [0x140520200]
call fcn.1400bcda0
lea rax, [0x140520200]
add rsp, 0x28
ret
Function at 0x1400ad750
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x34], 0
je 0x1400ad773
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x53]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x33
jb 0x1400ad760
mov byte [rdx + 0x34], 0
lea rcx, [0x140520200]
call fcn.1400bcda0
lea rax, [0x140520200]
add rsp, 0x28
ret
Function at 0x1400affc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1450
call fcn.140271a80
sub rsp, rax
mov rax, qword [0x1403a05a0]
xor rax, rsp
mov qword [rsp + 0x1440], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
movaps xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movaps xmmword [rsp + 0x13c0], xmm0
movaps xmm1, xmmword [0x14036a6f0]
movaps xmmword [rsp + 0x13d0], xmm1
movaps xmm0, xmmword [0x14036a700]
movaps xmmword [rsp + 0x13e0], xmm0
movaps xmm1, xmmword [0x14036a710]
movaps xmmword [rsp + 0x13f0], xmm1
movaps xmm0, xmmword [0x14036a720]
movaps xmmword [rsp + 0x1400], xmm0
movaps xmm1, xmmword [0x14036a730]
movaps xmmword [rsp + 0x1410], xmm1
movaps xmm0, xmmword [0x14036a740]
movaps xmmword [rsp + 0x1420], xmm0
movsd xmm1, qword [0x14036a750]
movsd qword [rsp + 0x1430], xmm1
mov eax, dword [0x14036a758]
mov dword [rsp + 0x1438], eax
movzx eax, word [0x14036a75c]
mov word [rsp + 0x143c], ax
call fcn.140272b48
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
lea eax, [rsi + 1]
nop word [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x34], edx
inc rax
cmp rax, 0x270
jb 0x1400b00b0
mov dword [rsp + 0x30], 0x270
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov dword [rsp + 0x20], 1
mov edi, reloc.WS2_32.dll_sendto
mov edx, edi
mov rcx, rbx
call fcn.1400bdb50
mov qword [rbx + 0x10], rsi
lea rcx, [rsp + 0x30]
call fcn.1400c6cd0
mov ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
cmp eax, 0x4210842
jae 0x1400b0103
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
movsxd rax, ecx
movzx r9d, word [rsp + rax*2 + 0x13c0]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400b0178
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400b016c
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x1400b0180
mov rcx, rbx
call fcn.1400bdcc0
sub rdi, 1
jne 0x1400b0103
mov rax, rbx
mov rcx, qword [rsp + 0x1440]
xor rcx, rsp
call fcn.140270e60
lea r11, [rsp + 0x1450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400b8540
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
cmp byte [rcx + 0x41], dl
je 0x1400b8574
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 0x53]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x40
jb 0x1400b8560
mov byte [rcx + 0x41], dl
lea rax, [rcx + 0x40]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
cmp rcx, rax
je 0x1400b859f
mov rdx, rcx
mov r8d, 0x40
mov rcx, rbx
call fcn.1400a22c0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400b85b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
cmp byte [rcx + 0xb], dl
je 0x1400b85e4
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 0x53]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0xa
jb 0x1400b85d0
mov byte [rcx + 0xb], dl
lea rax, [rcx + 0xa]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
cmp rcx, rax
je 0x1400b860f
mov rdx, rcx
mov r8d, 0xa
mov rcx, rbx
call fcn.1400a22c0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400b8620
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
cmp byte [rcx + 7], dl
je 0x1400b8654
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 0x53]
xor byte [r8 + rcx], al
inc r8
cmp r8, 6
jb 0x1400b8640
mov byte [rcx + 7], dl
lea rax, [rcx + 6]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
cmp rcx, rax
je 0x1400b867f
mov rdx, rcx
mov r8d, 6
mov rcx, rbx
call fcn.1400a22c0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400b88e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
cmp byte [rcx + 4], dl
je 0x1400b8914
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 0x53]
xor byte [r8 + rcx], al
inc r8
cmp r8, 3
jb 0x1400b8900
mov byte [rcx + 4], dl
lea rax, [rcx + 3]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
cmp rcx, rax
je 0x1400b893f
mov rdx, rcx
mov r8d, 3
mov rcx, rbx
call fcn.1400a22c0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400c6cd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400c6d31
lea r8, [r10 + 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 r9, 1
jne 0x1400c6cf0
mov ecx, dword [r10]
jmp 0x1400c6e1a
cmp ecx, 0x4e0
jb 0x1400c6e1a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400c6d50
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400c6da0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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 0x1400feed0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1403a05a0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400fef3c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14011e560
jmp 0x1400ff01a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400fef6c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14011e560
jmp 0x1400ff01a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400fef90
cmp ecx, 1
je 0x1400fef7f
mov ebx, r14d
call fcn.1400ffa00
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400fef95
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1403624dc]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14010f870
lea rcx, [rsp + 0x58]
call fcn.1400fed60
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400ff660
test al, al
je 0x1400ff009
mov dword [r15], 1
jmp 0x1400ff018
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.14010b860
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140270e60
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400feed0