joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053f10
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140053ff3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140053ff3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140054011
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140053fe3
cmp word [rax], 0x5c
jne 0x140053fdc
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x140053fdc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140053fc7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x140053fd9
test r8b, 0x10
jne 0x140053fdc
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x140053fdc
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.14004b630
test edi, edi
jne 0x140053f40
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14004b620
int3

Function at 0x1400550d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14005519c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14005519c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400551b5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14005518c
cmp byte [rax], 0x5c
jne 0x140055186
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140055186
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140055172
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140055183
test r8b, 0x10
jne 0x140055186
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140055186
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14004c1c0
test edi, edi
jne 0x1400550f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14004b620
int3
Function at 0x140058b58
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140058b92
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140058b97
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140058be0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14005da80]
cmp byte [rcx + rax], 0
je 0x140058be0
dec r8
sub rdx, 1
jne 0x140058bc6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14005a168
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180015f78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180015f78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180017888
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov dword [rsp + 0x30], 0x476c7452
mov rdi, rdx
mov dword [rsp + 0x34], 0x65567465
mov dword [rsp + 0x38], 0x6f697372
mov word [rsp + 0x3c], 0x6e
mov dword [rsp + 0x50], 0x6e0055
mov dword [rsp + 0x54], 0x6e006b
mov dword [rsp + 0x58], 0x77006f
mov dword [rsp + 0x5c], 0x6e
test rcx, rcx
je 0x18001794a
lea rdx, [rsp + 0x30]
call fcn.180045ea9
cwde
mov rbx, rax
test rax, rax
je 0x18001794a
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x110
call fcn.180018b20
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x114
call rbx
test eax, eax
jne 0x18001794a
mov eax, dword [rbp - 0x64]
lea r8, str._d._d._d
mov r9d, dword [rbp - 0x6c]
mov edx, 0x14
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x20], eax
call fcn.180001008
jmp 0x18001795c
lea r8, [rsp + 0x50]
mov edx, 0x14
mov rcx, rdi
call fcn.180001008
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18001797c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
xor r13d, r13d
mov dword [rbp - 0x80], 0x690057
mov dword [rbp - 0x7c], 0x64006e
mov rdi, rdx
mov dword [rbp - 0x78], 0x77006f
mov dword [rbp - 0x74], 0x200073
mov dword [rbp - 0x70], 0x310031
mov word [rbp - 0x6c], r13w
mov dword [rbp - 0x40], 0x690057
mov dword [rbp - 0x3c], 0x64006e
mov dword [rbp - 0x38], 0x77006f
mov dword [rbp - 0x34], 0x200073
mov dword [rbp - 0x30], 0x300031
mov word [rbp - 0x2c], r13w
mov dword [rsp + 0x40], 0x690057
mov dword [rsp + 0x44], 0x64006e
mov dword [rsp + 0x48], 0x77006f
mov dword [rsp + 0x4c], 0x200073
mov dword [rsp + 0x50], 0x2e0038
mov dword [rsp + 0x54], 0x31
mov dword [rbp], 0x690057
mov dword [rbp + 4], 0x64006e
mov dword [rbp + 8], 0x77006f
mov dword [rbp + 0xc], 0x200073
mov dword [rbp + 0x10], 0x38
mov dword [rbp + 0x40], 0x690057
mov dword [rbp + 0x44], 0x64006e
mov dword [rbp + 0x48], 0x77006f
mov dword [rbp + 0x4c], 0x200073
mov dword [rbp + 0x50], 0x37
mov dword [rsp + 0x20], 0x476c7452
mov dword [rsp + 0x24], 0x65567465
mov dword [rsp + 0x28], 0x6f697372
mov word [rsp + 0x2c], 0x6e
mov dword [rbp + 0x80], 0x6e0055
mov dword [rbp + 0x84], 0x6e006b
mov dword [rbp + 0x88], 0x77006f
mov dword [rbp + 0x8c], 0x6e
test rcx, rcx
je 0x180017b4c
lea rdx, [rsp + 0x20]
push rbp
call fcn.18003a0fb
mov rbx, rax
test rax, rax
je 0x180017b4c
xor edx, edx
lea rcx, [rbp + 0xc4]
mov r8d, 0x110
call fcn.180018b20
lea rcx, [rbp + 0xc0]
mov dword [rbp + 0xc0], 0x114
call rbx
test eax, eax
jne 0x180017b4c
cmp dword [rbp + 0xc4], 0xa
jne 0x180017b1d
cmp dword [rbp + 0xcc], 0x55f0
lea r8, [rbp - 0x80]
lea rax, [rbp - 0x40]
cmovb r8, rax
jmp 0x180017b53
cmp dword [rbp + 0xc4], 6
jne 0x180017b4c
mov eax, dword [rbp + 0xc8]
cmp eax, 3
jne 0x180017b38
lea r8, [rsp + 0x40]
jmp 0x180017b53
cmp eax, 2
jne 0x180017b43
lea r8, [rbp]
jmp 0x180017b53
lea r8, [rbp + 0x40]
cmp eax, 1
je 0x180017b53
lea r8, [rbp + 0x80]
mov edx, 0x14
mov rcx, rdi
call fcn.180001008
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x18002a4db
Capabilities:
Execute syscall

Disassembly:
and dword [rsp + 0x58], 0x4d1d4400
push qword [rsp + 0x90]
popfq
lea rsp, [rsp + 0xa0]
ret

Function at 0x18003026c
Capabilities:
Encode data using xor

Disassembly:
not bx
mov r8, qword [rsp + 0x50]
jl 0x180050451
call fcn.18003722d
movabs r11, 0x5a957233839a3b39
shl dword [rsp + 0x58], 0xe8
add r13b, byte [rsp + 0x58]
ja 0x18003c2cb
sbb byte [rbx - 0x43], bh
xor dword [rbx], ecx
cwde
out 0xa, al
add byte [rbx], al
xchg ebp, eax
js 0x18005046b
movabs al, byte [0x816339f522a0c23e]
invalid

Function at 0x1800475b5
Capabilities:
Encode data using xor

Disassembly:
add qword [rsp + r13*2 - 0x122], 0x7ffa7018
mov rbx, qword [rsp + rbx*2 + 0x25e]
neg word [rsp + r13 - 0x35]
add qword [rsp + r13 - 0x55], 0x7ffb2408
neg r13b
jae 0x180050a28
call fcn.1800437c3
Function at 0x18004b835
Capabilities:
Packed with generic packer

Disassembly:
shr r10, 0xb9
jbe 0x18003f450
shr qword [rsp + 0x10], 0xbd
mov rbx, qword [rsp + 0x18]
jbe 0x18003021e

Function at 0x18006839a
Capabilities:
Encode data using xor

Disassembly:
lea rbp, [rbp + 0x34368eae]
lea r8, [rcx + rcx*2 - 0x7bdca955]
Function at 0x180002e50
Capabilities:
Allocate or change rwx memory
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0x88]
call fcn.180003570
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov r9, rax
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180002f54
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x28], rcx
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x88]
call fcn.180001950
movzx eax, byte [rsp + 0x20]
jmp 0x180002f6b
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0x88]
call fcn.180001950
movzx eax, byte [rsp + 0x21]
add rsp, 0x78
ret
Function at 0x180002f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0x88]
call fcn.180003570
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov r9, rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180003074
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x28], rcx
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x88]
call fcn.180001950
movzx eax, byte [rsp + 0x20]
jmp 0x18000308b
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0x88]
call fcn.180001950
movzx eax, byte [rsp + 0x21]
add rsp, 0x78
ret
Function at 0x180003090
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
call fcn.180003680
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, str.ntdll.dll
mov rcx, qword [rsp + 0x38]
call fcn.1800019f0
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
call fcn.180002b00
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180003208
movzx eax, byte [rsp + 0xb0]
test eax, eax
jne 0x180003135
mov rax, qword [rsp + 0x20]
add rax, 0x15b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa0]
add rax, 0x30
mov r9, rax
mov r8d, 0x40
mov edx, 5
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000317f
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x28], 5
mov rax, qword [rsp + 0x20]
mov byte [rax], 0x90
mov rax, qword [rsp + 0x20]
mov byte [rax + 1], 0x90
mov rax, qword [rsp + 0x20]
mov byte [rax + 2], 0x90
mov rax, qword [rsp + 0x20]
mov byte [rax + 3], 0x90
mov rax, qword [rsp + 0x20]
mov byte [rax + 4], 0x90
mov rax, qword [rsp + 0xa0]
add rax, 0x30
mov r9, rax
mov r8d, 0x20
mov edx, 5
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800031f5
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x28], 5
movzx eax, byte [rsp + 0xb0]
test eax, eax
jne 0x180003203
jmp 0x180003208
jmp 0x1800030a6
mov rcx, qword [rsp + 0xa8]
call fcn.180001950
nop
add rsp, 0x98
ret
Function at 0x180004a00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
nop
cmp dword [rsp + 0x68], 1
jne 0x180004b62
lea rcx, [rsp + 0x48]
call fcn.180004d50
nop
mov edx, 0x104
lea rcx, [rsp + 0x48]
call fcn.180004e00
mov r8d, 0x104
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.180004d80
nop
xor r8d, r8d
mov dl, 0x5c
lea rcx, [rsp + 0x48]
call fcn.180004b90
cmp eax, 0xffffffff
je 0x180004ad0
lea rcx, [rsp + 0x48]
call fcn.180004de0
dec eax
mov dword [rsp + 0x34], eax
jmp 0x180004a94
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x180004ad0
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x48]
call fcn.180004e20
mov byte [rsp + 0x30], al
mov r8d, 1
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x48]
call fcn.180004c20
nop
movsx eax, byte [rsp + 0x30]
cmp eax, 0x5c
jne 0x180004ace
jmp 0x180004ad0
jmp 0x180004a8a
call fcn.180010d10
mov dword [rsp + 0x3c], eax
call fcn.180010730
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x3c], 0
jne 0x180004aff
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Internal_Hooks_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
cmp dword [rsp + 0x38], 0
jne 0x180004b1c
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Windows_Hooks_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180004b70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
call fcn.180004d30
mov eax, dword [rsp + 0x40]
jmp 0x180004b68
jmp 0x180004b66
xor eax, eax
add rsp, 0x58
ret

Function at 0x180009650
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2f8
mov rax, qword [0x18004a0c0]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov dword [rsp + 0x24], 0
mov eax, 2
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x40]
movzx ecx, word [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800096df
mov edx, 0xff
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1800096df
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800096df
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x300]
call fcn.1800019f0
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.180015880
add rsp, 0x2f8
ret
Function at 0x1800097a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x248
mov rax, qword [0x18004a0c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, str.__EP_
mov rcx, qword [rsp + 0x270]
call fcn.180003600
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov eax, 2
mov word [rsp + 0x20], ax
mov rcx, qword [rsp + 0x270]
call fcn.180001910
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x20]
mov ecx, 1
imul rcx, rcx, 0
lea rcx, [rsp + rcx + 0x30]
lea rdx, [rsp + 0x268]
mov rdi, rcx
mov rsi, rdx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsx rax, word [rsp + 0x24]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x270]
call fcn.180003570
mov ecx, 1
imul rcx, rcx, 2
lea rcx, [rsp + rcx + 0x30]
mov rdi, rcx
mov rsi, rax
mov rax, qword [rsp + 0x28]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsx eax, word [rsp + 0x20]
movsx ecx, word [rsp + 0x24]
add eax, ecx
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.WS2_32.dll_send]
nop
mov rcx, qword [rsp + 0x270]
call fcn.180001950
nop
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180015880
add rsp, 0x248
pop rdi
pop rsi
ret
Function at 0x18000aa40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jg 0x18000aa62
xor eax, eax
jmp 0x18000ac06
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x18000aa87
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.18000b670
jmp 0x18000ac06
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.18000ccc0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x18000ab1e
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.180002700
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
call fcn.18000ce80
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.180002050
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.18000cde0
nop
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x18000abf6
mov rcx, qword [rsp + 0x60]
call fcn.18000c680
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x18000abbe
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.180020248
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x18000abbc
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x18000ac06
jmp 0x18000ab44
cmp qword [rsp + 0x20], 0
jbe 0x18000abf6
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.180020248
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret
Function at 0x18000fa40
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movabs rdx, 0x6a09e667f3bcc908
mov qword [rcx + rax + 0x108], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movabs rdx, 0xbb67ae8584caa73b
mov qword [rcx + rax + 0x108], rdx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 8]
movabs rdx, 0x3c6ef372fe94f82b
mov qword [rcx + rax + 0x108], rdx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 8]
movabs rdx, 0xa54ff53a5f1d36f1
mov qword [rcx + rax + 0x108], rdx
mov eax, 8
imul rax, rax, 4
mov rcx, qword [rsp + 8]
movabs rdx, 0x510e527fade682d1
mov qword [rcx + rax + 0x108], rdx
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 8]
movabs rdx, 0x9b05688c2b3e6c1f
mov qword [rcx + rax + 0x108], rdx
mov eax, 8
imul rax, rax, 6
mov rcx, qword [rsp + 8]
movabs rdx, 0x1f83d9abfb41bd6b
mov qword [rcx + rax + 0x108], rdx
mov eax, 8
imul rax, rax, 7
mov rcx, qword [rsp + 8]
movabs rdx, 0x5be0cd19137e2179
mov qword [rcx + rax + 0x108], rdx
mov rax, qword [rsp + 8]
mov dword [rax + 4], 0
mov rax, qword [rsp + 8]
mov dword [rax], 0
ret

Function at 0x180010ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180011110
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180010ff7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180010f54
mov rax, qword [0x18004a008]
cmp qword [rsp + 0x20], rax
ja 0x180010f54
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180010f16
mov r8d, gethostbyname
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180036580
mov r8d, gethostbyname
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180010f83
jmp 0x180010ff7
cmp dword [rsp + 0x50], 0x10000
jne 0x180010fda
cmp qword [rsp + 0x48], 0x10000
jb 0x180010fda
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180010fc8
mov rax, qword [rsp + 0x28]
jmp 0x180010ff9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180010ff2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180011110
mov qword [rsp + 0x20], rax
jmp 0x180010f16
xor eax, eax
add rsp, 0x68
ret