joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c2700
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax*8 + 0x238]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x68]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x280]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x598]
mov eax, dword [rax + 0x7c]
and eax, 3
test eax, eax
je 0x1400c28b4
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
lea rdx, [0x1400c2a40]
cmp qword [rcx + rax*8 + 0x260], rdx
jne 0x1400c28b4
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x1400c27a9
cmp qword [rsp + 0x30], 0
je 0x1400c28b4
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
call fcn.1400c0dd0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400c28b4
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400c28b4
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x1400c2847
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov eax, dword [rax + 0x540]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 8]
call qword [str.d__a_]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x1400c28a7
xor eax, eax
test eax, eax
jne 0x1400c2852
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx + 0x10]
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jle 0x1400c28a5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
jmp 0x1400c28b4
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], 0
add rsp, 0x58
ret
Function at 0x1400c2950
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax*8 + 0x238]
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1400c2700
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov dword [rax], 0
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400c2a2a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x2733
jne 0x1400c29e8
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov dword [rax], 0x51
jmp 0x1400c2a2a
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140101900
mov r8, rax
lea rdx, str.Send_failure:__s
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.1400c3080
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x4ac4], ecx
mov rax, qword [rsp + 0x70]
mov dword [rax], gethostname
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1400daa30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rcx, qword [rsp + 0x40]
call fcn.1400dac10
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.14008fb40
cdqe
add rsp, 0x28
ret
Function at 0x1400f5b20
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x1400f5b70
lea rdx, str.Couldnt_set_desired_mode
mov rcx, qword [rsp + 0x28]
call fcn.1400c3080
mov eax, reloc.WS2_32.dll_recvfrom
jmp 0x1400f5bee
cmp dword [rsp + 0x48], 0xc8
je 0x1400f5b90
mov r8d, dword [rsp + 0x48]
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
mov rcx, qword [rsp + 0x28]
call fcn.1400c2b50
cmp dword [rsp + 0x50], 0x13
jne 0x1400f5ba7
mov rcx, qword [rsp + 0x40]
call fcn.1400f7600
mov dword [rsp + 0x20], eax
jmp 0x1400f5bea
cmp dword [rsp + 0x50], 0x14
jne 0x1400f5bbe
mov rcx, qword [rsp + 0x40]
call fcn.1400f73b0
mov dword [rsp + 0x20], eax
jmp 0x1400f5bea
cmp dword [rsp + 0x50], 0x15
jne 0x1400f5bd5
mov rcx, qword [rsp + 0x40]
call fcn.1400f7370
mov dword [rsp + 0x20], eax
jmp 0x1400f5bea
cmp dword [rsp + 0x50], 0x16
jne 0x1400f5bea
mov rcx, qword [rsp + 0x40]
call fcn.1400f7330
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400f9590
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 0x238]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400f961c
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400be200
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400f964e
lea rdx, str.Error_accept__ing_server_connect
mov rcx, qword [rsp + 0x30]
call fcn.1400c3080
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x1400f9702
lea rdx, str.Connection_accepted_from_server_n
mov rcx, qword [rsp + 0x30]
call fcn.1400c2b50
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x55c], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x28]
mov qword [rcx + rax + 0x238], rdx
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.1400fffb0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov byte [rcx + rax + 0x258], 1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x2c8], 0
je 0x1400f9700
mov dword [rsp + 0x38], 0
mov r8d, 1
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x2d0]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x2c8]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400f9700
mov rcx, qword [rsp + 0x70]
call fcn.1400f9890
mov eax, Ordinal_46
jmp 0x1400f9702
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x68
ret
Function at 0x1400fcc00
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x20], 0xff
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x58]
mov byte [rsp + rax + 0x20], cl
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x60]
mov byte [rsp + rax + 0x20], cl
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, 3
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax + 0x238]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jge 0x1400fccaa
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x24], eax
mov r8d, dword [rsp + 0x24]
lea rdx, [0x140160a98]
mov rcx, qword [rsp + 0x30]
call fcn.1400c3080
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
lea rdx, [0x140160ab4]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.1400fcce0
add rsp, 0x48
ret

Function at 0x1400fd0c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
xor eax, eax
test eax, eax
jne 0x1400fd0de
mov eax, 2
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x30]
movzx ecx, word [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400fd129
mov r8d, dword [rsp + 0x24]
lea rdx, str.WSAStartup_failed___d_
mov rcx, qword [rsp + 0x1f0]
call fcn.1400c3080
mov eax, 2
jmp 0x1400fd196
call qword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, word [rsp + 0x30]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x20]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x1400fd179
movzx eax, word [rsp + 0x30]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x20]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x1400fd194
lea rdx, str.insufficient_winsock_version_to_support_telnet
mov rcx, qword [rsp + 0x1f0]
call fcn.1400c3080
mov eax, 2
jmp 0x1400fd196
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x1e8
ret

Function at 0x1400fd1b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x170]
call fcn.1400792fc
mov qword [rsp + 0x20], rax
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x104
jae 0x1400fd1fb
jmp 0x1400fd200
call fcn.14006eb1c
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x40], 0
cmp qword [rsp + 0x20], 0
je 0x1400fd228
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x40]
test eax, eax
je 0x1400fd24c
lea rcx, [rsp + 0x40]
call qword [fcn.1400a46c0]
mov qword [rsp + 0x28], rax
jmp 0x1400fd255
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x168
ret
Function at 0x1400ffbc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400ffbfc
xor eax, eax
jmp 0x1400ffd98
lea rdx, str.LoadLibraryExA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
lea rdx, [0x14015d9dc]
mov rcx, qword [rsp + 0x70]
call fcn.140077588
test rax, rax
je 0x1400ffc68
cmp qword [rsp + 0x30], 0
je 0x1400ffc49
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_50]
mov qword [rsp + 0x48], rax
jmp 0x1400ffc59
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
jmp 0x1400ffd93
cmp qword [rsp + 0x30], 0
je 0x1400ffca2
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ffca2
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_50]
mov qword [rsp + 0x38], rax
jmp 0x1400ffd93
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ffd93
mov rcx, qword [rsp + 0x70]
call fcn.1400767a0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
add rax, qword [rsp + 0x58]
mov rcx, rax
call qword [str.d__a_]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400ffd88
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400ffd88
mov rcx, qword [rsp + 0x28]
call fcn.1400767a0
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
lea rdx, [0x14015d9f4]
mov rcx, rax
call fcn.140076ae0
mov rcx, qword [rsp + 0x28]
call fcn.1400767a0
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.140076ae0
cmp qword [rsp + 0x30], 0
je 0x1400ffd6e
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [rsp + Ordinal_50]
mov qword [rsp + 0x50], rax
jmp 0x1400ffd7e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x28]
call qword [str.L_b_a_]
mov rax, qword [rsp + 0x38]
add rsp, 0x68
ret

Function at 0x1400fffb0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [rsp + 0x48], 0
je 0x1400fffce
mov dword [rsp + 0x20], 1
jmp 0x1400fffd6
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x38
ret
Function at 0x140102590
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
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.140074d50
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401025dd
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x30], rax
jne 0x1401025e1
xor eax, eax
jmp 0x1401025e6
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140105a00
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140105a40
mov eax, 2
jmp 0x140105a7b
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x140105a6c
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
jmp 0x140105a7b
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add rsp, 0x48
ret

Function at 0x1401062c0
Capabilities:
Hash data via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
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, 0x28
ret

Function at 0x140106300
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140106355
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]
add rsp, 0x38
ret
Function at 0x140109170
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
cmp dword [rax + 8], 3
jne 0x14010919b
mov dword [rsp + 0x24], 1
jmp 0x1401091a3
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0
jne 0x1401091b4
mov dword [rsp + 0x28], 0
jmp 0x1401091bc
mov dword [rsp + 0x28], 1
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14010920b
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0
jne 0x1401091e1
xor eax, eax
jmp 0x1401092b6
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov r9, qword [rax + 0x10]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
call qword [rax + Ordinal_26]
mov qword [rsp + 0x30], rax
jmp 0x14010926f
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
jne 0x14010924d
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea rdx, [0x14015e74c]
mov rcx, qword [rax + 0x10]
call fcn.140077934
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
jne 0x14010924d
mov rax, 0xffffffffffffffff
jmp 0x1401092b6
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x10]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.140077444
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401092b1
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x14010929e
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.14006f6c4
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140111af0
Capabilities:
Get hostname

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
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 0x140111b40
mov eax, dword [rsp + 0x20]
jmp 0x140111b66
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x40]
call fcn.140076b98
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140111b64
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x38
ret

Function at 0x1401141b0
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
sub rsp, 0x88
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140114206
xor al, al
jmp 0x1401142fa
mov r8d, reloc.WS2_32.dll_sendto
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140071640
mov byte [rsp + 0x58], 8
mov byte [rsp + 0x59], 2
mov dword [rsp + 0x5c], 0x6601
mov dword [rsp + 0x60], 8
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0xa0]
call fcn.140114320
mov edx, 8
lea rcx, [rsp + 0x64]
call fcn.14011a060
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x140114293
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1401142fa
mov r8d, 8
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.14006eda0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x50]
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 rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x88
ret
Function at 0x1401146a0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x78]
call fcn.1400767a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
shl rax, 1
mov rcx, rax
call qword [str.d__a_]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401146ea
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401147ea
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.140114140
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x30], 0
je 0x140114716
mov eax, dword [rsp + 0x30]
jmp 0x1401147ea
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1401147c1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1401147b4
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
mov eax, dword [rsp + 0x40]
shl eax, 1
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8, qword [rsp + 0x80]
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov r8d, 5
xor edx, edx
mov rcx, rax
call fcn.140071640
mov rcx, qword [rsp + 0x38]
call qword [str.L_b_a_]
xor eax, eax
add rsp, 0x68
ret
Function at 0x4154a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41564b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004304e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41550e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415521
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415545
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415559
cmp rbx, 0x1000
jae 0x415518
nop
jmp 0x4155c9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41556d
xor edx, edx
jmp 0x4155c0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004304e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41554f
jmp 0x415535
call fcn.0045dca0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00434840
lea rax, [0x004c8569]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00435140
mov rax, qword [rsp + 0x38]
call fcn.00434e40
lea rax, [0x004c8611]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435140
mov rax, qword [rsp + 0x30]
call fcn.00434e40
call fcn.00434aa0
call fcn.004348c0
lea rax, [0x004cacdf]
mov ebx, 0x21
call fcn.004330a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004154a0