joyce8/EMBER2024-capa huggingface dataset:
Function at 0x225a41e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [str.kernel32LoadLibrGetProcALocalAll_not_found_]
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov dword [rsp + 0x28], 0x6c6c642e
mov byte [rsp + 0x2c], 0
call fcn.225a41940
mov byte [rsp + 0x2c], 0
mov rbx, rax
mov rax, qword [0x225b01018]
mov dword [rsp + 0x28], 0x41797261
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x3c]
mov r12d, dword [rbx + rax + 0x88]
test r12d, r12d
je 0x225a42030
lea r13, [rbx + r12]
mov esi, dword [r13 + 0x20]
mov ebp, dword [r13 + 0x18]
add rsi, rbx
test ebp, ebp
je 0x225a4204a
mov r14, rsi
xor r15d, r15d
jmp 0x225a41ee1
add r15, 1
add r14, 4
cmp rbp, r15
je 0x225a42060
mov ecx, dword [r14]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x225a41ed0
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r15*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x225b26030], rax
mov rax, qword [0x225b01020]
mov edx, 0x7373
mov byte [rsp + 0x2e], 0
xor r14d, r14d
mov dword [rsp + 0x28], 0x65726464
mov word [rsp + 0x2c], dx
mov qword [rsp + 0x20], rax
jmp 0x225a41f51
add r14, 1
add rsi, 4
cmp rbp, r14
je 0x225a42058
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x225a41f40
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x225b26038], rax
mov rax, qword [0x225b01028]
add r12, rbx
xor ebp, ebp
mov byte [rsp + 0x2a], 0
mov qword [rsp + 0x20], rax
mov eax, 0x636f
mov word [rsp + 0x28], ax
mov esi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rsi, rbx
test r13d, r13d
jne 0x225a41fcd
jmp 0x225a42046
add rbp, 1
add rsi, 4
cmp r13, rbp
je 0x225a42046
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x225a41fc0
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + rbp*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov ecx, 0x4098
mov qword [0x225b26028], rax
call fcn.225a41db0
test rax, rax
mov qword [0x225b26020], rax
setne al
movzx eax, al
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [0x225b26030], 0
mov qword [0x225b26038], 0
xor eax, eax
jmp 0x225a41ffa
mov qword [0x225b26030], 0
nop dword [rax]
xor eax, eax
jmp 0x225a41f7c
mov qword [0x225b26030], 0
jmp 0x225a41f14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x225a41e40
Function at 0x225a42070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [str.kernel32LoadLibrGetProcALocalAll_not_found_]
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov dword [rsp + 0x28], 0x6c6c642e
mov byte [rsp + 0x2c], 0
call fcn.225a41940
mov byte [rsp + 0x2c], 0
mov rbx, rax
mov rax, qword [0x225b01018]
mov dword [rsp + 0x28], 0x41797261
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x3c]
mov r12d, dword [rbx + rax + 0x88]
test r12d, r12d
je 0x225a42030
lea r13, [rbx + r12]
mov esi, dword [r13 + 0x20]
mov ebp, dword [r13 + 0x18]
add rsi, rbx
test ebp, ebp
je 0x225a4204a
mov r14, rsi
xor r15d, r15d
jmp 0x225a41ee1
add r15, 1
add r14, 4
cmp rbp, r15
je 0x225a42060
mov ecx, dword [r14]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x225a41ed0
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r15*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x225b26030], rax
mov rax, qword [0x225b01020]
mov edx, 0x7373
mov byte [rsp + 0x2e], 0
xor r14d, r14d
mov dword [rsp + 0x28], 0x65726464
mov word [rsp + 0x2c], dx
mov qword [rsp + 0x20], rax
jmp 0x225a41f51
add r14, 1
add rsi, 4
cmp rbp, r14
je 0x225a42058
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x225a41f40
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x225b26038], rax
mov rax, qword [0x225b01028]
add r12, rbx
xor ebp, ebp
mov byte [rsp + 0x2a], 0
mov qword [rsp + 0x20], rax
mov eax, 0x636f
mov word [rsp + 0x28], ax
mov esi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rsi, rbx
test r13d, r13d
jne 0x225a41fcd
jmp 0x225a42046
add rbp, 1
add rsi, 4
cmp r13, rbp
je 0x225a42046
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x225a41fc0
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + rbp*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov ecx, 0x4098
mov qword [0x225b26028], rax
call fcn.225a41db0
test rax, rax
mov qword [0x225b26020], rax
setne al
movzx eax, al
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [0x225b26030], 0
mov qword [0x225b26038], 0
xor eax, eax
jmp 0x225a41ffa
mov qword [0x225b26030], 0
nop dword [rax]
xor eax, eax
jmp 0x225a41f7c
mov qword [0x225b26030], 0
jmp 0x225a41f14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x225a41e40
Function at 0x225a45130
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov rax, rcx
lea rcx, [rcx + 0xf]
sub rcx, rdx
cmp rcx, 0x1e
jbe 0x225a45214
movdqu xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movdqu xmm0, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm0
movzx edi, byte [rax + 0x1f]
mov r10d, 8
movzx r9d, byte [rax + 0x1e]
lea r11, [0x225b01300]
movzx r8d, byte [rax + 0x1d]
lea rbx, [0x225b011e0]
movzx edx, byte [rax + 0x1c]
jmp 0x225a451d9
movzx r8d, r8b
movzx edx, dl
movzx ecx, byte [r11 + r8]
movzx r8d, r9b
movzx r9d, dil
movzx edi, byte [r11 + rdx]
mov edx, r10d
shr edx, 3
movzx r8d, byte [r11 + r8]
xor cl, byte [rbx + rdx]
movzx r9d, byte [r11 + r9]
mov edx, ecx
xor dl, byte [rax]
add r10d, 1
add rax, 4
xor r8b, byte [rax - 3]
xor r9b, byte [rax - 2]
xor dil, byte [rax - 1]
mov byte [rax + 0x1c], dl
mov byte [rax + 0x1d], r8b
mov byte [rax + 0x1e], r9b
mov byte [rax + 0x1f], dil
cmp r10d, 0x3c
je 0x225a45210
mov ecx, r10d
and ecx, 7
je 0x225a45180
cmp ecx, 4
jne 0x225a451ae
movzx edx, dl
movzx r8d, r8b
movzx esi, r9b
movzx ecx, dil
movzx edx, byte [r11 + rdx]
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + rsi]
movzx edi, byte [r11 + rcx]
jmp 0x225a451ae
pop rbx
pop rsi
pop rdi
ret
movzx ecx, byte [rdx]
mov byte [rax], cl
movzx ecx, byte [rdx + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rdx + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rdx + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rdx + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rdx + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rdx + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rdx + 7]
mov byte [rax + 7], cl
movzx ecx, byte [rdx + 8]
mov byte [rax + 8], cl
movzx ecx, byte [rdx + 9]
mov byte [rax + 9], cl
movzx ecx, byte [rdx + 0xa]
mov byte [rax + 0xa], cl
movzx ecx, byte [rdx + 0xb]
mov byte [rax + 0xb], cl
movzx ecx, byte [rdx + 0xc]
mov byte [rax + 0xc], cl
movzx ecx, byte [rdx + 0xd]
mov byte [rax + 0xd], cl
movzx ecx, byte [rdx + 0xe]
mov byte [rax + 0xe], cl
movzx ecx, byte [rdx + 0xf]
mov byte [rax + 0xf], cl
movzx ecx, byte [rdx + 0x10]
mov byte [rax + 0x10], cl
movzx ecx, byte [rdx + 0x11]
mov byte [rax + 0x11], cl
movzx ecx, byte [rdx + 0x12]
mov byte [rax + 0x12], cl
movzx ecx, byte [rdx + 0x13]
mov byte [rax + 0x13], cl
movzx ecx, byte [rdx + 0x14]
mov byte [rax + 0x14], cl
movzx ecx, byte [rdx + 0x15]
mov byte [rax + 0x15], cl
movzx ecx, byte [rdx + 0x16]
mov byte [rax + 0x16], cl
movzx ecx, byte [rdx + 0x17]
mov byte [rax + 0x17], cl
movzx ecx, byte [rdx + 0x18]
mov byte [rax + 0x18], cl
movzx ecx, byte [rdx + 0x19]
mov byte [rax + 0x19], cl
movzx ecx, byte [rdx + 0x1a]
mov byte [rax + 0x1a], cl
movzx ecx, byte [rdx + 0x1b]
mov byte [rax + 0x1b], cl
movzx ecx, byte [rdx + 0x1c]
mov byte [rax + 0x1c], cl
movzx ecx, byte [rdx + 0x1d]
mov byte [rax + 0x1d], cl
movzx ecx, byte [rdx + 0x1e]
mov byte [rax + 0x1e], cl
movzx edx, byte [rdx + 0x1f]
mov byte [rax + 0x1f], dl
jmp 0x225a45157
Function at 0x225a500a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
cmp r8, 3
mov r9, rdx
not eax
jbe 0x225a50170
lea rdx, [r8 - 4]
lea r10, [0x225b01c20]
shr rdx, 2
lea rcx, [r9 + rdx*4 + 4]
nop dword [rax]
mov edx, eax
xor al, byte [r9]
add r9, 4
shr edx, 8
movzx eax, al
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 3]
shr eax, 8
movzx edx, dl
xor eax, dword [r10 + rdx*4]
mov edx, eax
xor al, byte [r9 - 2]
shr edx, 8
movzx eax, al
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 1]
shr eax, 8
movzx edx, dl
xor eax, dword [r10 + rdx*4]
cmp r9, rcx
jne 0x225a500c8
and r8d, 3
test r8, r8
je 0x225a50164
lea rdx, [0x225b01c20]
mov r9d, eax
xor al, byte [rcx]
shr r9d, 8
movzx eax, al
xor r9d, dword [rdx + rax*4]
cmp r8, 1
mov eax, r9d
je 0x225a50164
xor al, byte [rcx + 1]
shr r9d, 8
movzx eax, al
xor r9d, dword [rdx + rax*4]
cmp r8, 2
mov eax, r9d
je 0x225a50164
xor al, byte [rcx + 2]
mov r8d, r9d
shr r8d, 8
movzx eax, al
xor r8d, dword [rdx + rax*4]
mov eax, r8d
not eax
ret
mov rcx, rdx
jmp 0x225a50114
Function at 0x225a66ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movzx esi, byte [rcx + 0x40]
test sil, sil
mov rbx, rcx
je 0x225a66ef0
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x48]
mov r8d, 0xa
movzx edx, word [rcx + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov rdi, rax
je 0x225a66f98
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbp, rax
je 0x225a66f98
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov r13, rax
je 0x225a66f98
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
movsxd r12, eax
mov qword [rbx + 0x38], rdx
lea rcx, [r12 + 1]
call sub.msvcrt.dll_malloc
test rax, rax
mov rdi, rax
je 0x225a66f7b
mov r8, r12
mov rdx, r13
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov esi, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov qword [rbx + 0x30], rdi
mov byte [rbx + 0x40], sil
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor edi, edi
jmp 0x225a66f7b

Function at 0x225a73f20
Capabilities:
Write file on windows

Disassembly:
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.225a7e2a0
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.225a7e2a0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x225a73f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x225b260c4]
test esi, esi
mov rbx, rcx
jle 0x225a740c0
mov rax, qword [0x225b260c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x225a73fdb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x225a74065
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x225a73fc0
mov rcx, rbx
call fcn.225a747f0
test rax, rax
mov rdi, rax
je 0x225a740e2
mov rax, qword [0x225b260c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.225a74930
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x225b260c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x225a740c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x225a7405e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x225a74070
add dword [0x225b260c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x225b260c8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x225a7405e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.225a73f20
nop dword [rax]
xor esi, esi
jmp 0x225a73fe8
mov rax, qword [0x225b260c8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.225a73f20
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.225a73f20
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x225a74460
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x225b26100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x225b260e0]
test rbx, rbx
je 0x225a744bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x225a744b3
test rsi, rsi
je 0x225a744b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x225a74498
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x225a747f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x225b080f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x225a74810
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x225a74818
ret
cmp word [r8 + 0x18], 0x20b
jne 0x225a74810
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x225a7486d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x225a74864
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x225a74810
add rax, 0x28
cmp rax, r9
jne 0x225a74850
xor eax, eax
ret

Function at 0x225a74870
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x225b080f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x225a7488f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x225a74898
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x225a7488f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x225a74930
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x225b080f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x225a7494f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x225a74958
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x225afbf70
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x225b00120]
jmp 0x225a75660
Function at 0x1400e0c00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400e0c0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400e0c1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400e0c05
lea eax, [rcx + 1]
jmp 0x1400e0c2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400e0c3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400e0c24
sub eax, 3
jb 0x1400e0c5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400e0cad
sar eax, 1
movsxd rbp, eax
jb 0x1400e0c94
jmp 0x1400e0c6c
add ebx, ebx
jne 0x1400e0c6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400e0c94
inc ecx
add ebx, ebx
jne 0x1400e0c7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400e0c94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400e0c8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400e0c7c
add ecx, 2
jmp 0x1400e0c99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400e0bc2
jmp 0x1400e0c0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x80800
mov dl, 0x21
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400e0cf9
cmp rsi, rcx
jae 0x1400e0d01
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400e0ce0
cmp al, 0x8f
ja 0x1400e0ce0
cmp byte [rsi - 2], 0xf
je 0x1400e0ce6
sub al, 0xe8
cmp al, 1
ja 0x1400e0cca
cmp rsi, rcx
jae 0x1400e0d01
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400e0cd0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400e0d01
lodsb al, byte [rsi]
jmp 0x1400e0ce0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xdd000]
mov eax, dword [rdi]
or eax, eax
je 0x1400e0d6a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10b7ac]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400e0d0e
jns 0x1400e0d43
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400e0d4d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400e0d64
mov qword [rbx], rax
add rbx, 8
jmp 0x1400e0d2e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400e0da4
cmp al, 0xef
ja 0x1400e0d96
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400e0d76
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400e0d85
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400e0df8
sub rsp, 0xffffffffffffff80
jmp 0x14002bd4c
Function at 0x140006280
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret
Function at 0x140011240
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x14001129e
mov dl, 1
call fcn.140007eb0
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140007eb0
mov eax, ebx
jmp 0x1400112e2
cmp ebx, 2
ja 0x1400112e0
mov r9, qword [rdi + 0x668]
lea rdx, [0x140049ce0]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140011300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x140047158]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x140011343
cmp qword [rcx + 0x678], 0
je 0x140011420
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140006680
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140011371
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1400113b8
cmp byte [rdi + 0x1597], 0
jne 0x1400113b8
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400113a0
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x140011418
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x140011473
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140011439
mov dl, 1
mov rcx, rdi
call fcn.140007eb0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140007eb0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400450b0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x140049ce0]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140011418
call fcn.140045238
int3
Function at 0x140011480
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400115e6
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x140047158]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1400115ce
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140006680
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140011541
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140011500
cmp byte [rax + rcx - 1], 0xa
jne 0x140011528
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x14001153c
lea r8, [0x140049d00]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140006580
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140011546
cmp qword [rdi + 0x718], 0
je 0x14001158e
mov dl, 1
mov rcx, rdi
call fcn.140007eb0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140007eb0
jmp 0x1400115c6
mov r9, qword [rdi + 0x668]
lea rcx, [0x140049ce0]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400450b0
add rsp, 0x860
pop rdi
ret

Function at 0x140011680
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400116c2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret