joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009b8b0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
cmp qword [rsp + 0x98], 0
je 0x14009b8fd
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x14009b93f
cmp qword [rsp + 0xa0], 0
je 0x14009b915
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 0
jne 0x14009b93f
cmp qword [rsp + 0xa8], 0
je 0x14009b92d
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 0
jne 0x14009b93f
mov rcx, qword [rsp + 0xb0]
call fcn.14009b830
jmp 0x14009ba92
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0xb0], 0
jge 0x14009b95f
mov qword [rsp + 0x48], 0
jmp 0x14009b9d8
cmp qword [rsp + 0xb0], 0
jle 0x14009b9c8
mov rax, qword [rsp + 0xb0]
cqo
mov ecx, 0x3e8
idiv rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb0]
cqo
mov ecx, 0x3e8
idiv rcx
mov rax, rdx
imul rax, rax, 0x3e8
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x50], 0x7fffffff
jle 0x14009b9b6
mov qword [rsp + 0x50], 0x7fffffff
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
jmp 0x14009b9d8
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
cmp qword [rsp + 0xa8], 0
je 0x14009b9ff
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 0
je 0x14009b9ff
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x60], rax
jmp 0x14009ba08
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0xa0], 0
je 0x14009ba2f
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 0
je 0x14009ba2f
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rax
jmp 0x14009ba38
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0x98], 0
je 0x14009ba5f
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
je 0x14009ba5f
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
jmp 0x14009ba68
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x90]
inc eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400f2a60
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x1400a4b90
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rdi, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x140234cc0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0x3e8
lea rcx, [rsp + 0x78]
call fcn.14008c640
lea rcx, [rsp + 0x38]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xf0]
call fcn.14010f1cc
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xf8]
call fcn.14010f1cc
mov qword [rsp + 0x60], rax
mov r8d, 1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1400a4c77
cmp qword [rsp + 0x58], 0
je 0x1400a4c4b
mov rcx, qword [rsp + 0x58]
call fcn.14010053c
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400a4c30
cmp qword [rsp + 0x60], 0
je 0x1400a4c6c
mov rcx, qword [rsp + 0x60]
call fcn.14010053c
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1400a4c51
jmp 0x1400a4d3a
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x88]
call fcn.14008c640
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.14008c750
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jl 0x1400a4ce1
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x68], rax
jle 0x1400a4d2a
cmp qword [rsp + 0x58], 0
je 0x1400a4cfc
mov rcx, qword [rsp + 0x58]
call fcn.14010053c
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400a4ce1
cmp qword [rsp + 0x60], 0
je 0x1400a4d1d
mov rcx, qword [rsp + 0x60]
call fcn.14010053c
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1400a4d02
mov eax, 1
jmp 0x1400a4d3c
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400a4c16
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400f2a60
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400f1ea0
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x1400a5c90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call fcn.14010cea0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400a5ceb
mov ecx, 0xffffffff
call fcn.1400a5da0
cmp qword [rsp + 0x30], rax
jne 0x1400a5cef
xor eax, eax
jmp 0x1400a5cf4
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ac210
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, Ordinal_41
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x94], 4
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xb4], eax
mov r8, qword [rsp + 0xf8]
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call fcn.1400f5d90
mov dword [rsp + 0x20], 0xf0000040
mov r9d, dword [rsp + 0x100]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400ac2b8
jmp 0x1400ac3a2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400ac2e3
jmp 0x1400ac37a
xor r9d, r9d
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1400ac307
jmp 0x1400ac37a
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x94]
lea r8, [rsp + 0x74]
mov edx, 4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400ac332
jmp 0x1400ac37a
mov eax, dword [rsp + 0x74]
cmp qword [rsp + 0xf8], rax
jae 0x1400ac342
jmp 0x1400ac37a
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xb4]
mov r8, qword [rsp + 0xf0]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400ac370
jmp 0x1400ac37a
xor eax, eax
test eax, eax
jne 0x1400ac2b8
cmp qword [rsp + 0x58], 0
je 0x1400ac38d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp qword [rsp + 0x38], 0
je 0x1400ac3a2
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.1400f2a60
add rsp, 0xd0
pop rdi
ret
Function at 0x1400ac460
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x38], 0x8000
mov eax, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [fcn.1400feccc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400ac4b0
mov rcx, qword [rsp + 0x20]
call qword [fcn.14010053c]
xor eax, eax
jmp 0x1400ac51b
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400ac4f6
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
je 0x1400ac4f6
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jbe 0x1400ac505
mov rcx, qword [rsp + 0x20]
call qword [fcn.14010053c]
xor eax, eax
jmp 0x1400ac51b
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jae 0x1400ac516
mov rax, qword [rsp + 0x20]
jmp 0x1400ac51b
jmp 0x1400ac483
add rsp, 0x40
pop rdi
ret
Function at 0x1400bb220
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
lea rdi, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_60
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [0x140234cc0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + rax + 0x1e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
mov dword [rsp + 0xe4], 0x80
lea r8, [rsp + 0xe4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400bb2dc
mov dword [rsp + 0xe4], 0x80
lea r8, [rsp + 0xe4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x120]
call fcn.1400807c0
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x1400bb319
lea rdx, str.Error_accept__ing_server_connect
mov rcx, qword [rsp + 0x120]
call fcn.14007da50
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x1400bb3fe
lea rdx, str.Connection_accepted_from_server
mov rcx, qword [rsp + 0x120]
call fcn.14007d910
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x3da], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov qword [rcx + rax + 0x1e8], rdx
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.1400d7700
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x3ed], 1
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x288], 0
je 0x1400bb3fc
mov dword [rsp + 0xf4], 0
mov dl, 1
mov rcx, qword [rsp + 0x120]
call fcn.140060530
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax + 0x290]
mov rax, qword [rsp + 0x120]
call qword [rax + 0x288]
mov dword [rsp + 0xf4], eax
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.140060530
cmp dword [rsp + 0xf4], 0
je 0x1400bb3fc
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x120]
call fcn.1400bb070
mov eax, Ordinal_46
jmp 0x1400bb3fe
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400f2a60
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400f1ea0
add rsp, 0x110
pop rdi
ret
Function at 0x1400be9f0
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x1400bea45
lea rdx, str.Couldnt_set_desired_mode
mov rcx, qword [rsp + 0x40]
call fcn.14007da50
mov eax, reloc.WS2_32.dll_recvfrom
jmp 0x1400beac8
cmp dword [rsp + 0x48], 0xc8
je 0x1400bea65
mov r8d, dword [rsp + 0x48]
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
mov rcx, qword [rsp + 0x40]
call fcn.14007d910
cmp dword [rsp + 0x50], 0x13
jne 0x1400bea81
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1400bcf90
mov dword [rsp + 0x20], eax
jmp 0x1400beac4
cmp dword [rsp + 0x50], 0x14
jne 0x1400bea98
mov rcx, qword [rsp + 0x40]
call fcn.1400bd050
mov dword [rsp + 0x20], eax
jmp 0x1400beac4
cmp dword [rsp + 0x50], 0x15
jne 0x1400beaaf
mov rcx, qword [rsp + 0x40]
call fcn.1400bd320
mov dword [rsp + 0x20], eax
jmp 0x1400beac4
cmp dword [rsp + 0x50], 0x16
jne 0x1400beac4
mov rcx, qword [rsp + 0x40]
call fcn.1400bd350
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1400c8be0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, listen
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x24], 0xff
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x68]
mov byte [rsp + rax + 0x24], cl
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x70]
mov byte [rsp + rax + 0x24], cl
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, 3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + rax + 0x1e8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x1400c8ca2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], eax
mov r8d, dword [rsp + 0x48]
lea rdx, [0x140231918]
mov rcx, qword [rsp + 0x60]
call fcn.14007da50
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x68]
lea rdx, [0x140231934]
mov rcx, qword [rsp + 0x60]
call fcn.1400c8910
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400f2a60
add rsp, 0x50
pop rdi
ret
Function at 0x1400d7700
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
je 0x1400d7735
mov dword [rsp + 0x34], 1
jmp 0x1400d773d
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400f2a60
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1400eb740
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400eb796
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400eb7b0
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x20
pop rdi
ret

Function at 0x1400eb8c0
Capabilities:
Get hostname

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_gethostname]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x20], 0
je 0x1400eb911
mov eax, dword [rsp + 0x20]
jmp 0x1400eb937
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x40]
call fcn.1400f5cd4
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400eb935
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400ee160
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x40]
mov ecx, Ordinal_41
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x140234cc0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xb4], 8
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400ee1d6
xor al, al
jmp 0x1400ee2e8
mov r8d, reloc.WS2_32.dll_sendto
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.1400f5d90
mov byte [rsp + 0x88], 8
mov byte [rsp + 0x89], 2
mov dword [rsp + 0x8c], 0x6601
mov dword [rsp + 0x90], 8
lea rdx, [rsp + 0x94]
mov rcx, qword [rsp + 0x100]
call fcn.1400edf70
mov edx, 8
lea rcx, [rsp + 0x94]
call fcn.1400f1b30
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x1400ee27b
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1400ee2e8
mov r8d, 8
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400f6150
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400f2a60
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400f1ea0
add rsp, 0xe0
pop rdi
ret

Function at 0x1400ef090
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, Ordinal_27
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400ef0e6
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400ef100
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f1d00
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400f1d6f
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f1d80
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f2d48
Capabilities:
Parse pe header

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

Function at 0x1400f3b5c
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 0x1400f3be0
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 0x1400f3be0
dec r8
sub rdx, 1
jne 0x1400f3bc6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400f4304
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400f3c70
mov ebx, eax
test eax, eax
jne 0x1400f4334
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400f4390
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f4387
test al, 0x10
je 0x1400f4387
bt eax, 0xa
jae 0x1400f4380
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400f43a8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400f437c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400f43a0
test edi, edi
jne 0x1400f4387
and dword [rsp + 0x3c], 0
jmp 0x1400f438c
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.14010eca8
int3

Function at 0x1400fe86c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400f2b60
sub rsp, rax
mov rax, qword [0x140234cc0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140111b4c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400fe8bb
mov rax, rbp
jmp 0x1400fe9c3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x237080]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14010d1f0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x237080]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400fe9bf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400fe9bf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14010d1f0
test rax, rax
js 0x1400fe9bf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400fe9bf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400fe9b1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400fe9b1
cmp byte [rcx], 0xd
jne 0x1400fe997
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400fe9a6
cmp byte [rcx + 1], 0xa
jne 0x1400fe9a6
inc rcx
jmp 0x1400fe9a6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x234e50]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400fe979
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400fe9c3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400f1ea0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret