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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r14d, 4
lea rbx, [rcx + 0x10290]
mov ebp, r14d
lea rsi, [rcx + 0x10698]
mov r10, rcx
lea r15, [0x140306970]
xor edi, edi
nop dword [rax + rax]
mov eax, dword [r10 + 0x10e90]
xor r11d, r11d
test eax, eax
je 0x14011d8d7
nop
xor r9d, r9d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r10 + rcx*2 + 0x6efc]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r15]
add r9d, ecx
cmp eax, 1
jne 0x14011d890
mov dword [rbx + r11*4], r9d
inc r11d
mov eax, dword [r10 + 0x10e90]
cmp r11d, eax
jb 0x14011d880
mov edx, recv
cmp eax, edx
jbe 0x14011d900
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
shr eax, 1
inc edx
shl eax, 4
sub eax, 0x50
add dword [rcx], eax
cmp edx, dword [r10 + 0x10e90]
jb 0x14011d8e0
nop dword [rax]
mov eax, dword [rbx]
add rdi, 0x40
mov dword [rsi - 8], eax
mov eax, dword [rbx + 4]
mov dword [rsi - 4], eax
mov eax, dword [rbx + 8]
mov dword [rsi], eax
mov eax, dword [rbx + 0xc]
add rbx, 0x100
mov dword [rsi + 4], eax
add rsi, 0x200
sub rbp, 1
jne 0x14011d870
lea rdi, [r10 + 0x10aa0]
nop dword [rax]
cmp r14d, 4
ja 0x14011d94b
mov edx, r14d
jmp 0x14011d95d
bsr edx, r14d
mov eax, r14d
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
lea edx, [rax + rdx*2]
mov r9d, edx
mov r11d, edx
shr r9d, 1
mov eax, edx
and eax, 1
dec r9d
or eax, 2
mov ecx, r9d
shl eax, cl
mov ebx, r14d
sub ebx, eax
mov ebp, eax
xor r8d, r8d
lea esi, [r8 + 1]
mov eax, esi
mov edx, ebx
sub rax, r11
shr ebx, 1
add rax, rbp
and edx, 1
movzx ecx, word [r10 + rax*2 + 0x70fa]
lea esi, [rdx + rsi*2]
mov eax, edx
shr rcx, 4
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r15]
add r8d, eax
add r9d, 0xffffffff
jne 0x14011d984
mov ecx, dword [r10 + r11*4 + 0x10290]
inc r14d
add ecx, r8d
mov dword [rdi - 0x400], ecx
mov ecx, dword [r10 + r11*4 + 0x10390]
add ecx, r8d
mov dword [rdi - 0x200], ecx
mov ecx, dword [r10 + r11*4 + 0x10490]
add ecx, r8d
mov dword [rdi], ecx
mov ecx, dword [r10 + r11*4 + 0x10590]
add ecx, r8d
mov dword [rdi + 0x200], ecx
add rdi, 4
cmp r14d, 0x80
jb 0x14011d940
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov dword [r10 + 0x10e94], r9d
pop r15
pop r14
ret
Function at 0x14011db20
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov r10d, dword [rcx + 0xb94]
mov r11, rcx
mov ecx, 8
sub ecx, r10d
shr r8d, cl
mov ecx, r10d
mov eax, dword [r11 + 0xb98]
xor r10d, r10d
and eax, edx
shl eax, cl
mov ecx, dword [rsp + 0x38]
add r8d, eax
add ecx, 0x100
lea rdi, [r8 + r8*2]
shl rdi, 9
add rdi, r11
lea r11, [0x140306970]
test r9b, r9b
jne 0x14011dba6
nop dword [rax]
mov r8d, ecx
shr ecx, 1
and r8d, 1
neg r8d
shr r8, 4
movzx r9d, word [rdi + rcx*2 + 0xb9c]
and r8d, 0x7f
shr r9, 4
xor r9, r8
movzx edx, byte [r9 + r11]
add r10d, edx
cmp ecx, 1
jne 0x14011db70
mov eax, r10d
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov r9d, 0x100
mov ebx, dword [rsp + 0x30]
nop word [rax + rax]
mov edx, ecx
add ebx, ebx
shr edx, 8
mov eax, r9d
and eax, ebx
add eax, r9d
add edx, eax
movzx r8d, word [rdi + rdx*2 + 0xb9c]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr r8, 4
neg edx
shr rdx, 4
and edx, 0x7f
xor r8, rdx
movzx eax, byte [r8 + r11]
add r10d, eax
mov eax, ebx
xor eax, ecx
not eax
and r9d, eax
cmp ecx, 0x10000
jb 0x14011dbc0
mov rbx, qword [rsp + 0x10]
mov eax, r10d
pop rdi
ret
Function at 0x1401534c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0xa8]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x1401536df
mov qword [rsp + 0x68], rbp
xor r9d, r9d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r14
nop dword [rax]
nop word [rax + rax]
movsxd rbp, dword [rsi + 0x10]
lea r12, [rdi + 0x88]
mov r15d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140153538
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x140153548
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xe8]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x140153575
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.14018ec70
jmp 0x1401535a0
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], WSACleanup
mov r9, qword [r9 + 0x68]
call fcn.1401e4440
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1401535e4
mov edx, 5
mov rcx, rdi
call fcn.14018ece0
test eax, eax
jne 0x1401536c6
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], gethostbyname
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], pe_nt_image_headers64
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rdi + 0x90], 5
test rdx, rdx
je 0x1401536c6
mov dword [rdx + 0x3c], r14d
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x54], ecx
mov ecx, 8
mov word [rdx + 0x4a], cx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x50], r14d
test r14d, r14d
je 0x1401536b5
movzx eax, byte [rbx + 0x1f]
cmp al, cl
jae 0x1401536b5
mov dword [rbx + rax*4 + 0xe8], r14d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x60]
test rsi, rsi
jne 0x140153510
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140165f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
sub rsp, 0x68
movzx eax, byte [rdx]
mov r14, rdx
mov rdi, rcx
cmp al, 0xb0
jne 0x140165f19
movzx eax, byte [rdx + 2]
cmp al, 0xb1
jne 0x140165f23
mov rax, qword [rdx + 0x20]
jmp 0x140165f33
cmp al, 0x8a
jne 0x1401660b7
mov rax, qword [rdx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1401660b7
mov dword [r8], 0
cmp byte [rdx], 0x8a
jne 0x140165f5a
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.1401bf140
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x1401660a2
mov qword [rsp + 0x80], rbx
lea rcx, [0x1401f74d0]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r15
lea r13, [fcn.140167440]
xor r15d, r15d
mov qword [rsp + 0x98], rsi
lea edx, [r15 + 2]
nop dword [rax + rax]
cmp byte [rdi + 0x23], 0
mov rax, qword [r14 + 0x20]
mov rbx, qword [rax + r15 + 8]
je 0x140166010
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x140166000
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140212200
cmp word [rsp + 0x44], 0
je 0x140166010
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1401c95a0
jmp 0x140166050
mov rsi, qword [rdi]
test rbx, rbx
je 0x14016602c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140166470
mov rbx, rax
cmp byte [rsi + 0x67], 0
jne 0x140166040
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1401c7a00
test rbx, rbx
je 0x140166050
mov rdx, rbx
mov rcx, rsi
call fcn.1401cbc20
inc ebp
lea rcx, [0x1401f74d0]
add r15, 0x20
mov edx, 2
sub r12, 1
jne 0x140165fc0
mov eax, dword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.1401cb160
Function at 0x1401abf60
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.1401e3f40
test ebx, ebx
jne 0x1401abfc9
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.1401e3f40
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1401cec10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x1401ced19
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, [0x1403116d8]
mov qword [rsp + 0x20], r15
lea r15, [0x14030df60]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x1401cec91
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1401ceccc
test ecx, ecx
jne 0x1401cecda
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.1401694a0
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1401cecb0
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x1401cec50
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x1401cecdf
inc r8
jmp 0x1401cec80
test r10d, r10d
jne 0x1401ceca9
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1401ced05
test edx, edx
je 0x1401cec91
inc rax
jmp 0x1401cecf0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x1401ceca9
inc rax
jmp 0x1401cecf0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14023f6d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14023f6f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14023f6f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140262d00
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14035a4a8]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140317480]
mov rbp, rcx
call fcn.14001ce0c
xor edi, edi
test rax, rax
je 0x140262de6
mov ebx, edi
call fcn.1400155c4
mov r14d, dword [rax]
call fcn.1400155c4
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140285778
mov rsi, rax
test rax, rax
je 0x140262d77
call fcn.1400155c4
mov dword [rax], r14d
jmp 0x140262da1
call fcn.1400155c4
cmp dword [rax], 0x22
jne 0x140262dde
call fcn.1400155c4
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140285778
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140262dde
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140262da5
cmp rax, 3
je 0x140262dc0
mov rcx, rsi
call fcn.140262c48
test al, al
je 0x140262dd1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140262dd1
mov dil, 1
mov rcx, rbx
call fcn.14023f7c8
mov al, dil
jmp 0x140262de8
mov rcx, rbx
call fcn.14023f7c8
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14023f100
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140264420
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14023f560
sub rsp, rax
mov rax, qword [0x14035a4a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400258e8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14026446f
mov rax, rbp
jmp 0x140264577
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x366f30]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400292bc
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x366f30]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140264573
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140264573
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400292bc
test rax, rax
js 0x140264573
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140264573
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140264565
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140264565
cmp byte [rcx], 0xd
jne 0x14026454b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14026455a
cmp byte [rcx + 1], 0xa
jne 0x14026455a
inc rcx
jmp 0x14026455a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x35ada0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14026452d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140264577
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14023f100
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14027d4cc
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14035a4a8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14027d516
call fcn.1400155a4
mov dword [rax], recv
call fcn.1400155c4
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140013214
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14023f100
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14027d521
lea eax, [rbx + 1]
jmp 0x14027d503
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14027d501
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14027d503
Function at 0x1402839b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1402839e7
call fcn.1400155c4
mov dword [rax], socket
call fcn.140013214
xor eax, eax
jmp 0x140283a75
mov rdx, r9
mov rcx, r8
call fcn.140283808
mov rbx, rax
test rax, rax
je 0x140283a72
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140283610]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140283a5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140015538
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140283a46
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140283a55
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140010ffc
jmp 0x140283a72
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140283a6f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14028a3d8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14028a3ee
mov al, 1
jmp 0x14028a44e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14028a3ff
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14028a44c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140015e64
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14028a44c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14028a44c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14028a44c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14028a44e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14028cde0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400292c4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400292c4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14028cf30
cmp rax, 0xffffffffffffffff
je 0x14028cf30
xor edi, edi
test rbp, rbp
jle 0x14028cedb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140011834
mov rbx, rax
test rax, rax
jne 0x14028ce68
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14028ced1
mov edx, 0x8000
mov ecx, r14d
call fcn.14000c5d0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400267a4
cmp eax, 0xffffffff
je 0x14028ceb1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14028ce78
mov edx, r15d
mov ecx, r14d
call fcn.14000c5d0
jmp 0x14028ced1
cmp byte [rsi + 0x38], dil
je 0x14028cec8
cmp dword [rsi + 0x34], 5
jne 0x14028cec8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14028ced1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140010ffc
jmp 0x14028cf44
jns 0x14028cf44
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400292c4
cmp rax, 0xffffffffffffffff
jne 0x14028cefc
cmp byte [rsi + 0x30], dil
je 0x14028cf44
mov edi, dword [rsi + 0x2c]
jmp 0x14028cf44
mov ecx, r14d
call fcn.140015e64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14028cf44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14028cf44
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14028cf3d
mov eax, dword [rsi + 0x2c]
jmp 0x14028cf42
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400292c4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140299080
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1402992d0
mov r11d, eax
lea edx, [rax*4]
movsxd r9, edx
test edx, edx
jle 0x1402990fd
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rcx, [rbx + 8]
nop
mov edx, dword [rcx - 8]
add r10, 4
mov eax, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rcx - 8], eax
lea rcx, [rcx + 0x10]
mov eax, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rcx - 0x14]
mov dword [rcx - 0x14], eax
mov eax, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rcx - 0x10]
mov dword [rcx - 0x10], eax
mov eax, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rcx - 0xc]
mov dword [rcx - 0xc], eax
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x1402990b0
cmp r11d, 1
jle 0x1402992b9
mov qword [rsp + 0x30], rdi
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
add rbx, 4
nop dword [rax + rax]
mov r9d, dword [rbx + 0x10]
lea rbx, [rbx + 0x10]
mov edx, dword [rbx - 4]
movzx eax, byte [rbx - 3]
movzx ecx, byte [rdi + rax*4 + 0x320b00]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x321700]
movzx eax, byte [rdi + rax*4 + 0x320b00]
xor r8d, dword [rdi + rax*4 + 0x320f00]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x320b00]
movzx eax, byte [rbx - 2]
xor r8d, dword [rdi + rcx*4 + 0x321b00]
movzx ecx, byte [rdi + rax*4 + 0x320b00]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x321300]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x320b00]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x321300]
movzx eax, byte [rdi + rcx*4 + 0x320b00]
xor r8d, dword [rdi + rax*4 + 0x321700]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x320b00]
movzx eax, r9b
mov r9d, dword [rbx + 4]
xor r8d, dword [rdi + rcx*4 + 0x320f00]
movzx ecx, byte [rdi + rax*4 + 0x320b00]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x321b00]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx], r8d
movzx edx, byte [rdi + rcx*4 + 0x320b00]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x321300]
movzx eax, byte [rdi + rcx*4 + 0x320b00]
xor r8d, dword [rdi + rax*4 + 0x321700]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x320b00]
movzx eax, r9b
mov r9d, dword [rbx + 8]
xor r8d, dword [rdi + rcx*4 + 0x320f00]
movzx ecx, byte [rdi + rax*4 + 0x320b00]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x321b00]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x320b00]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x321300]
movzx eax, byte [rdi + rcx*4 + 0x320b00]
xor r8d, dword [rdi + rax*4 + 0x321700]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x320b00]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x320f00]
movzx ecx, byte [rdi + rax*4 + 0x320b00]
xor r8d, dword [rdi + rcx*4 + 0x321b00]
mov dword [rbx + 8], r8d
sub r10, 1
jne 0x140299120
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x140003e00
Capabilities:
Parse pe header

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [rcx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x4c
je 0x140003e70
jg 0x140003e30
sub edx, 0x49
cmp dl, 1
ja 0x140003e80
add rax, 1
mov qword [rcx + 0x18], rax
add rsp, 0x30
pop rsi
jmp fcn.140003ea0
cmp dl, 0x58
jne 0x140003e80
add rax, 1
mov esi, dword [rcx + 0x4c]
mov dword [rcx + 0x4c], 1
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x28], rcx
call fcn.140004170
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x18]
mov dword [rcx + 0x4c], esi
cmp byte [rdx], 0x45
jne 0x140003e90
add rdx, 1
mov qword [rcx + 0x18], rdx
add rsp, 0x30
pop rsi
ret
add rsp, 0x30
pop rsi
jmp fcn.140003c20
add rsp, 0x30
pop rsi
jmp fcn.140002570
xor eax, eax
jmp 0x140003e6a