joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002580
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x14001b1f0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, qword [0x14001bbb8]
mov rsi, rcx
mov rdx, rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
mov r9d, 0xfff
mov r8d, 1
call fcn.14000a970
mov edi, eax
test eax, eax
je 0x140002611
mov r8d, 0x78
lea rdx, [rsp + 0xc0]
mov ecx, eax
call fcn.140006f60
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str.ab:_Could_not_open_POST_data_file___s_:__s_n
mov rcx, rax
mov r8, rsi
call fcn.140001620
mov eax, edi
jmp 0x140002714
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov edx, 0x73b170
call fcn.14000b090
mov edi, eax
test eax, eax
je 0x14000266a
mov r8d, 0x78
lea rdx, [rsp + 0xc0]
mov ecx, eax
call fcn.140006f60
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str.ab:_Could_not_stat_POST_data_file___s_:__s_n
mov rcx, rax
mov r8, rsi
call fcn.140001620
mov eax, edi
jmp 0x140002714
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
mov qword [0x14001b260], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x1400026ab
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Could_not_allocate_memory___I64u_bytes__n
mov rcx, rax
call fcn.140001620
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, qword [0x14001b260]
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov qword [0x14001fca8], rax
call fcn.14000b020
mov edi, eax
test eax, eax
je 0x140002708
mov r8d, 0x78
lea rdx, [rsp + 0xc0]
mov ecx, eax
call fcn.140006f60
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.ab:_Could_not_read_POST_data_file:__s_n
mov rcx, rax
call fcn.140001620
mov eax, edi
jmp 0x140002714
mov rcx, qword [rsp + 0x30]
call fcn.14000a930
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140011030
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400069f0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x140006a2b
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Could_not_allocate_memory___I64u_bytes__n
mov rcx, rax
call fcn.140001620
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x14000b090
Capabilities:
Get file size

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14001b1f0]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [r8 + 0x48], 0
mov rdi, r8
mov esi, edx
mov rbx, rcx
je 0x14000b0c5
mov rcx, r8
call fcn.14000e480
test eax, eax
jne 0x14000b117
mov rcx, qword [rdi + 8]
cmp esi, 0x100
jne 0x14000b12f
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14000b0f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000b115
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xafc80
jmp 0x14000b117
mov rax, qword [rdi]
mov qword [rbx], rax
mov rax, qword [rdi + 0x38]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x38], rax
mov dword [rbx + 8], 0x100
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140011030
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14000b0e0
mov rax, qword [rdi + 0x38]
lea rdx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 1]
call fcn.14000b1f0
cmp dword [rbx + 0x10], 1
jne 0x14000b18d
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x14000b18d
cmp eax, 2
jne 0x14000b181
mov dword [rbx + 0x10], 3
jmp 0x14000b18d
cmp eax, 3
jne 0x14000b18d
mov dword [rbx + 0x10], 5
mov rax, qword [rdi]
mov ecx, dword [rsp + 0x64]
mov qword [rbx], rax
mov rax, qword [rdi + 0x38]
or dword [rbx + 8], 0x7000
mov qword [rbx + 0x60], rax
mov eax, dword [rsp + 0x68]
shl rcx, 0x20
or rcx, rax
mov eax, dword [rsp + 0x54]
mov dword [rbx + 0x30], eax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x34], eax
mov eax, dword [rbx + 8]
not eax
mov qword [rbx + 0x28], rcx
and esi, eax
test esi, 0xfdffffff
je 0x14000b115
mov rdx, qword [rdi + 8]
xor r9d, r9d
mov r8d, esi
mov rcx, rbx
call fcn.14000b3e0
jmp 0x14000b117
Function at 0x14000bd90
Capabilities:
Connect socket
Get socket status

Disassembly:
mov r11, rsp
push rbp
push rsi
sub rsp, 0x478
mov rax, qword [0x14001b1f0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rcx
mov rbp, rdx
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14000bff4
cmp qword [rsi + 0x18], 0
je 0x14000bff4
mov r8d, dword [rbp + 0x20]
add rdx, 0x40
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rdi
call qword [sym.imp.WSOCK32.dll_connect]
xor edi, edi
cmp eax, 0xffffffff
jne 0x14000bf88
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
je 0x14000bf88
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
lea ebx, [rax + 0xafc80]
cmp ebx, 0xb23b3
jne 0x14000bf8a
mov r8, qword [rsi + 0x30]
test r8, r8
jne 0x14000be27
mov ebx, 0xb23b4
jmp 0x14000bf8a
mov rax, qword [rsi + 8]
mov qword [rsp + 0x258], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x250], 1
mov dword [rsp + 0x40], 1
test r8, r8
jns 0x14000be55
mov rax, rdi
jmp 0x14000be9f
movabs r9, 0x431bde82d7b634db
mov rax, r9
imul r8
mov rax, r9
sar rdx, 0x12
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
mov dword [rsp + 0x38], edx
imul r8
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
sub r8, rax
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], r8d
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x250]
lea ecx, [rdx + 0x41]
call qword [sym.imp.WSOCK32.dll_select]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x14000bee1
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
je 0x14000bf88
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
lea ebx, [rax + 0xafc80]
jmp 0x14000bf58
test eax, eax
jne 0x14000beec
mov ebx, 0xb23cc
jmp 0x14000bf5c
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x40]
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x14000bf88
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x34], 4
mov r8d, 0x1007
call qword [sym.imp.WSOCK32.dll_getsockopt]
test eax, eax
je 0x14000bf4a
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
je 0x14000bf88
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
lea ebx, [rax + 0xafc80]
jmp 0x14000bf58
mov ebx, dword [rsp + 0x30]
test ebx, ebx
je 0x14000bf88
add ebx, 0xafc80
test ebx, ebx
je 0x14000bf8a
mov eax, ebx
mov rbx, qword [rsp + 0x4a0]
mov rdi, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140011030
add rsp, 0x478
pop rsi
pop rbp
ret
mov ebx, edi
movsxd r8, dword [rbp + 0x24]
lea rdx, [0x14001b418]
mov rcx, qword [rbp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000bfa9
mov dword [rsi + 0x44], edi
mov qword [rsi + 0x20], rbp
mov rcx, qword [rsi + 0x18]
cmp word [rcx + 0x42], di
jne 0x14000bfba
mov dword [rsi + 0x3c], 1
movsxd r8, dword [rcx + 0x24]
lea rdx, [0x14001b418]
mov rcx, qword [rcx + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000bfd9
mov dword [rsi + 0x40], 1
test ebx, ebx
je 0x14000bfed
cmp ebx, 0xb23c8
cmovne edi, ebx
mov eax, edi
jmp 0x14000bf5e
xor eax, eax
jmp 0x14000bf5e
mov eax, 0x80
jmp 0x14000bf6e
Function at 0x14000c8e0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r15, qword [rsp + 0xa8]
xorps xmm0, xmm0
xor r14d, r14d
movzx r13d, r9w
mov rbp, rdx
mov r12, rcx
mov eax, r14d
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x28], 1
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
test rdx, rdx
jne 0x14000c93a
or dword [rsp + 0x20], 1
mov edx, r13d
mov rcx, r15
call fcn.140008820
lea r9, [rsp + 0x88]
mov rdx, rax
lea r8, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14000c983
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
je 0x14000ca7d
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
lea r14d, [rax + 0xafc80]
mov eax, r14d
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x90], rsi
mov rsi, r14
mov qword [rsp + 0x98], rdi
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x14000ca58
mov qword [rsp + 0x80], rbx
nop
mov eax, dword [rdi + 4]
cmp eax, 2
je 0x14000c9bd
cmp eax, 0x17
jne 0x14000ca38
mov edx, 0x60
mov rcx, r15
call fcn.140007c10
xorps xmm0, xmm0
mov rbx, rax
movups xmmword [rax], xmm0
lea rcx, [rax + 0x40]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
mov qword [rax], r15
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rdi + 4]
movzx r8d, r13w
mov rcx, rbx
call fcn.14000c850
test rsi, rsi
jne 0x14000ca29
test rbp, rbp
je 0x14000ca23
mov rdx, rbp
mov rcx, r15
call fcn.1400089d0
mov qword [rbx + 8], rax
mov qword [r12], rbx
jmp 0x14000ca35
mov rax, qword [rsi + 8]
mov qword [rbx + 8], rax
mov qword [rsi + 0x38], rbx
mov rsi, rbx
mov rax, qword [rdi + 0x28]
mov rdi, rax
test rax, rax
jne 0x14000c9b0
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rdi, qword [rsp + 0x98]
test rsi, rsi
mov rsi, qword [rsp + 0x90]
mov eax, 0x4e2e
cmove r14d, eax
mov eax, r14d
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000cc80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x50
mov eax, dword [r8]
lea r9, [r11 + 8]
mov rcx, qword [rcx + 8]
xor ebx, ebx
mov dword [rsp + 0x40], eax
mov rdi, r8
mov qword [r11 - 0x28], rbx
lea rax, [r11 + 0x10]
mov qword [r11 - 0x10], rdx
lea rdx, [r11 - 0x18]
mov qword [r11 - 0x30], rbx
lea r8d, [rbx + 1]
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x68], ebx
mov qword [r11 - 0x38], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x14000cd02
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
jne 0x14000cce9
mov eax, ebx
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
add eax, 0xafc80
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov edx, dword [rsp + 0x60]
mov eax, 0x1117e
test edx, edx
mov qword [rdi], rdx
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov eax, dword [r8]
lea r9, [rsp + 0x60]
mov rcx, qword [rcx + 8]
xor edi, edi
mov rbx, r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
lea r8d, [rdi + 1]
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x14000cd9d
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
jne 0x14000cd84
mov eax, edi
mov qword [rbx], rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
add eax, 0xafc80
mov qword [rbx], rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rsp + 0x60]
mov qword [rbx], rax
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000d1a0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x14000d20e
cmp qword [rcx + 0x30], rdx
je 0x14000d31b
mov rcx, qword [rcx + 8]
lea r8, [rsp + 0x48]
mov edx, 0x8004667e
mov dword [rsp + 0x48], 1
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x14000d31b
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
je 0x14000d31b
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
add eax, 0xafc80
je 0x14000d31b
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rsi, rsi
jle 0x14000d2c0
cmp qword [rcx + 0x30], 0
je 0x14000d224
test byte [rcx + 0x48], 8
je 0x14000d239
mov rcx, qword [rcx + 8]
call fcn.14000d330
test eax, eax
jne 0x14000d321
and dword [rdi + 0x48], 0xfffffff7
cmp qword [rdi + 0x30], rsi
je 0x14000d31b
mov rcx, qword [rdi + 8]
lea r9, [rdi + 0x28]
movabs rax, 0x624dd2f1a9fbe77
mov qword [rsp + 0x40], rbx
mul rsi
mov rax, rsi
mov dword [rsp + 0x20], 4
sub rax, rdx
mov r8d, 0x1006
shr rax, 1
add rax, rdx
mov edx, 0xffff
shr rax, 9
mov dword [rdi + 0x28], eax
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov rcx, qword [rdi + 8]
lea r9, [rdi + 0x28]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1005
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov qword [rdi + 0x30], rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
jns 0x14000d31b
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x48], 0
call fcn.14000d330
test eax, eax
jne 0x14000d321
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1006
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1005
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov qword [rdi + 0x30], rsi
xor eax, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d950
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14000d988
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14000d981
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000d981
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xafc80
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
mov eax, 0x4e3b
add rsp, 0x28
ret
Function at 0x14000dbf0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x14001b440]
xor edi, edi
mov rsi, rcx
test eax, eax
jne 0x14000dd48
lea rcx, [0x14001b480]
mov dword [0x14001b480], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x14001b490], 2
jne 0x14000dd3d
movzx eax, byte [0x14001b494]
mov qword [rsp + 0x30], rbx
lea rbx, [0x14001b494]
test al, al
je 0x14000dc93
nop dword [rax + rax]
movzx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
jne 0x14000dc93
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x14000dc50
mov ecx, dword [0x14001b444]
mov eax, dword [0x14001b484]
mov rbx, qword [rsp + 0x30]
cmp eax, 4
jb 0x14000dd3d
jne 0x14000dcdc
cmp ecx, 2
jae 0x14000dcab
mov eax, 0x28
jmp 0x14000dd42
cmp byte [rbx], dil
je 0x14000dc68
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
mov dword [0x14001b444], eax
jmp 0x14000dc6e
ja 0x14000dcb7
mov eax, 0x2a
jmp 0x14000dd42
cmp ecx, 3
ja 0x14000dcc3
mov eax, 0x2b
jmp 0x14000dd42
cmp ecx, 4
ja 0x14000dccf
mov eax, 0x2c
jmp 0x14000dd42
cmp ecx, 5
mov eax, edi
seta al
add eax, 0x2d
jmp 0x14000dd42
cmp eax, 5
jne 0x14000dd23
mov eax, dword [0x14001b488]
test eax, eax
jne 0x14000dd01
test ecx, ecx
jne 0x14000dcf4
lea eax, [rcx + 0x32]
jmp 0x14000dd42
cmp ecx, 1
mov eax, edi
setne al
add eax, 0x33
jmp 0x14000dd42
cmp eax, 2
jne 0x14000dd0d
mov eax, 0x46
jmp 0x14000dd42
cmp ecx, 1
jae 0x14000dd19
mov eax, 0x3c
jmp 0x14000dd42
mov eax, edi
setne al
add eax, 0x3d
jmp 0x14000dd42
cmp eax, 6
jne 0x14000dd12
cmp dword [0x14001b488], edi
mov eax, 0x5a
mov ecx, 0x50
cmove eax, ecx
jmp 0x14000dd42
mov eax, 1
mov dword [0x14001b440], eax
mov dword [rsi], eax
mov eax, 0x4e2e
cmp dword [0x14001b440], 1
mov rsi, qword [rsp + 0x38]
cmovl edi, eax
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x14000e480
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [rcx + 0x48], 0
mov rbx, rcx
je 0x14000e571
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x38], r14
xor r14d, r14d
cmp dword [rcx + 0x78], 1
mov ebp, r14d
mov dword [rsp + 0x50], r14d
jne 0x14000e55f
mov qword [rsp + 0x68], rdi
mov rdi, qword [rcx + 0x60]
test rdi, rdi
je 0x14000e55a
mov qword [rsp + 0x60], rsi
mov rsi, qword [rcx + 0x58]
mov qword [rsp + 0x30], r15
mov r15d, 0xffffffff
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], r14
cmp rdi, r15
mov rdx, rsi
cmova r8d, r15d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000e51a
mov eax, dword [rsp + 0x50]
add qword [rbx + 0x80], rax
add rsi, rax
sub rdi, rax
jne 0x14000e4e0
jmp 0x14000e54c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000e531
mov eax, dword [rsp + 0x50]
add qword [rbx + 0x80], rax
jmp 0x14000e54c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x50]
mov ebp, eax
add qword [rbx + 0x80], rcx
add ebp, 0xafc80
jne 0x14000e550
mov qword [rbx + 0x60], r14
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x38]
mov eax, ebp
mov rbp, qword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x140010940
Capabilities:
Encode data using base64

Disassembly:
jmp 0x140010950
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea eax, [r8 - 2]
xor r10d, r10d
cdqe
lea rsi, [0x140017030]
mov rbx, rdx
mov rdi, rcx
mov r9, rcx
test rax, rax
jle 0x140010a0e
lea r10, [rax - 1]
movabs rax, 0xaaaaaaaaaaaaaaab
lea r11, [rdx + 2]
mul r10
shr rdx, 1
inc rdx
lea r10d, [rdx + rdx*2]
movzx eax, byte [r11 - 2]
lea r11, [r11 + 3]
shr rax, 2
movzx eax, byte [rax + rsi]
mov byte [r9], al
movzx ecx, byte [r11 - 5]
movzx eax, byte [r11 - 4]
and ecx, 3
shr rax, 4
shl rcx, 4
or rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [r9 + 1], al
movzx ecx, byte [r11 - 4]
movzx eax, byte [r11 - 3]
and ecx, 0xf
shr rax, 6
shl rcx, 2
or rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [r9 + 2], al
movzx eax, byte [r11 - 3]
and eax, 0x3f
movzx eax, byte [rax + rsi]
mov byte [r9 + 3], al
add r9, 4
sub rdx, 1
jne 0x1400109a0
cmp r10d, r8d
jge 0x140010a72
movsxd rdx, r10d
movzx eax, byte [rdx + rbx]
shr rax, 2
movzx eax, byte [rax + rsi]
mov byte [r9], al
lea eax, [r8 - 1]
movzx ecx, byte [rdx + rbx]
and ecx, 3
shl rcx, 4
cmp r10d, eax
jne 0x140010a45
movzx eax, byte [rcx + rsi]
mov cl, 0x3d
mov byte [r9 + 1], al
jmp 0x140010a65
movzx eax, byte [rbx + rdx + 1]
shr rax, 4
or rax, rcx
movzx eax, byte [rax + rsi]
mov byte [r9 + 1], al
movzx eax, byte [rbx + rdx + 1]
and eax, 0xf
movzx ecx, byte [rsi + rax*4]
mov byte [r9 + 2], cl
mov byte [r9 + 3], 0x3d
add r9, 4
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov byte [r9], 0
sub r9d, edi
mov rdi, qword [rsp + 0x18]
lea eax, [r9 + 1]
ret
Function at 0x140010950
Capabilities:
Encode data using base64

Disassembly:
jmp 0x140010950
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea eax, [r8 - 2]
xor r10d, r10d
cdqe
lea rsi, [0x140017030]
mov rbx, rdx
mov rdi, rcx
mov r9, rcx
test rax, rax
jle 0x140010a0e
lea r10, [rax - 1]
movabs rax, 0xaaaaaaaaaaaaaaab
lea r11, [rdx + 2]
mul r10
shr rdx, 1
inc rdx
lea r10d, [rdx + rdx*2]
movzx eax, byte [r11 - 2]
lea r11, [r11 + 3]
shr rax, 2
movzx eax, byte [rax + rsi]
mov byte [r9], al
movzx ecx, byte [r11 - 5]
movzx eax, byte [r11 - 4]
and ecx, 3
shr rax, 4
shl rcx, 4
or rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [r9 + 1], al
movzx ecx, byte [r11 - 4]
movzx eax, byte [r11 - 3]
and ecx, 0xf
shr rax, 6
shl rcx, 2
or rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [r9 + 2], al
movzx eax, byte [r11 - 3]
and eax, 0x3f
movzx eax, byte [rax + rsi]
mov byte [r9 + 3], al
add r9, 4
sub rdx, 1
jne 0x1400109a0
cmp r10d, r8d
jge 0x140010a72
movsxd rdx, r10d
movzx eax, byte [rdx + rbx]
shr rax, 2
movzx eax, byte [rax + rsi]
mov byte [r9], al
lea eax, [r8 - 1]
movzx ecx, byte [rdx + rbx]
and ecx, 3
shl rcx, 4
cmp r10d, eax
jne 0x140010a45
movzx eax, byte [rcx + rsi]
mov cl, 0x3d
mov byte [r9 + 1], al
jmp 0x140010a65
movzx eax, byte [rbx + rdx + 1]
shr rax, 4
or rax, rcx
movzx eax, byte [rax + rsi]
mov byte [r9 + 1], al
movzx eax, byte [rbx + rdx + 1]
and eax, 0xf
movzx ecx, byte [rsi + rax*4]
mov byte [r9 + 2], cl
mov byte [r9 + 3], 0x3d
add r9, 4
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov byte [r9], 0
sub r9d, edi
mov rdi, qword [rsp + 0x18]
lea eax, [r9 + 1]
ret

Function at 0x14001164c
Capabilities:
Parse pe header

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