joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2a20
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400b2bc8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400b2a85
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400b2a85
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400b2a85
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400b2abc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400b2b12
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400b2b12
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400b2b12
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400b2b12
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400b2b12
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400b24d0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400b2b74
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14008ec30
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400b28a0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400b2bc0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14008ec30
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400b4330
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400f5080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400b43c5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400b4426
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14008ec30
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400c7440
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400b44e1
sub ecx, 1
je 0x1400b4554
sub ecx, 1
je 0x1400b4490
cmp ecx, 1
je 0x1400b4473
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400dc4f0]
call fcn.14008ec30
jmp 0x1400b4554
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400b4060
test eax, eax
je 0x1400b4554
jmp 0x1400b43fa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400b4554
sub rax, rsi
cmp rax, rbp
jae 0x1400b4554
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14008edb0
jmp 0x1400b4554
cmp r8d, 4
jle 0x1400b4554
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400b4554
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14008eb50
mov esi, eax
test eax, eax
je 0x1400b4533
mov edx, 5
mov rcx, rbx
call fcn.1400b5020
mov eax, esi
jmp 0x1400b43fa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14009d450
mov rcx, r14
call fcn.14009d730
test eax, eax
je 0x1400b43f8
mov edx, 5
mov rcx, rbx
call fcn.1400b5020
mov eax, Ordinal_46
jmp 0x1400b43fa
Function at 0x1400c72f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400c7332
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400c7379
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400c73d2
mov rsi, rbp
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 [rdi + 8]
call qword [rbx + 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 [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400c7390
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400c7413
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400db472]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400db473]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400c73e0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400c83ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c83f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c83f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c83f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c83f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c83f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c83f8
xor al, al
add rsp, 0x28
ret
Function at 0x1400c85f8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c867c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400c867c
dec r8
sub rdx, 1
jne 0x1400c8662
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400032a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400f6080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400f7458]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f7910]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f7518]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f7908]
call qword [sym.imp.USER32.dll_DestroyWindow]
movups xmm0, xmmword [0x1400c2bf8]
movzx eax, byte [0x1400c2c18]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm1, xmmword [0x1400c2c08]
mov byte [rsp + 0x50], al
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
jl 0x1400034a1
movdqa xmm0, xmmword [0x1400e6f70]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1400e6ef0]
mov eax, 5
movdqa xmm4, xmmword [0x1400e72e0]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1400e6f10]
movd xmm6, eax
mov eax, Ordinal_35
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm8
movd xmm8, eax
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400e6f50]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e6f50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140003380
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x21
jge 0x1400034df
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x21
jl 0x1400034b0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0x98
ret
Function at 0x1400042e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
sub rsp, 0x78
cmp byte [0x1400f7593], 0
je 0x140004567
mov qword [rax + 0x10], rbx
lea rcx, str.radar
mov qword [rax + 0x18], rbp
xor edx, edx
mov qword [rax + 0x20], rsi
mov r8d, 0x209f
mov qword [rax - 8], rdi
mov qword [rax - 0x10], r14
mov qword [rax - 0x18], r15
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
call fcn.140020910
mov rcx, qword [0x1400f75b0]
movd xmm0, dword [rsp + 0x80]
movss xmm7, dword [0x1400e6cb4]
cvtdq2ps xmm0, xmm0
mov rax, qword [rcx + 0x3e88]
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x30], 0x3f800000
mov dword [rsp + 0x34], 0x3f800000
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3e88]
movss dword [rsp + 0x80], xmm0
mov dword [rsp + 0x38], 0x3f800000
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3e88]
movss xmm6, dword [rcx + 0x37d8]
lea rcx, [rsp + 0x30]
movaps xmm0, xmm6
mulss xmm0, dword [0x1400e6c80]
mov rdi, qword [rax + 0x280]
movss dword [rsp + 0x3c], xmm0
call fcn.140016c20
movaps xmm0, xmm6
mov dword [rsp + 0x30], 0x3f800000
mulss xmm0, dword [0x1400e6ca0]
lea rcx, [rsp + 0x30]
mov r14d, eax
mov dword [rsp + 0x34], 0x3f400000
mov dword [rsp + 0x38], 0x3e800000
movss dword [rsp + 0x3c], xmm0
call fcn.140016c20
lea rcx, [rsp + 0x30]
movss dword [rsp + 0x3c], xmm6
mov ebp, eax
mov dword [rsp + 0x30], 0x3f666666
mov dword [rsp + 0x34], 0x3f666666
mov dword [rsp + 0x38], 0x3f666666
call fcn.140016c20
movss xmm6, dword [0x1400e6d64]
mov r15d, eax
test eax, 0xff000000
je 0x140004486
movss xmm2, dword [0x1400e6d84]
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x28], listen
xorps xmm3, xmm3
mov rcx, rdi
movss dword [rsp + 0x20], xmm6
call fcn.140035de0
mov r8d, dword [rdi + 0x78]
mov r9d, r15d
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], 1
call fcn.140034420
mov dword [rdi + 0x78], 0
mov r15, qword [rsp + 0x60]
test r14d, 0xff000000
je 0x1400044e8
movss xmm2, dword [0x1400e6d84]
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x28], listen
xorps xmm3, xmm3
mov rcx, rdi
movss dword [rsp + 0x20], xmm6
call fcn.140035de0
mov r8d, dword [rdi + 0x78]
mov r9d, r14d
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], 1
call fcn.140034420
mov dword [rdi + 0x78], 0
movaps xmm7, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x68]
test ebp, 0xff000000
je 0x140004540
movss xmm2, dword [0x1400e6d68]
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x28], listen
xorps xmm3, xmm3
mov rcx, rdi
movss dword [rsp + 0x20], xmm6
call fcn.140035de0
mov r8d, dword [rdi + 0x78]
mov r9d, ebp
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.140035320
mov dword [rdi + 0x78], 0
call fcn.140022cb0
movaps xmm6, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
add rsp, 0x78
ret
Function at 0x14000d580
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x98
add rcx, 0x310
call fcn.140013dd0
mov r8d, dword [0x1400f7904]
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140002640
movups xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x40]
movsd xmm1, qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
call fcn.140002e20
movsd xmm1, qword [rsp + 0x28]
xorps xmm0, xmm0
ucomisd xmm1, xmm0
jp 0x14000d5e1
je 0x14000d7c4
mov eax, dword [0x1400f7594]
xorps xmm3, xmm3
cdq
mov qword [rsp + 0x90], rbx
sub eax, edx
movaps xmmword [rsp + 0x80], xmm6
sar eax, 1
xorps xmm2, xmm2
movaps xmmword [rsp + 0x70], xmm7
xorps xmm7, xmm7
movaps xmmword [rsp + 0x60], xmm8
movsd xmm8, qword [rsp + 0x20]
movd xmm5, eax
mov eax, dword [0x1400f7528]
cdq
sub eax, edx
sar eax, 1
cvtpd2ps xmm8, xmm8
movd xmm4, eax
ucomiss xmm8, xmm3
cvtdq2ps xmm4, xmm4
cvtpd2ps xmm6, xmm1
cvtdq2ps xmm5, xmm5
jp 0x14000d641
je 0x14000d689
comiss xmm8, xmm5
jbe 0x14000d66c
movaps xmm2, xmm5
movaps xmm0, xmm5
subss xmm2, xmm8
addss xmm0, xmm5
xorps xmm2, xmmword [0x1400e72d0]
movaps xmm1, xmm2
addss xmm1, xmm5
comiss xmm1, xmm0
jbe 0x14000d66c
xorps xmm2, xmm2
comiss xmm5, xmm8
jbe 0x14000d689
movaps xmm2, xmm8
subss xmm2, xmm5
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm3, xmm0
jbe 0x14000d689
xorps xmm2, xmm2
ucomiss xmm6, xmm3
movaps xmm8, xmmword [rsp + 0x60]
jp 0x14000d696
je 0x14000d6da
comiss xmm6, xmm4
jbe 0x14000d6bf
movaps xmm7, xmm4
movaps xmm0, xmm4
subss xmm7, xmm6
addss xmm0, xmm4
xorps xmm7, xmmword [0x1400e72d0]
movaps xmm1, xmm7
addss xmm1, xmm4
comiss xmm1, xmm0
jbe 0x14000d6bf
xorps xmm7, xmm7
comiss xmm4, xmm6
jbe 0x14000d6da
movaps xmm7, xmm6
subss xmm7, xmm4
movaps xmm1, xmm7
addss xmm1, xmm4
comiss xmm3, xmm1
jbe 0x14000d6da
xorps xmm7, xmm7
divss xmm2, dword [0x1400f60c0]
xorps xmm1, xmm1
movaps xmm0, xmm2
movdqu xmmword [rsp + 0x28], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
divss xmm7, dword [0x1400f60c0]
cvttss2si eax, xmm0
movaps xmm0, xmm7
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [0x1400f7460]
cvttsd2si eax, xmm1
mov dword [rsp + 0x20], eax
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si eax, xmm0
xor ecx, ecx
mov edx, 0x1000
mov r8d, edx
lea r9d, [rcx + 0x40]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, qword [0x1400f75a0]
cvttsd2si eax, xmm1
mov dword [rsp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm7, xmmword [rsp + 0x70]
mov rbx, rax
movaps xmm6, xmmword [rsp + 0x80]
test rax, rax
je 0x14000d7bc
movups xmm0, xmmword [0x1400f7918]
mov edx, 1
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400f7928]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x1400f7930]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1400f7934]
mov word [rax + 0x1c], cx
lea rcx, [rsp + 0x20]
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, qword [rsp + 0x90]
add rsp, 0x98
ret
Function at 0x140012c70
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0xc0
lea rdx, [0x1400f7518]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140012d88
mov rax, qword gs:[0x60]
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], r14
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov esi, dword [rcx + r11 + 0x88]
add rsi, r11
cmp rsi, r11
je 0x140012d4a
mov r10d, dword [rsi + 0x18]
test r10d, r10d
je 0x140012d4a
mov r14d, dword [rsi + 0x20]
nop word [rax + rax]
dec r10d
mov r9d, 0xd75bfa4
lea rcx, [r14 + r10*4]
mov edi, dword [rcx + r11]
add rdi, r11
movzx r8d, byte [rdi]
inc rdi
test r8b, r8b
je 0x140012d45
movsx ecx, r8b
lea rdi, [rdi + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdi - 1]
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
test r8b, r8b
jne 0x140012d10
cmp r9d, 0x8e8393b4
je 0x140012d52
test r10d, r10d
jne 0x140012cf0
mov rax, qword [rax]
jmp 0x140012cc0
mov ecx, dword [rsi + 0x24]
add rcx, r11
movzx edx, word [rcx + r10*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r11
mov eax, dword [rcx + rdx*4]
mov ecx, 3
add rax, r11
call rax
mov r14, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
movss xmm3, dword [0x1400e6d94]
lea rdi, [0x1400f7550]
xorps xmm0, xmm0
xor eax, eax
xor edx, edx
mov ecx, 0x40
rep stosb byte [rdi], al
mov eax, dword [0x1400f7594]
mov rcx, qword [0x1400f75b0]
mov dword [0x1400f7550], eax
mov eax, dword [0x1400f7528]
mov dword [0x1400f7554], eax
xor eax, eax
mov qword [rsp + 0xb0], rax
mov eax, 0xffff
mov qword [0x1400f7570], rdx
mov dword [0x1400f7564], edx
movups xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x84], ax
lea rax, [0x1400c2cf4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov dword [0x1400f7578], 1
mov dword [0x1400f7568], 1
mov dword [0x1400f7558], 0x15
mov dword [0x1400f757c], 1
mov dword [0x1400f7580], 0x50
mov dword [0x1400f758c], 0x80000000
mov qword [rcx + 0x20], rdx
lea rdx, [0x1400c2dd0]
mov rcx, qword [rcx + 0x50]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x74], 0x7f7fffff
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x3c], 1
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x80], 0x3f800000
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x78], 1
movups xmmword [rsp + 0x90], xmm0
mov byte [rsp + 0x50], 1
movups xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 3
call fcn.140037d00
mov rcx, qword [0x1400f7518]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
add rsp, 0xc0
pop rdi
ret
Function at 0x140016690
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 0x1400166ed
lea rbx, [0x1400e1670]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400166d4
cmp r10, 2
jb 0x1400166d4
cmp byte [r9], r8b
jne 0x1400166d4
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 0x1400166b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001672f
lea rbx, [0x1400e1670]
cmp r8b, 0x23
jne 0x140016713
cmp byte [r9], r8b
jne 0x140016713
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 0x140016700
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140016870
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001688a
mov qword [r8], 0
lea rdx, [0x1400e6704]
call fcn.140016740
mov rbx, rax
test rax, rax
jne 0x1400168aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140016981
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016981
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140016981
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016981
cmp rdi, 0xffffffffffffffff
je 0x140016981
mov rax, qword [0x1400f75b0]
test rax, rax
je 0x14001691e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140016981
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14001696e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400f75b0]
test rax, rax
je 0x140016963
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001698a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001697c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001698c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140018e00
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400e1670]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400f75b0]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x140018e8b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14002ac70
mov eax, ebx
add rsp, 0x20
pop rbx
ret