joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007ab70
Capabilities:
Check http status code

Disassembly:
mov byte [rsp + 0x18], r8b
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 0x14007abc5
lea rdx, str.Couldnt_set_desired_mode
mov rcx, qword [rsp + 0x40]
call fcn.140034870
mov eax, reloc.WS2_32.dll_recvfrom
jmp 0x14007ac54
cmp dword [rsp + 0x48], 0xc8
je 0x14007abe5
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.140034730
movzx eax, byte [rsp + 0x50]
cmp eax, 0x13
jne 0x14007ac04
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140078f90
mov dword [rsp + 0x20], eax
jmp 0x14007ac50
movzx eax, byte [rsp + 0x50]
cmp eax, 0x14
jne 0x14007ac1e
mov rcx, qword [rsp + 0x40]
call fcn.140079050
mov dword [rsp + 0x20], eax
jmp 0x14007ac50
movzx eax, byte [rsp + 0x50]
cmp eax, 0x15
jne 0x14007ac38
mov rcx, qword [rsp + 0x40]
call fcn.140079310
mov dword [rsp + 0x20], eax
jmp 0x14007ac50
movzx eax, byte [rsp + 0x50]
cmp eax, 0x16
jne 0x14007ac50
mov rcx, qword [rsp + 0x40]
call fcn.140079340
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x14008ce30
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, Ordinal_26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x74], 4
cmp dword [0x1400dda8c], 0
jne 0x14008ceb1
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.140099370
movzx eax, al
test eax, eax
je 0x14008cea7
mov dword [0x1400dda8c], 2
jmp 0x14008ceb1
mov dword [0x1400dda8c], 1
cmp dword [0x1400dda8c], 2
jne 0x14008cebc
jmp 0x14008cf1a
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14008cef4
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x54], eax
jle 0x14008cef4
jmp 0x14008cf1a
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400aeeb0
add rsp, 0x90
pop rdi
ret
Function at 0x14008d900
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
lea rdi, [rsp + 0x30]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x190]
mov rax, qword [0x1400dd4e0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 1
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x14008d9a5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140009320
mov r8, rax
lea rdx, str.Could_not_set_TCP_NODELAY:__s
mov rcx, qword [rsp + 0x190]
call fcn.140034730
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400aeeb0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400ae6f0
add rsp, 0x180
pop rdi
ret

Function at 0x14008d9e0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x50]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x1400dd4e0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0xab4]
test eax, eax
je 0x14008da3d
mov dword [rsp + 0xc0], 1
jmp 0x14008da48
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x54]
mov r8d, 8
mov edx, 0xffff
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x14008da9e
mov r8, qword [rsp + 0xe8]
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__d
mov rcx, qword [rsp + 0xe0]
call fcn.140034730
jmp 0x14008db76
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0xa1c]
call fcn.1400383f0
mov dword [rsp + 0x54], eax
imul eax, dword [rsp + 0x54], 0x3e8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0xa20]
call fcn.1400383f0
mov dword [rsp + 0x54], eax
imul eax, dword [rsp + 0x54], 0x3e8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, recv
lea r8, [rsp + 0x78]
mov edx, 0x98000004
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x14008db76
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0xe8]
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
mov rcx, qword [rsp + 0xe0]
call fcn.140034730
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400aeeb0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400ae6f0
add rsp, 0xd0
pop rdi
ret
Function at 0x14008e9b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x20]
mov ecx, 0x80
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x230]
mov rax, qword [0x1400dd4e0]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x1f4], 0x80
mov r8d, 0x80
xor edx, edx
lea rcx, [rsp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x1f4]
lea rdx, [rsp + 0x160]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14008ea91
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x204], eax
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x204]
call fcn.140009320
mov r9, rax
mov r8d, dword [rsp + 0x204]
lea rdx, str.getsockname___failed_with_errno__d:__s
mov rcx, qword [rsp + 0x238]
call fcn.140034870
mov eax, 2
jmp 0x14008eb18
mov rax, qword [rsp + 0x20]
add rax, 0x104
mov rcx, qword [rsp + 0x20]
add rcx, 0xd4
mov r9, rax
mov r8, rcx
mov edx, dword [rsp + 0x1f4]
lea rcx, [rsp + 0x160]
call fcn.140035870
movzx eax, al
test eax, eax
jne 0x14008eb16
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rax]
call fcn.140009320
mov qword [rsp + 0x210], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov rcx, qword [rsp + 0x210]
mov r9, rcx
mov r8d, dword [rax]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov rcx, qword [rsp + 0x238]
call fcn.140034870
mov eax, 2
jmp 0x14008eb18
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400aeeb0
mov rax, rdi
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.1400ae6f0
add rsp, 0x220
pop rdi
ret

Function at 0x14008f030
Capabilities:
Connect socket

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xffffffff
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14008f065
jmp 0x14008f090
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0x14]
mov rdx, rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add rsp, 0x30
pop rdi
ret
Function at 0x140090030
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
xor eax, eax
test eax, eax
jne 0x14009004d
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0x14]
mov rdx, rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xffffffff
jne 0x1400900a9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x20]
add rcx, 0xa0
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x48]
call fcn.14008cd30
jmp 0x1400900e2
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14008e9b0
xor eax, eax
test eax, eax
jne 0x1400900b8
mov edx, 1
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x98]
call fcn.1400a1c40
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
mov dword [rsp + 0x2c], eax
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400a1c40
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 0x1400a1c75
mov dword [rsp + 0x34], 1
jmp 0x1400a1c7d
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.1400aeeb0
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1400a9640
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
jne 0x1400a9676
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400a96ba
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]
test eax, eax
jne 0x1400a96b8
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400a96ba
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400a96d0
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 0x1400a97e0
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 0x1400a9831
mov eax, dword [rsp + 0x20]
jmp 0x1400a9857
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400a9855
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400aa170
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 [0x1400dd4e0]
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 0x1400aa1e6
xor al, al
jmp 0x1400aa2f8
mov r8d, reloc.WS2_32.dll_sendto
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.VCRUNTIME140.dll_memset
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.1400a9f80
mov edx, 8
lea rcx, [rsp + 0x94]
call fcn.1400ae370
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 0x1400aa28b
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1400aa2f8
mov r8d, 8
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call sub.VCRUNTIME140.dll_memcpy
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.1400aeeb0
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400ae6f0
add rsp, 0xe0
pop rdi
ret

Function at 0x1400ac7f0
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_26
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400ac846
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 0x1400ac860
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 0x1400ae540
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 0x1400ae5af
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 0x1400ae5c0
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 0x14001139d
Capabilities:
Terminate process

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

Function at 0x140011483
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400195c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400195e0
xor al, al
jmp 0x140019661
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400195f3
xor al, al
jmp 0x140019661
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 0x14001961d
xor al, al
jmp 0x140019661
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019631
xor al, al
jmp 0x140019661
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019643
xor al, al
jmp 0x140019661
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001965f
xor al, al
jmp 0x140019661
mov al, 1
add rsp, 0x38
ret
Function at 0x4030e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r8, qword [rsp + 0x60]
mov rsi, rcx
lea rcx, [rdx + r9]
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
movsxd rbx, eax
call fcn.00449d50
test eax, eax
jne 0x403118
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rsi
call fcn.00402610
nop
nop dword [rax + rax]
nop word cs:[rax + rax]

Function at 0x403210
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x40322f
mov rcx, rdx
call fcn.00449cc0
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x403480
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.00449e10]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret

Function at 0x413b10
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
mov r14, rcx
mov r12, rdx
lea r13, [rdx + 3]
cmovns r13, rdx
xor ebx, ebx
xor edi, edi
lea rsi, [rdx - 1]
and r13, 0xfffffffffffffffc
jg 0x413b6b
jmp 0x413b80
mov ecx, dword [r14 + rbx]
lea rbp, [rbx + 4]
mov rbx, rbp
imul eax, ecx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, edi
rol eax, 0xd
cmp r13, rbp
lea edi, [rax + rax*4 - 0x19ab949c]
jle 0x413b82
cmp r12, rbx
ja 0x413b40
mov rdx, rsi
mov rcx, rbx
call fcn.0040c0f0
jmp 0x413b40
xor ebp, ebp
mov rax, r12
sar rax, 0x3f
shr rax, 0x3e
lea rsi, [r12 + rax]
and esi, 3
sub rsi, rax
test rsi, rsi
jle 0x413c65
lea r13, [rsi - 1]
lea rbx, [rbp + r13]
cmp r12, rbx
jbe 0x413c41
test r13, r13
movzx ebx, byte [r14 + rbx]
je 0x413bec
sub rsi, 2
lea r13, [rbp + rsi]
cmp r13, r12
jae 0x413c53
movzx eax, byte [r14 + r13]
shl ebx, 8
or ebx, eax
test rsi, rsi
je 0x413bec
cmp rbp, r12
jae 0x413c32
movzx eax, byte [r14 + rbp]
shl ebx, 8
or ebx, eax
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
mov eax, edi
xor eax, r12d
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
xor ebx, eax
imul ebx, ebx, 0x85ebca6b
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [r12 - 1]
mov rcx, rbp
call fcn.0040c0f0
jmp 0x413be2
lea rdx, [r12 - 1]
mov rcx, rbx
call fcn.0040c0f0
jmp 0x413bb2
lea rdx, [r12 - 1]
mov rcx, r13
call fcn.0040c0f0
jmp 0x413bce
xor ebx, ebx
jmp 0x413bfb
sub rsp, 0x38
xor edx, edx
test rcx, rcx
je 0x413c85
mov rdx, qword [rcx]
test rdx, rdx
je 0x413c85
je 0x413c92
add rcx, 0x10
add rsp, 0x38
jmp 0x413b10
mov qword [rsp + 0x28], rcx
call fcn.0040eca0
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx]
add rcx, 0x10
add rsp, 0x38
jmp 0x413b10
Function at 0x4486e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0051bb24]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x448868
mov rax, qword [0x0051bb28]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x44872c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4487b5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x448710
mov rcx, rbx
call fcn.00449380
test rax, rax
mov r12, rax
je 0x44889d
mov rax, qword [0x0051bb28]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.004494b0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0051bb28]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x448880
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4487ae
sub eax, 0x40
and eax, 0xffffffbf
jne 0x448810
add dword [0x0051bb24], 1
cmp edi, 8
jae 0x4487e3
test dil, 4
jne 0x448854
test edi, edi
je 0x4487d8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x44886f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x4487d8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x4487fc
jmp 0x4487d8
add rsi, qword [0x0051bb28]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4487ae
call qword [0x00533310]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00449fb0
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4487d8
xor esi, esi
jmp 0x448737
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4487d8
mov rax, qword [0x0051bb28]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00449fb0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00449fb0
nop
nop dword [rax]

Function at 0x449380
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0050b9f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4493ed
mov rcx, r8
call fcn.00449260
test eax, eax
je 0x4493ed
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4493ed
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4493e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4493ef
add rax, 0x28
cmp rax, r9
jne 0x4493d0
xor eax, eax
add rsp, 0x28
ret
Function at 0x449fb0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp fcn.00401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00449e10
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00449e10
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.00449ca0
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x5504b0
Capabilities:
Terminate process

Disassembly:
xchg qword [rsp], rbx
jmp fcn.00448459
xchg qword [rsp], rbx
jmp 0x638788
lea rbx, [0x00678ca1]
mov rbx, qword [rbx]
jmp 0x55327a
lea rbx, [rbx + 0x5c3f9496]
jmp 0x53f3fb
pop rbx
jmp 0x5504b0
push rbx
jmp 0x552e43