joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140126400
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [fcn.140127d60]
mov rbx, rax
test rax, rax
jne 0x140126445
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x140126490
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1401264f2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1401264b0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x140126533
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1401d9ea1]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401d9ea2]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140126500
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret

Function at 0x140127c70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140127c98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140127c98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14014b198
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1401da110]
mov rbp, rcx
call fcn.14001fb40
xor edi, edi
test rax, rax
je 0x14014b27e
mov ebx, edi
call fcn.140017c68
mov r14d, dword [rax]
call fcn.140017c68
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14016a534
mov rsi, rax
test rax, rax
je 0x14014b20f
call fcn.140017c68
mov dword [rax], r14d
jmp 0x14014b239
call fcn.140017c68
cmp dword [rax], 0x22
jne 0x14014b276
call fcn.140017c68
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14016a534
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14014b276
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14014b23d
cmp rax, 3
je 0x14014b258
mov rcx, rsi
call fcn.14014b0e0
test al, al
je 0x14014b269
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14014b269
mov dil, 1
mov rcx, rbx
call fcn.140127d68
mov al, dil
jmp 0x14014b280
mov rcx, rbx
call fcn.140127d68
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401276a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14014d7d8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140127b00
sub rsp, rax
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140028618
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14014d827
mov rax, rbp
jmp 0x14014d92f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x2114f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002bfe4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2114f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14014d92b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14014d92b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002bfe4
test rax, rax
js 0x14014d92b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14014d92b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14014d91d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14014d91d
cmp byte [rcx], 0xd
jne 0x14014d903
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14014d912
cmp byte [rcx + 1], 0xa
jne 0x14014d912
inc rcx
jmp 0x14014d912
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x20c240]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14014d8e5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14014d92f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401276a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14016c834
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002bfec
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002bfec
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14016c984
cmp rax, 0xffffffffffffffff
je 0x14016c984
xor edi, edi
test rbp, rbp
jle 0x14016c92f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140014568
mov rbx, rax
test rax, rax
jne 0x14016c8bc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14016c925
mov edx, 0x8000
mov ecx, r14d
call fcn.14000f304
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400294d4
cmp eax, 0xffffffff
je 0x14016c905
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14016c8cc
mov edx, r15d
mov ecx, r14d
call fcn.14000f304
jmp 0x14016c925
cmp byte [rsi + 0x38], dil
je 0x14016c91c
cmp dword [rsi + 0x34], 5
jne 0x14016c91c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14016c925
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140013d30
jmp 0x14016c998
jns 0x14016c998
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002bfec
cmp rax, 0xffffffffffffffff
jne 0x14016c950
cmp byte [rsi + 0x30], dil
je 0x14016c998
mov edi, dword [rsi + 0x2c]
jmp 0x14016c998
mov ecx, r14d
call fcn.140018b98
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14016c998
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14016c998
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14016c991
mov eax, dword [rsi + 0x2c]
jmp 0x14016c996
mov eax, SafeArrayPutElement
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002bfec
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14016db78
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14016db8e
mov al, 1
jmp 0x14016dbee
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14016db9f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14016dbec
mov ecx, dword [rcx + 0x18]
nop
call fcn.140018b98
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14016dbec
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14016dbec
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14016dbec
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14016dbee
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140171720
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14017176a
call fcn.140017c48
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.140017c68
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140015f48
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401276a0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140171775
lea eax, [rbx + 1]
jmp 0x140171757
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140171755
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140171757

Function at 0x140173dbc
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov edx, 8
mov rcx, qword [0x140210620]
mov r8d, 0x258
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x140213ec0]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x140213ee0], rdi
or eax, 0xffffffff
and dword [rdi + 0x11c], 0
mov edx, ebx
mov rcx, rdi
mov dword [rdi + 0x120], eax
mov dword [rdi + 0x124], eax
mov dword [rdi + 0x118], 0xffffff
mov dword [rdi + 0xe8], 2
mov dword [rdi + 0xec], 0x3f
call fcn.14017773c
mov rbx, qword [rsp + 0x30]
lea rax, [0x140175048]
mov qword [rdi + 0xb0], rax
lea rax, [0x1401750ac]
mov qword [rdi + 0xb8], rax
lea rax, [fcn.140174a50]
mov qword [rdi + 0x20], rax
lea rax, [0x1401747cc]
mov qword [rdi + 0x60], rax
lea rax, [0x140175160]
mov qword [rdi + 0xc8], rax
lea rax, [0x140175100]
mov qword [rdi + 0xc0], rax
lea rax, [0x140174328]
mov qword [rdi + 0x68], rax
lea rax, [0x1401742cc]
mov qword [rdi + 0x48], rax
lea rax, [0x1401742f8]
mov qword [rdi + 0x50], rax
lea rax, [0x140174160]
mov qword [rdi + 0x58], rax
lea rax, [0x140174e10]
mov qword [rdi + 0x88], rax
lea rax, [0x140173eec]
mov qword [rdi + 0xd0], rax
lea rax, [0x14017540c]
mov qword [rdi + 0xd8], rax
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14017bb50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
mov r10d, dword [rsp + 0x60]
mov r14d, r8d
movsxd rbx, dword [rcx + 0x160]
mov r15, rdx
mov r11, rcx
test r10d, r10d
je 0x14017bc10
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
shl eax, 2
movsxd r12, eax
mov eax, ebx
imul eax, r9d
movsxd r13, eax
mov ebp, ecx
mov eax, r14d
imul eax, ecx
movsxd rdx, eax
mov eax, r8d
imul eax, dword [r11 + 0x158]
add rdx, r12
add rdx, r15
movsxd rcx, eax
add rcx, qword [r11 + 0x150]
add rcx, r13
cmp dword [rsp + 0x58], 0
jle 0x14017bbf5
mov r9d, dword [rsp + 0x58]
mov al, byte [rdx + 2]
xor byte [rcx + 2], al
mov al, byte [rdx + 1]
xor byte [rcx + 1], al
mov al, byte [rdx]
lea rdx, [rdx + 4]
xor byte [rcx], al
add rcx, rbx
sub r9, 1
jne 0x14017bbd8
mov eax, dword [r11 + 0x174]
inc r8d
neg eax
sbb ecx, ecx
and ecx, 2
dec ecx
add ecx, ebp
sub r10d, 1
jne 0x14017bba3
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
pop r15
pop r14
pop r13
ret

Function at 0x14017c9d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
mov r11d, dword [rsp + 0x60]
mov r14d, r8d
movsxd rdi, dword [rcx + 0x160]
mov r15, rdx
mov rbx, rcx
test r11d, r11d
je 0x14017ca8f
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
lea r10d, [rax + rax*2]
mov eax, edi
imul eax, r9d
movsxd r12, r10d
movsxd r13, eax
mov ebp, ecx
mov eax, r14d
imul eax, ecx
movsxd rdx, eax
mov eax, r8d
imul eax, dword [rbx + 0x158]
add rdx, r12
add rdx, r15
movsxd rcx, eax
add rcx, qword [rbx + 0x150]
add rcx, r13
cmp dword [rsp + 0x58], 0
jle 0x14017ca75
mov r9d, dword [rsp + 0x58]
mov al, byte [rdx + 2]
xor byte [rcx + 2], al
mov al, byte [rdx + 1]
xor byte [rcx + 1], al
mov al, byte [rdx]
lea rdx, [rdx + 3]
xor byte [rcx], al
add rcx, rdi
sub r9, 1
jne 0x14017ca58
mov eax, dword [rbx + 0x174]
inc r8d
neg eax
sbb ecx, ecx
and ecx, 2
dec ecx
add ecx, ebp
sub r11d, 1
jne 0x14017ca24
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
pop r15
pop r14
pop r13
ret
Function at 0x140001000
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x2268
call fcn.140001350
sub rsp, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x28]
mov edx, 0x2000
lea rcx, [rsp + 0x260]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x14000106d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____EnumProcesses_Failed_With_Error_:__d__n
call fcn.140001270
xor eax, eax
jmp 0x1400011a8
mov eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, str._i__Number_Of_Processes_Detected_:__d__n
call fcn.140001270
mov dword [rsp + 0x20], 0
jmp 0x1400010a3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jae 0x1400011a3
movsxd rax, dword [rsp + 0x20]
cmp dword [rsp + rax*4 + 0x260], 0
je 0x14000119e
movsxd rax, dword [rsp + 0x20]
mov r8d, dword [rsp + rax*4 + 0x260]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000119e
lea r9, [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
jne 0x140001130
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rcx, dword [rsp + 0x20]
mov r8d, eax
mov edx, dword [rsp + rcx*4 + 0x260]
lea rcx, str.____EnumProcessModules_Failed___At_Pid:__d___With_Error_:__d__n
call fcn.140001270
jmp 0x140001193
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
jne 0x140001171
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rcx, dword [rsp + 0x20]
mov r8d, eax
mov edx, dword [rsp + rcx*4 + 0x260]
lea rcx, str.____GetModuleBaseName_Failed___At_Pid:__d___With_Error_:__d__n
call fcn.140001270
jmp 0x140001193
movsxd rax, dword [rsp + 0x20]
mov r9d, dword [rsp + rax*4 + 0x260]
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x20]
lea rcx, str.__0.3d__Process___s____Of_Pid_:__d__n
call fcn.1400012c8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001099
mov eax, 1
add rsp, 0x2268
ret

Function at 0x140001ad8
Capabilities:
Parse pe header

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

Disassembly:
call fcn.1408ef1df
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 0x1408ef089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408ef06f
add dl, dl
jne 0x1408ef096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408ef0f6
xor eax, eax
add dl, dl
jne 0x1408ef0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408ef1ad
add dl, dl
jne 0x1408ef0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ef0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ef0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ef0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408ef0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408ef07e
mov eax, 1
add dl, dl
jne 0x1408ef106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408ef113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408ef0fb
sub eax, ebx
mov ebx, 1
jne 0x1408ef14c
mov ecx, 1
add dl, dl
jne 0x1408ef12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408ef13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408ef123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408ef07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408ef168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408ef175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408ef15d
cmp eax, 0x7d00
jae 0x1408ef19b
cmp eax, 0x500
jb 0x1408ef196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408ef07e
cmp eax, 0x7f
ja 0x1408ef19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408ef07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408ef1d2
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 0x1408ef07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x140019570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x70
mov rbp, qword [0x14021c450]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
mov r14, rbp
movaps xmmword [rsp + 0x50], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm2
lea rax, [rbp + 8]
cmp rax, rcx
je 0x1400195c7
mov r8d, 0x58e
lea rdx, str.C:UsersYoguiDesktopTab_rebrandimgui.cpp
lea rcx, str.g.IO__this___Can_only_add_events_to_current_context._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [0x14021c450]
cmp byte [rbx + 0x37a1], 0
je 0x140019771
movss xmm1, dword [0x1400dc6c4]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140019614
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x14001960d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x14001960b
je 0x14001960d
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140019639
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140019632
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140019630
je 0x140019632
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x14001968f
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x140019672
mov r8d, 0x6fe
lea rdx, str.C:UsersYoguiDesktopTab_rebrandimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x37c8]
cmp dword [rbx + rax], 1
je 0x140019719
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x140019650
movsd xmm0, qword [r14 + 0xdfc]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x1400196ce
jne 0x1400196ce
ucomiss xmm1, xmm7
jp 0x1400196ce
je 0x140019771
lea rbx, [r14 + 0x37c0]
movss dword [rsp + 0x38], xmm6
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
movss dword [rsp + 0x3c], xmm7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
cmp ecx, r8d
jne 0x14001974f
inc ecx
test r8d, r8d
je 0x14001973b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140019740
movss xmm0, dword [rbx + rax + 8]
movss xmm1, dword [rbx + rax + 0xc]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x1400196a3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140034ed0
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
ret
Function at 0x14001c7c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [0x14021c450]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x14001c819
cmp byte [rbx + 0x4a5e], 0
jne 0x14001c819
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400231f0
test sil, 1
je 0x14001c94a
jmp 0x14001c8b2
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400dc688]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400dc678]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x47a8], 1
mov qword [rbx + 0x47c0], rax
movss dword [rbx + 0x47b8], xmm0
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mov rax, qword [0x14021c450]
mulss xmm0, dword [0x1400dc62c]
or dword [rax + 0x47a8], 0x40
movss dword [rax + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b5a]
call fcn.1400231f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001c902
lea r11, [0x1400d6390]
cmp r9b, 0x23
jne 0x14001c8e5
cmp byte [r8], r9b
jne 0x14001c8e5
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 0x14001c8d2
not ecx
call fcn.140021980
test rax, rax
je 0x14001c94a
cmp byte [rax + 0xae], 0
je 0x14001c94a
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5a]
call fcn.1400231f0
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140019c60
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret