joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010a8a8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rsp + 0x90]
mov rdi, rcx
mov rcx, qword [rcx + 0x38]
movabs rax, 0xfffffffe0
add rcx, rsi
mov r14, r9
mov r15, r8
mov r12, rdx
cmp rcx, rax
ja 0x14010aa84
cmp rcx, rsi
jb 0x14010aa84
cmp dword [rdi + 0x184], 0
mov qword [rdi + 0x38], rcx
je 0x14010a919
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.14010c7ac
and dword [rdi + 0x184], 0
mov ebp, dword [rdi + 0x180]
mov dword [rsp + 0x70], ebp
test ebp, ebp
je 0x14010a965
test rsi, rsi
je 0x14010a94c
mov ecx, ebp
dec rsi
mov al, byte [rcx + rdi + 0x10]
xor al, byte [r15]
inc r15
mov byte [r14], al
inc r14
xor byte [rcx + rdi + 0x40], al
inc ebp
and ebp, 0xf
jne 0x14010a927
mov dword [rsp + 0x70], ebp
test ebp, ebp
jne 0x14010aa77
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.14010c7ac
mov r13d, dword [rdi + 0xc]
bswap r13d
cmp rsi, 0xc00
jb 0x14010a9e8
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rbx, rdx
shr rbx, 0xb
imul rax, rbx, 0xfffffffffffff400
add rsi, rax
mov r9, r12
mov qword [rsp + 0x20], rdi
mov r8d, 0xc0
mov rdx, r14
mov rcx, r15
call qword [rsp + 0x98]
add r13d, 0xc0
lea rdx, [rdi + 0x60]
mov eax, r13d
lea rcx, [rdi + 0x40]
bswap eax
mov r9d, 0xc00
mov dword [rdi + 0xc], eax
mov r8, r14
call fcn.14010c6f4
mov eax, 0xc00
add r14, rax
add r15, rax
sub rbx, 1
jne 0x14010a993
mov ebp, dword [rsp + 0x70]
mov r12, rsi
and r12, 0xfffffffffffffff0
je 0x14010aa39
mov r9, qword [rsp + 0x78]
mov rbx, r12
shr rbx, 4
mov rdx, r14
mov r8, rbx
mov qword [rsp + 0x20], rdi
mov rcx, r15
call qword [rsp + 0x98]
add r13d, ebx
lea rdx, [rdi + 0x60]
mov eax, r13d
lea rcx, [rdi + 0x40]
bswap eax
mov r9, r12
mov dword [rdi + 0xc], eax
mov r8, r14
add r15, r12
sub rsi, r12
call fcn.14010c6f4
add r14, r12
test rsi, rsi
je 0x14010aa77
mov r8, qword [rsp + 0x78]
lea rdx, [rdi + 0x10]
mov rcx, rdi
call qword [rdi + 0x170]
lea eax, [r13 + 1]
bswap eax
mov dword [rdi + 0xc], eax
mov edx, ebp
inc ebp
movzx eax, byte [rdx + r15]
movzx ecx, byte [rdi + rdx + 0x10]
xor ecx, eax
mov byte [rdx + r14], cl
xor byte [rdx + rdi + 0x40], cl
sub rsi, 1
jne 0x14010aa59
mov dword [rdi + 0x180], ebp
mov eax, 1
jmp 0x14010aa86
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010aaa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov r14, r8
mov r15, rdx
mov rbx, rcx
cmp dword [rcx + 0x180], edi
jne 0x14010aad3
cmp dword [rcx + 0x184], edi
je 0x14010aae0
lea rdx, [rcx + 0x60]
add rcx, 0x40
call fcn.14010c7ac
lea rbp, [rbx + 0x40]
mov esi, 2
mov rcx, rbp
mov edx, esi
mov rax, qword [rcx - 0x10]
shl rax, 3
bswap rax
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x14010aaee
lea rdx, [rbx + 0x60]
mov rcx, rbp
call fcn.14010c7ac
mov rdx, rbp
mov rax, qword [rdx - 0x20]
xor qword [rdx], rax
lea rdx, [rdx + 8]
sub rsi, 1
jne 0x14010ab15
test r15, r15
je 0x14010ab49
cmp r14, 0x10
ja 0x14010ab49
mov r8, r14
mov rdx, r15
mov rcx, rbp
call fcn.14010e9e8
test eax, eax
sete dil
mov eax, edi
jmp 0x14010ab4b
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14010ac28
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor eax, eax
mov rbp, r8
mov qword [rcx], rax
mov rsi, r9
mov qword [rcx + 8], rax
mov r14, rdx
mov qword [rcx + 0x40], rax
mov rbx, rcx
mov qword [rcx + 0x48], rax
lea r8d, [rax + 0xc]
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x180], rax
cmp r9, r8
jne 0x14010ac93
mov rdx, rbp
call fcn.1400df6a0
mov edi, 1
mov byte [rbx + 0xf], dil
jmp 0x14010ad32
mov r12, rsi
mov edi, 1
cmp rsi, 0x10
jb 0x14010acef
mov r14, rsi
mov r15, rbp
shr r14, 4
sub r15, rbx
imul rax, r14, 0xfffffffffffffff0
add rsi, rax
mov rax, r14
shl rax, 4
add rbp, rax
mov rcx, rbx
mov edx, 0x10
mov al, byte [r15 + rcx]
xor byte [rcx], al
add rcx, rdi
sub rdx, rdi
jne 0x14010acc7
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.14010c7ac
add r15, 0x10
sub r14, rdi
jne 0x14010acbf
mov r14, qword [rsp + 0x58]
test rsi, rsi
je 0x14010ad13
mov rcx, rbx
sub rbp, rbx
mov al, byte [rcx + rbp]
xor byte [rcx], al
add rcx, rdi
sub rsi, rdi
jne 0x14010acfa
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.14010c7ac
mov rax, r12
lea rdx, [rbx + 0x60]
shl rax, 3
mov rcx, rbx
bswap rax
xor qword [rbx + 8], rax
call fcn.14010c7ac
mov edi, dword [rbx + 0xc]
bswap edi
lea rdx, [rbx + 0x20]
mov r8, r14
mov rcx, rbx
call qword [rbx + 0x170]
mov rbp, qword [rsp + 0x60]
lea eax, [rdi + 1]
mov rsi, qword [rsp + 0x68]
bswap eax
mov dword [rbx + 0xc], eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14010c6f4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rcx + 8]
mov rbp, r9
mov rdi, qword [rcx]
mov r14, r8
mov r15, rdx
mov rsi, rcx
bswap rbx
bswap rdi
cmp r9, 0x10
jb 0x14010c783
shr rbp, 4
mov r8d, 0x10
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1400df6a0
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
bswap rax
xor rbx, rax
mov rdx, r15
mov rax, qword [rsp + 0x30]
bswap rax
xor rdi, rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
call fcn.14010ca08
mov rdi, qword [rsp + 0x28]
add r14, 0x10
mov rbx, qword [rsp + 0x20]
sub rbp, 1
jne 0x14010c72f
mov rbp, qword [rsp + 0x68]
bswap rbx
mov qword [rsi + 8], rbx
mov rbx, qword [rsp + 0x60]
bswap rdi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14010e9e8
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test r8, r8
je 0x14010ea04
sub rdx, rcx
mov al, byte [rdx + rcx]
xor al, byte [rcx]
inc rcx
or r9b, al
sub r8, 1
jne 0x14010e9f3
movzx eax, r9b
ret

Function at 0x14010ebdc
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
movsxd rbx, ecx
lea rdx, [0x14010ecf4]
mov rsi, r8
lea rcx, [0x14017c510]
call fcn.14010ebac
cmp dword [0x14017c51c], 0
je 0x14010ec1e
mov rcx, rbp
call rsi
xor eax, eax
jmp 0x14010ec94
call fcn.14010ecbc
mov rdi, rax
test rax, rax
jne 0x14010ec66
lea ecx, [rax + 0x18]
call fcn.14010ea60
mov rdi, rax
test rax, rax
je 0x14010ec15
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x18]
call fcn.1400dfb10
mov ecx, dword [0x14017c518]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14010ec66
mov rcx, rdi
call fcn.14010ea24
jmp 0x14010ec15
lea rcx, [0x14017c4f0]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rax, [0x14017c4f8]
lea rcx, [0x14017c4f0]
mov qword [rax + rbx*8], rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, 1
mov qword [rdi + rbx*8], rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14010ecbc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14017c518]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400098e0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10088
call fcn.14002c500
sub rsp, rax
mov rax, qword [0x140066a38]
xor rax, rsp
mov qword [rsp + 0x10070], rax
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.140026f70
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14000995d
lea rcx, [rsp + 0x70]
call fcn.14003e6ec
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14002c4d0
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14002c4d0
add rsp, 0x10088
ret

Function at 0x140009a10
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140066a38]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x14004c3a8]
call fcn.1400098e0
xor edi, edi
mov qword [0x1400684a8], rax
lea rdx, [0x14004c3a8]
mov word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
lea r8d, [rdi + 0x28]
call fcn.140026f70
lea rdx, [0x14004c3b0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, str.PYTHONHOME
call fcn.1400098e0
mov cl, 1
mov qword [0x1400684b0], rax
call fcn.140028120
lea r8d, [rdi + 0x28]
mov word [rsp + 0x20], di
lea rdx, str.PYTHONHOME
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140026f70
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov cl, 1
call fcn.140028120
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002c4d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140009fa0
Capabilities:
Set environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140066a38]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
call fcn.140018400
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python311.dll_PyObject_GetAttrString]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.python311.dll_PyUnicode_FromString]
mov rdx, rsi
lea rcx, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.140026f70
lea rcx, [rsp + 0x20]
test r14, r14
je 0x14000a063
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, r14
call sub.python311.dll_PyUnicode_FromWideChar
mov r8, rax
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.python311.dll_PyObject_SetItem]
test eax, eax
je 0x14000a051
mov ecx, 1
call qword [sym.imp.python311.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python311.dll_Py_Exit]
int3
sub qword [rsi], 1
jne 0x14000a083
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14000a083
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python311.dll_PyObject_DelItem]
test eax, eax
je 0x14000a083
mov rcx, rbp
call fcn.140009420
sub qword [rdi], 1
jne 0x14000a093
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x14000a0a3
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002c4d0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
test edx, edx
je 0x1400270e4
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
xor eax, edx
mov edx, eax
and dl, 1
neg dl
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
sub r9, 1
jne 0x140027040
not eax
ret
Function at 0x14002cf48
Capabilities:
Parse pe header

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

Function at 0x140031f04
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140031d63
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140031d63
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140031d63
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140031d63
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140031d63
cmp dword [rcx + 0x84], 0xe
jbe 0x140031d63
cmp dword [rcx + 0xf8], 0
je 0x140031d63
mov ecx, ebx
call fcn.140031e20
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140031bf0
nop
cmp dword [rbp + 0x20], 0
je 0x140031db1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140031dbc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140031cf4
Function at 0x1400437f4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14004387b
mov rsi, rbx
cmp word [rax], bp
je 0x14004383a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140043824
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140043820
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003eee0
mov rdi, rax
test rax, rax
je 0x140043868
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14002d270
mov rbp, rdi
xor ecx, ecx
call fcn.14003fa00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x100010c60
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100014170]
jne 0x100010c7b
rol rcx, 0x10
test cx, 0xffff
jne 0x100010c77
ret 0
ror rcx, 0x10
jmp 0x10001109c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1000142d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1000143c8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100011121
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1000142d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x100011143
mov rax, qword [rsp + 0x88]
mov qword [0x1000143c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100014368], rax
mov rax, qword [0x1000143c8]
mov qword [0x100014240], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100014350], rax
mov dword [0x100014230], 0xc0000409
mov dword [0x100014234], 1
mov rax, qword [0x100014170]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100014178]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000016c0]
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, 0x88
ret

Function at 0x100010f38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100010f85
cmp rcx, 0xffffffffffffffff
je 0x100010f85
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100010f7d
cmp dword [rcx + 0x3c], edx
jl 0x100010f7d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100010f7d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100010f85
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400024bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002506
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002506
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002506
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002506
cmp dword [rcx + 0x84], 0xe
jbe 0x140002506
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002508
xor al, al
add rsp, 0x28
ret
Function at 0x140001140
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea r9, [rdx + 2]
mov rdi, rdx
mov rbx, rcx
movabs rbp, 0xaaaaaaaaaaaaaaab
mov rax, rbp
mov rsi, r8
mul r9
shr rdx, 1
shl rdx, 2
mov rcx, rdx
mov qword [r8], rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, rax
test rax, rax
je 0x140001290
xor eax, eax
lea r11, [0x140000000]
test rdi, rdi
je 0x140001252
mov r9, r10
movsxd rcx, eax
cmp rcx, rdi
jae 0x1400011b7
movzx edx, byte [rbx]
inc eax
inc rbx
jmp 0x1400011b9
xor edx, edx
movsxd rcx, eax
cmp rcx, rdi
jae 0x1400011cc
movzx r8d, byte [rbx]
inc eax
inc rbx
jmp 0x1400011cf
xor r8d, r8d
movsxd rcx, eax
cmp rcx, rdi
jae 0x1400011e1
movzx ecx, byte [rbx]
inc eax
inc rbx
jmp 0x1400011e3
xor ecx, ecx
shl rdx, 8
add rdx, r8
shl rdx, 8
add rdx, rcx
mov rcx, rdx
shr rcx, 0x12
movzx ecx, byte [rcx + r11 + 0x3ae0]
mov byte [r9], cl
mov rcx, rdx
shr rcx, 0xc
and ecx, 0x3f
movzx ecx, byte [rcx + r11 + 0x3ae0]
mov byte [r9 + 1], cl
mov rcx, rdx
shr rcx, 6
and edx, 0x3f
and ecx, 0x3f
movzx ecx, byte [rcx + r11 + 0x3ae0]
mov byte [r9 + 2], cl
movzx ecx, byte [rdx + r11 + 0x3ae0]
mov byte [r9 + 3], cl
add r9, 4
movsxd rcx, eax
cmp rcx, rdi
jb 0x1400011a5
mov rax, rbp
mul rdi
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rdi, rax
movsxd rdx, dword [r11 + rdi*4 + 0x3ad0]
test rdx, rdx
jle 0x14000128d
mov rcx, qword [rsi]
dec rcx
add rcx, r10
nop dword [rax + rax]
mov byte [rcx], 0x3d
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x140001280
mov rax, r10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001c50
Capabilities:
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x830
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor ebx, ebx
mov rsi, rdx
mov ebp, ecx
mov edx, 0x400
lea rcx, [rsp + 0x420]
mov r15d, ebx
mov r14d, ebx
mov r12d, ebx
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, edi
lea rdx, str._d__d
mov r8d, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea ecx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rcx, [rsp + 0x420]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov qword [0x140005618], rdi
cmp ebp, 1
jne 0x140001d1d
mov rdx, qword [rsi]
lea rcx, str.USAGE:_n_s_send_filename__block_size___start_offset___end_offset__n_s_receive_filename_ndefault_blocksize_is_512KB__default_offset_is_0_and_end_offset_is_end_of_the_file_n
mov r8, rdx
call fcn.140001020
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.VERY_IMPORTANT____DO_NOT_USE_CLIPBOARD_WHILE_THIS_IS_RUNNING__________n
call fcn.140001020
mov rdx, qword [rsi + 8]
lea r8, str.send
mov rcx, rbx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001dab
cmp rcx, 5
jne 0x140001d40
cmp ebp, 3
jle 0x140001d6b
mov rcx, qword [rsi + 0x18]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov r12d, eax
cmp ebp, 4
jle 0x140001d82
mov rcx, qword [rsi + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov r15, rax
cmp ebp, 5
jle 0x140001d99
mov rcx, qword [rsi + 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov r14, rax
mov rcx, qword [rsi + 0x10]
mov r9d, r12d
mov r8, r14
mov rdx, r15
call fcn.1400017b0
mov rcx, qword [rsi + 8]
lea rdx, str.receive
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
inc rbx
cmp al, byte [rdx + rbx - 1]
jne 0x140001dd5
cmp rbx, 8
je 0x140001e03
jmp 0x140001dc0
xor eax, eax
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140001e20
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [rsi + 0x10]
call fcn.140001480
int3

Function at 0x1400026ec
Capabilities:
Parse pe header

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