joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f037
Capabilities:
Get hostname

Disassembly:
jmp 0x1401161c0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1401161f9
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.14005f1c7
test rax, rax
je 0x1401161f7
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14005f0d2
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140118a80
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140157988]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, Ordinal_26
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140118acc
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140118b9e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140118b10
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x140118b9e
mov rcx, rbp
call fcn.14005fae1
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x140118b7a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140118b8a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140118b9c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006008b
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005f276
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140119f50
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140157988]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov dword [rsp + 0x20], 0xf0000040
mov rsi, r8
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rbp
mov rbx, rcx
xor r8d, r8d
lea r9d, [rbp + 1]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140119fd1
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140119ff3
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006008b
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.14005fae1
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x14011a051
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14011a061
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14011a073
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x140119fd6
Function at 0x14005f339
Capabilities:
Write file on windows

Disassembly:
jmp 0x140083090
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14016a114]
call fcn.14006128d
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1400830e7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400831f3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14008318c
cmp qword [rbp + 0x28], 0
jle 0x14008318c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14008312c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140061062
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1400831e2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1400831e2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14005f68b
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14010cdd0
sub rsp, 0x28
xor eax, eax
lea r8, [rsp + 0x38]
test edx, edx
mov edx, 0x8004667e
setne al
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret

Function at 0x14005f861
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
jmp 0x140116470
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
mov rbx, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.140116710
lea r8, [rbx + 7]
mov rcx, rsi
lea rdx, [rdi + 8]
call fcn.140116710
lea r8, [rbx + 0xe]
mov rcx, rsi
lea rdx, [rdi + 0x10]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140116710

Function at 0x14005fa4b
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x1400cd270
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
sub rdi, 1
je 0x1400cd312
xor ebp, ebp
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14005feba
cmp eax, 4
jne 0x1400cd2de
cmp byte [0x140158624], bpl
jne 0x1400cd32a
lea r9d, [rax - 2]
mov dword [rsp + 0x50], ebp
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.14005f2cb
test eax, eax
jne 0x1400cd349
mov eax, ebp
test eax, eax
jne 0x1400cd317
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xfffffffc
jae 0x1400cd2a0
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
movzx eax, byte [rcx + r14]
mov byte [rsi], al
inc rsi
sub rdi, 1
jne 0x1400cd2a0
mov byte [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
imul ecx, dword [0x140158620], 0x41c64e6d
add ecx, 0x3039
mov dword [0x140158620], ecx
rol ecx, 0x10
mov dword [rsp + 0x50], ecx
jmp 0x1400cd2e6
mov eax, 2
jmp 0x1400cd317

Function at 0x14005fac3
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x1400cd150
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, Ordinal_46
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x1400cd21b
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.14005feba
cmp eax, 4
jne 0x1400cd1cc
cmp byte [0x140158624], r14b
jne 0x1400cd1d8
lea r9d, [rax - 2]
mov dword [rsp + 0x50], r14d
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.14005f2cb
neg eax
sbb eax, eax
and eax, 2
mov edx, eax
test eax, eax
jne 0x1400cd21d
mov eax, dword [rsp + 0x50]
jmp 0x1400cd1f7
imul eax, dword [0x140158620], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x140158620], eax
rol eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x1400cd212
sub rsi, rdi
nop
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x1400cd200
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x1400cd180
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14005fae6
Capabilities:
Move file

Disassembly:
jmp 0x1400ca820
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.140060f13
mov rcx, rbx
movups xmm6, xmmword [rax]
call qword [sym.imp.ucrtbased.dll__strdup]
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.ucrtbased.dll__strdup]
mov r8d, 1
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1400ca8d0
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140060f13
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400614ea
cmp rax, 0x3e8
ja 0x1400ca903
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1400ca880
test rsi, rsi
je 0x1400ca8de
mov rcx, rsi
call qword [sym.imp.ucrtbased.dll_free]
test rbx, rbx
je 0x1400ca8ec
mov rcx, rbx
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1400ca911
mov rcx, rsi
call qword [sym.imp.ucrtbased.dll_free]
test rbx, rbx
je 0x1400ca91f
mov rcx, rbx
call qword [sym.imp.ucrtbased.dll_free]
mov eax, 1
jmp 0x1400ca8ee
Function at 0x14005fb18
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
jmp 0x1401186e0
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.14005fae1
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [fcn.140060464]
mov rbx, rax
test rax, rax
je 0x140118886
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x140118770
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.WS2_32.dll_recv]
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 0x1401187d2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x140118790
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x140118813
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140141149]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14014114a]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401187e0
mov rcx, qword [rsp + 0x70]
call fcn.14005fae1
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x140118842
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [case.0x1400961cb.0]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, reloc.WLDAP32.dll_Ordinal_27
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x14005fe10
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400d1fb0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [case.0x1400961cb.1]
mov rdi, rax
test rax, rax
je 0x1400d202d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1400d2058
cmp ebx, esi
je 0x1400d2058
cmp ebx, 0x8000
ja 0x1400d2058
cmp ebx, esi
jb 0x1400d2053
mov edx, ebx
mov rcx, rdi
call qword [case.0x1400961cb.1]
mov rdi, rax
test rax, rax
jne 0x1400d1ff0
mov rcx, rbp
call qword [case.0x1400961cb.0]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1400d2038
mov rcx, rdi
jmp 0x1400d2030
Function at 0x1400600ef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400d2090
push rbx
push rsi
push rdi
push r12
push r15
sub rsp, 0x140
mov rax, qword [0x140157988]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor edi, edi
mov rbx, rcx
mov qword [rdx], rdi
mov r12, r8
mov qword [r8], rdi
mov r15, rdx
mov esi, edi
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], sil
jne 0x1400d20d0
test rcx, rcx
je 0x1400d2324
test cl, 3
jne 0x1400d2324
lea rax, [rbx - 1]
add rax, rcx
cmp byte [rax], 0x3d
jne 0x1400d2116
nop word [rax + rax]
inc rsi
lea rax, [rax - 1]
cmp rsi, 2
ja 0x1400d2324
cmp byte [rax], 0x3d
je 0x1400d2100
shr rcx, 2
mov rax, rdi
mov qword [rsp + 0x138], rbp
test rsi, rsi
mov rbp, rcx
mov qword [rsp + 0x130], r14
setne al
lea r14, [rcx + rcx*2]
sub rbp, rax
sub r14, rsi
lea rcx, [r14 + 1]
call qword [fcn.140060464]
mov r11, rax
test rax, rax
jne 0x1400d2185
lea eax, [r11 + 0x1b]
mov rbp, qword [rsp + 0x138]
mov r14, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14006008b
add rsp, 0x140
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
movdqa xmm0, xmmword [0x140137bc0]
mov r9, r11
movaps xmm1, xmmword [0x140137b50]
movq rax, xmm0
mov qword [rsp + 0x40], rax
mov r10, rdi
mov word [rsp + 0x48], ax
mov byte [rsp + 0x4a], al
movq rax, xmm0
mov dword [rsp + 0x11b], eax
mov byte [rsp + 0x11f], al
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x9b], xmm0
movups xmmword [rsp + 0xab], xmm0
movups xmmword [rsp + 0xbb], xmm0
movups xmmword [rsp + 0xcb], xmm0
movups xmmword [rsp + 0xdb], xmm0
movups xmmword [rsp + 0xeb], xmm0
movups xmmword [rsp + 0xfb], xmm0
movups xmmword [rsp + 0x10b], xmm0
movaps xmm0, xmmword [0x140137b40]
movups xmmword [rsp + 0x4b], xmm0
movaps xmm0, xmmword [0x140137b60]
movups xmmword [rsp + 0x6b], xmm0
movaps xmm0, xmmword [0x140137b80]
movups xmmword [rsp + 0x5b], xmm1
movaps xmm1, xmmword [0x140137b70]
movups xmmword [rsp + 0x8b], xmm0
movups xmmword [rsp + 0x7b], xmm1
test rbp, rbp
je 0x1400d229d
nop word [rax + rax]
mov eax, edi
mov r8d, edi
nop word [rax + rax]
movzx ecx, byte [rbx]
inc rbx
movzx edx, byte [rsp + rcx + 0x20]
cmp dl, 0xff
je 0x1400d22c6
shl eax, 6
inc r8d
or eax, edx
cmp r8d, 4
jl 0x1400d2260
mov ecx, eax
mov byte [r9 + 2], al
shr ecx, 8
inc r10
shr eax, 0x10
mov byte [r9 + 1], cl
mov byte [r9], al
add r9, 3
cmp r10, rbp
jb 0x1400d2250
test rsi, rsi
je 0x1400d2312
mov rcx, rdi
mov edx, edi
nop word [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
cmp al, 0x3d
jne 0x1400d22d9
shl edi, 6
inc rcx
cmp rcx, rsi
jbe 0x1400d22eb
mov rcx, r11
call qword [case.0x1400961cb.0]
mov eax, 0x3d
jmp 0x1400d2156
movzx r8d, byte [rsp + rax + 0x20]
cmp r8b, 0xff
je 0x1400d22c6
shl edi, 6
or edi, r8d
inc edx
cmp edx, 4
jl 0x1400d22b0
cmp rsi, 1
jne 0x1400d2301
mov eax, edi
shr eax, 8
mov byte [r9 + 1], al
shr edi, 0x10
mov eax, 3
sub rax, rsi
mov byte [r9], dil
add r9, rax
mov byte [r9], 0
xor eax, eax
mov qword [r15], r11
mov qword [r12], r14
jmp 0x1400d2156
mov eax, 0x3d
jmp 0x1400d2166
Function at 0x140060176
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
jmp 0x140118510
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.140060464]
mov rbx, rax
test rax, rax
jne 0x140118555
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 0x1401185a0
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.WS2_32.dll_recv]
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 0x140118602
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 0x1401185c0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x140118643
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140141149]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14014114a]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140118610
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 0x14006031f
Capabilities:
Terminate process

Disassembly:
jmp 0x14011ba60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400604f0
Capabilities:
Resolve dns

Disassembly:
jmp 0x1400cb110
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1400cb2ae
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1400cb28e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1400cb17e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400cb170
inc rbx
jmp 0x1400cb180
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1400cb18d
lea ebp, [rax + 0xe]
jmp 0x1400cb199
cmp eax, 0x17
jne 0x1400cb231
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x1400cb231
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400cb231
cmp rax, rbp
jb 0x1400cb231
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [fcn.140060464]
mov r14, rax
test rax, rax
je 0x1400cb240
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1400600a9
test rbx, rbx
je 0x1400cb21e
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1400600a9
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x1400cb22e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400cb160
jmp 0x1400cb246
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x1400cb260
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1400cb289
test rdi, rdi
je 0x1400cb285
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [case.0x1400961cb.0]
mov rdi, rbx
test rbx, rbx
jne 0x1400cb270
xor edi, edi
jmp 0x1400cb29d
test rdi, rdi
jne 0x1400cb29d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret
Function at 0x140060617
Capabilities:
Get geographical location

Disassembly:
jmp 0x14011a5e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14011a61d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14006126f
add rsp, 0x58
ret

Function at 0x140060793
Capabilities:
Parse pe header

Disassembly:
jmp 0x14011de00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14011de20
xor al, al
jmp 0x14011dea1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14011de33
xor al, al
jmp 0x14011dea1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14011de5d
xor al, al
jmp 0x14011dea1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14011de71
xor al, al
jmp 0x14011dea1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14011de83
xor al, al
jmp 0x14011dea1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14011de9f
xor al, al
jmp 0x14011dea1
mov al, 1
add rsp, 0x38
ret