joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a9188
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, [rcx + 0x18]
mov rax, rcx
neg rax
mov rdi, rcx
sbb rdx, rdx
and rdx, r8
xor r8d, r8d
mov rbx, qword [rdx]
xor edx, edx
mov rcx, rbx
call fcn.1401e115c
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401e35a8
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test rax, rax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400a91e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, [rcx + 0x18]
mov rax, rcx
neg rax
mov rdi, rcx
sbb rdx, rdx
and rdx, r8
xor r8d, r8d
mov rbx, qword [rdx]
xor edx, edx
mov rcx, rbx
call fcn.1401e115c
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401e1f94
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401e98f4

Function at 0x1400a92c8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
lea rbx, [0x14030c3a0]
mov r8, rcx
mov ebp, 0x1000
mov dword [rax - 0x10], ebp
or r9d, 0xffffffff
xor edx, edx
mov qword [rax - 0x18], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, str.rbN
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e07f0
xor edi, edi
test eax, eax
je 0x1400a9351
mov dword [rsp + 0x28], ebp
or r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402dab60]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e07f0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1400a9362
xor eax, eax
jmp 0x1400a9484
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401e115c
mov rcx, qword [rsp + 0x58]
call fcn.1401dc47c
mov ebp, reloc.WS2_32.dll_recv
cmp eax, ebp
jge 0x1400a93ee
test rsi, rsi
je 0x1400a9395
mov edx, 0x104
mov rcx, rsi
call fcn.1401e2fdc
mov rdi, rax
lea eax, [rdi + 0x1011]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009f674
mov rdx, rsi
mov rbx, rax
mov dword [rax + 4], 0x1f4000
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov rcx, rax
call fcn.1400a9234
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.1401e1f94
mov rcx, qword [rsp + 0x58]
call fcn.1401e98f4
jmp 0x1400a9481
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
call fcn.1401e115c
test rsi, rsi
jne 0x1400a9407
mov rax, rdi
jmp 0x1400a9414
mov edx, 0x104
mov rcx, rsi
call fcn.1401e2fdc
add eax, 0x1011
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009f674
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rax
mov rbx, rax
call fcn.1401e35a8
cmp rax, rbp
je 0x1400a945e
mov rcx, rbx
call fcn.1401e2228
mov rcx, qword [rsp + 0x58]
mov rbx, rdi
call fcn.1401e0da0
jmp 0x1400a9481
lea rcx, [rbx + 0x18]
mov rax, rbx
neg rax
mov rax, qword [rsp + 0x58]
sbb rdx, rdx
and rdx, rcx
mov rcx, rbx
mov qword [rdx], rax
mov rdx, rsi
call fcn.1400a9234
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a949c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
lea r12d, [r8 + 8]
mov rax, rcx
lea r9, [rcx + 0x18]
mov r13, rdx
mov r14, rcx
xor r15d, r15d
neg rax
sbb r8, r8
xor edx, edx
and r8, r9
mov rbx, qword [r8]
xor r8d, r8d
mov rcx, rbx
call fcn.1401e115c
lea edi, [r15 + 0x10]
mov r9, rbx
lea esi, [rdi - 0xf]
mov r8d, edi
mov edx, esi
mov rcx, r14
call fcn.1401e35a8
cmp rax, rdi
je 0x1400a9508
mov eax, esi
jmp 0x1400a969b
mov edx, dword [r14 + 0xc]
test edx, edx
je 0x1400a9556
add edx, 4
xor r8d, r8d
mov rcx, rbx
call fcn.1401e115c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8d, 4
mov rdx, rsi
call fcn.1401e35a8
cmp rax, 4
jne 0x1400a9501
mov eax, dword [rbp + 0x40]
mov edi, dword [r14 + 0xc]
add eax, 8
add edi, eax
mov dword [rbp + 0x40], edi
lea eax, [rdi + r12]
cmp eax, dword [r14 + 4]
jbe 0x1400a9559
mov edi, dword [r14 + 8]
mov dword [rbp + 0x40], edi
lea rsi, [r14 + 8]
cmp dword [rsi], r15d
je 0x1400a95a6
cmp edi, dword [rsi]
ja 0x1400a95a6
lea eax, [rdi + r12]
cmp eax, dword [rsi]
jbe 0x1400a95a6
mov edx, dword [rsi]
xor r8d, r8d
mov rcx, rbx
call fcn.1401e115c
mov edi, 1
mov r9, rbx
mov edx, edi
mov rcx, rsi
lea r8d, [rdi + 3]
call fcn.1401e35a8
cmp rax, 4
jne 0x1400a96b0
cmp dword [rsi], 0
mov r15d, edi
mov edi, dword [rbp + 0x40]
jne 0x1400a9562
cmp dword [rsi], 0
mov r12d, 1
jne 0x1400a95b6
mov dword [rsi], edi
mov r15d, r12d
test r15d, r15d
je 0x1400a95e9
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 8]
call fcn.1401e115c
mov r9, rbx
mov r8d, 4
mov rdx, r12
mov rcx, rsi
call fcn.1401e1f94
mov rcx, rbx
call fcn.1401e98f4
mov edi, dword [rbp + 0x40]
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.1401e115c
and dword [rbp + 0x58], 0
lea rcx, [rbp + 0x58]
mov edi, 4
mov r9, rbx
mov r8d, edi
mov rdx, r12
call fcn.1401e1f94
mov r9, rbx
lea rcx, [rbp + 0x50]
mov r8d, edi
mov rdx, r12
call fcn.1401e1f94
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400a963b
mov r8d, eax
mov r9, rbx
mov rdx, r12
mov rcx, r13
call fcn.1401e1f94
mov rcx, rbx
call fcn.1401e98f4
mov edx, dword [r14 + 0xc]
test edx, edx
je 0x1400a9670
xor r8d, r8d
mov rcx, rbx
call fcn.1401e115c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, rdi
mov rdx, r12
call fcn.1401e1f94
mov rcx, rbx
call fcn.1401e98f4
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0xc]
call fcn.1401e115c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, rdi
mov rdx, r12
call fcn.1401e1f94
mov rcx, rbx
call fcn.1401e98f4
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, edi
jmp 0x1400a969b
Function at 0x1400ab038
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movsxd rdi, edx
mov rbx, rcx
mov rcx, rdi
mov rsi, r9
mov rbp, r8
call fcn.1401e3670
mov qword [rbx], rax
mov r9, rax
test rax, rax
je 0x1400ab122
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x60], rsi
test rax, rax
je 0x1400ab095
mov qword [rbx + 0xc0], rax
mov r8, qword [rbx + 0x90]
test r8, r8
je 0x1400ab0d8
mov rax, qword [rbx + 0xc0]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [fcn.1400aaa90]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.1400a2b34
jmp 0x1400ab10d
xor r9d, r9d
xor ecx, ecx
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
and qword [rsp + 0x28], 0
lea r8, [0x1400aa8b4]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
mov qword [rbx + 0x78], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str...microstackILibProcessPipe.c
mov ebx, 0x54d
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, ebx
lea rdx, str...microstackILibProcessPipe.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, edi
call fcn.1401dbf38
int3
Function at 0x1400ab37c
Capabilities:
Write file on windows

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 r15
sub rsp, 0x30
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov edi, 0xfffffffc
test rcx, rcx
je 0x1400ab524
cmp qword [rcx + 0x48], 0
jne 0x1400ab3be
xor ecx, ecx
call fcn.1400a70bc
mov qword [rbx + 0x48], rax
mov rcx, qword [rbx + 0x48]
mov r15d, 1
jmp 0x1400ab3cc
pause
xor eax, eax
lock cmpxchg dword [rcx], r15d
je 0x1400ab3ca
mov rcx, qword [rbx + 0x48]
call fcn.1400a7200
test rax, rax
je 0x1400ab401
mov edx, esi
mov rcx, rbp
call fcn.1400a96b4
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a7424
jmp 0x1400ab493
mov rax, qword [rbx + 0x90]
xor r9d, r9d
mov rcx, qword [rbx + 0x88]
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r15d
jne 0x1400ab42d
mov edi, r15d
jmp 0x1400ab493
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400ab4a2
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.1400a96b4
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a7424
mov edx, 0x60e
lea rcx, str...microstackILibProcessPipe.c
call fcn.1400a2634
mov rdx, qword [rbx + 0x90]
lea r9, [0x1400aa580]
mov rcx, qword [rbx + 0x38]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x20]
call fcn.1400a3148
mov rcx, qword [rbx + 0x48]
mov dword [rcx], 0
jmp 0x1400ab524
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400ab4e5
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400ab4ba
mov rsi, qword [rcx + 8]
jmp 0x1400ab4bc
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.ILibProcessPipe_Write_:_BrokenPipe__d__on_Pipe:__p
mov qword [rsp + 0x28], rbx
mov edx, 0x400
mov dword [rsp + 0x20], eax
mov r8d, 2
mov rcx, rsi
call fcn.1400aba58
mov rax, qword [rbx + 0x48]
mov dword [rax], 0
cmp qword [rbx + 0x58], 0
je 0x1400ab51c
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400ab516
mov rdx, qword [rbx + 0x90]
xor r8d, r8d
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rdx + 0x18]
call fcn.1400a336c
mov rcx, rbx
call qword [rbx + 0x58]
mov rcx, rbx
call fcn.1400a98c4
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, 0x30
pop r15
ret
Function at 0x1400acf00
Capabilities:
Clear file content
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0xe8]
mov r13, rdx
xor edx, edx
movsxd r14, r8d
mov rsi, r9
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.1401e115c
mov rcx, rbx
call fcn.1401dc46c
movsxd rbp, dword [rsp + 0xe0]
mov r12, rax
lea ecx, [rbp + 0x3c]
add ecx, r14d
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, ebp
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x2c]
test rdi, rdi
je 0x1400acf99
mov eax, 0x30
mov r8, rdi
mov r9d, eax
mov edx, eax
call section..text
jmp 0x1400acfa4
xor edx, edx
lea r8d, [rdx + 0x30]
call fcn.1401dad10
mov edx, 1
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r8d, [rdx + 0x3b]
call fcn.1401e1f94
mov r9, rbx
mov r8, r14
mov edx, 1
mov rcx, r13
mov rdi, rax
mov r15, r14
call fcn.1401e1f94
mov rcx, rbx
add rdi, rax
call fcn.1401dc46c
mov r14, rax
test rsi, rsi
je 0x1400acffc
mov r8, rbp
mov r9, rbx
mov edx, 1
mov rcx, rsi
call fcn.1401e1f94
add rdi, rax
mov rcx, rbx
call fcn.1401e98f4
neg rsi
lea rdx, [r15 + 0x3c]
sbb eax, eax
and eax, ebp
cdqe
add rdx, rax
cmp rdi, rdx
jae 0x1400ad056
mov rcx, rbx
call fcn.1401ed400
mov ecx, eax
call fcn.1401ecc30
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, rbx
call fcn.1401ed400
mov ecx, eax
call fcn.1401ecc30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x1400ad059
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401d9840
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ad078
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1140
call fcn.1401d9db0
sub rsp, rax
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x1130], rax
mov r14d, edx
mov rdi, rcx
test rcx, rcx
jne 0x1400ad0bb
xor eax, eax
jmp 0x1400ad22b
lea rbx, [rcx + 0x18]
mov rcx, qword [rcx]
call fcn.1401dc46c
mov rbp, rax
cmp rax, qword [rdi + 0x1020]
je 0x1400ad0b4
cmp r14d, 0x20
je 0x1400ad0ea
mov esi, 0x48
cmp r14d, 0x40
lea eax, [rsi - 0xc]
cmovne esi, eax
jmp 0x1400ad0ef
mov esi, 0x40
mov r9, qword [rdi]
mov r15d, 1
mov edx, r15d
mov r8, rsi
mov rcx, rbx
call fcn.1401e35a8
cmp eax, esi
jge 0x1400ad11a
mov rcx, qword [rdi]
xor r8d, r8d
mov rdx, rbp
call fcn.1401e1154
jmp 0x1400ad0b4
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbx + 4]
mov dword [rbx], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbx + 8]
mov dword [rbx + 4], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 8], eax
mov rcx, qword [rdi]
call fcn.1401dc46c
mov rcx, rax
movsxd rax, dword [rbx + 4]
add rcx, rax
mov eax, 0xff8
sub eax, esi
mov qword [rbx - 8], rcx
cmp dword [rbx + 4], eax
jg 0x1400ad10a
movsxd r8, dword [rbx + 4]
lea rcx, [rsi + rbx]
mov r9, qword [rdi]
mov rdx, r15
call fcn.1401e35a8
cmp eax, dword [rbx + 4]
jne 0x1400ad10a
mov esi, dword [rbx + 8]
lea rcx, [rsp + 0x20]
call fcn.1400ce9e0
test esi, esi
jle 0x1400ad1cf
mov r12d, 0x1000
mov r9, qword [rdi]
lea rcx, [rsp + 0x130]
mov eax, esi
cmp esi, r12d
mov rdx, r15
cmovg eax, r12d
movsxd r8, eax
call fcn.1401e35a8
mov r14, rax
test eax, eax
jle 0x1400ad1cf
movsxd r8, r14d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400cea70
sub esi, r14d
test esi, esi
jg 0x1400ad18d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.1400ce9c0
cmp dword [rbx + 8], 0
jle 0x1400ad228
lea rcx, [rbx + 0xc]
mov r8d, 0x30
lea rdx, [rsp + 0x100]
call fcn.1401daec0
test eax, eax
je 0x1400ad228
movsxd rsi, dword [rbx + 4]
cmp esi, 4
jbe 0x1400ad10a
lea r8d, [rsi - 4]
xor ecx, ecx
lea rdx, [rbx + 0x3c]
call fcn.1400c0e50
cmp eax, dword [rsi + rbx + 0x38]
jne 0x1400ad10a
mov rax, rbx
mov rcx, qword [rsp + 0x1130]
xor rcx, rsp
call fcn.1401d9840
lea r11, [rsp + 0x1140]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400ad70c
Capabilities:
Check if file exists

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 rbx, r9
mov r14, rcx
test r9, r9
je 0x1400ad734
and dword [r9], 0
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
lea rbp, [0x14030c3a0]
test r8d, r8d
mov r8, r14
mov qword [rsp + 0x20], rbp
mov ecx, 0xfde9
jne 0x1400ad84c
test edx, edx
je 0x1400ad781
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 5
jmp 0x1400ad7a2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r8d
mov esi, 1
xor r9d, r9d
mov r8d, esi
mov edx, 0xc0000000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400ad820
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400ad820
test rbx, rbx
je 0x1400ad7d6
mov dword [rbx], esi
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov r8, r14
mov qword [rsp + 0x20], rbp
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov r8d, esi
mov edx, 0xc0000000
mov dword [rsp + 0x20], esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov edx, 2
mov rcx, rdi
call fcn.1401ecca8
cmp eax, 0xffffffff
jne 0x1400ad837
mov rcx, rdi
jmp 0x1400ad8ac
lea rdx, str.wbN
mov ecx, eax
call fcn.1401ed3f8
test rax, rax
jne 0x1400ad8b4
jmp 0x1400ad832
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400ad8b2
xor edx, edx
mov rcx, rax
call fcn.1401ecca8
cmp eax, 0xffffffff
je 0x1400ad8a9
lea rdx, [0x1402d3628]
mov ecx, eax
call fcn.1401ed3f8
test rax, rax
jne 0x1400ad8b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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 0x1400ae934
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1f70]
mov eax, 0x2070
call fcn.1401d9db0
sub rsp, rax
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rbp + 0x1f60], rax
xor r14d, r14d
mov rbx, rcx
test rcx, rcx
je 0x1400aeaf0
mov rax, qword [rcx + 0x1030]
cmp qword [rcx + 0x1028], rax
jb 0x1400aeaf0
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400aeaf0
or r13, 0xffffffffffffffff
lea r8, str..tmp
mov r9, r13
mov rdx, r13
call fcn.1400a818c
lea edi, [r14 + 1]
xor r9d, r9d
mov edx, edi
xor r8d, r8d
mov rcx, rax
mov rsi, rax
call fcn.1400ad70c
mov r15, rax
test rax, rax
jne 0x1400ae9e0
mov rcx, rsi
call fcn.1401e2228
mov eax, edi
jmp 0x1400aeaf5
mov rcx, qword [rbx + 0x1010]
lea rax, [0x1400ae75c]
and dword [rbx + 0x1050], r14d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [0x1400a7720]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], r15
xor r9d, r9d
mov qword [rsp + 0x30], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
call fcn.1400a7da8
cmp dword [rbx + 0x1050], r14d
jne 0x1400aeae3
mov rcx, qword [rbx]
call fcn.1401e0da0
mov rcx, r15
call fcn.1401e0da0
lea rax, [rsp + 0x60]
mov r15d, 0x1000
mov dword [rsp + 0x28], r15d
mov r9d, r13d
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, qword [rbx + 8]
mov r9d, r13d
mov dword [rsp + 0x28], r15d
xor edx, edx
lea r15, [0x14030c3a0]
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea rcx, [rsp + 0x60]
cmove r14d, edi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.1400ad70c
mov qword [rbx], rax
test rax, rax
je 0x1400aeae0
mov rcx, rax
call fcn.1401dc46c
mov qword [rbx + 0x1020], rax
jmp 0x1400aeae3
mov r14d, edi
mov rcx, rsi
call fcn.1401e2228
mov eax, r14d
jmp 0x1400aeaf5
mov eax, 1
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.1401d9840
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x1400afd2c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.1401d9db0
sub rsp, rax
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov r15d, r9d
mov dword [rsp + 0x68], r9d
mov qword [rsp + 0x70], r8
mov r13d, edx
mov dword [rsp + 0x64], edx
mov r14, rcx
call fcn.14009f5c0
test eax, eax
jne 0x1400afd88
mov eax, 0xfffffffc
jmp 0x1400aff57
mov rcx, qword [r14 + 0x3d8]
mov edi, 0xfffffffc
call fcn.1400a3bc8
xor esi, esi
lea r12d, [rdi + 5]
test r15d, r15d
jne 0x1400afdb1
or edx, 0xffffffff
lea ecx, [r13 - 9]
cmp ecx, r12d
cmovbe esi, edx
cmp qword [r14 + 0x3e0], 0
je 0x1400aff55
test rax, rax
je 0x1400aff55
mov rcx, rax
call fcn.1400afc90
mov rcx, qword [r14 + 0x3e0]
mov r13, rax
jmp 0x1400afdde
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x288], r12d
je 0x1400afddc
cmp esi, r15d
jge 0x1400aff44
mov ecx, 0x1000
xor eax, eax
mov edi, r15d
test esi, esi
cmovns eax, esi
sub edi, eax
movsxd r12, eax
add r12, qword [rsp + 0x70]
cmp edi, ecx
cmovg edi, ecx
lea rcx, [rsp + 0x78]
mov r9d, edi
lea esi, [rdi + rax]
cmp esi, r15d
jl 0x1400aff79
cmp dword [r13 + 4], 0
mov edx, 0x8080
jne 0x1400afe3a
movzx r8d, word [rsp + 0x64]
jmp 0x1400afe42
and dword [r13 + 4], 0
xor r8d, r8d
call fcn.1400c248c
mov edx, 4
lea rcx, [rsp + 0x60]
mov r15d, eax
call fcn.1400e7b20
test edi, edi
jle 0x1400afed9
xor edx, edx
movsxd r8, edi
sar r8, 2
xor r9d, r9d
lea r11d, [rdx + 1]
test r8, r8
jle 0x1400afe98
lea rax, [rbp - 0x70]
mov r10, r12
sub r10, rax
mov edx, r8d
lea rax, [r10 + r9*4]
mov ecx, dword [rbp + rax - 0x70]
xor ecx, dword [rsp + 0x60]
mov dword [rbp + r9*4 - 0x70], ecx
add r9, r11
cmp r9, r8
jl 0x1400afe7f
shl edx, 2
cmp edx, edi
jge 0x1400afed9
movsxd rax, edx
lea r8, [rbp - 0x70]
add r8, rax
lea rax, [rbp - 0x70]
sub r12, rax
mov eax, edx
and eax, 0x80000003
jge 0x1400afec2
sub eax, r11d
or eax, 0xfffffffc
add eax, r11d
cdqe
add edx, r11d
mov cl, byte [rsp + rax + 0x60]
xor cl, byte [r8 + r12]
mov byte [r8], cl
add r8, r11
cmp edx, edi
jl 0x1400afeb0
mov edx, 2
movsxd rax, edi
mov dword [rsp + 0x58], edx
lea r9, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov r8d, 0x40000003
lea rax, [rbp - 0x70]
movsxd rcx, r15d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, qword [r14 + 0x3e0]
call fcn.14009a5ec
mov r15d, dword [rsp + 0x68]
mov edi, eax
mov ecx, 0x1000
cmp esi, r15d
jl 0x1400afdf9
mov rcx, qword [r14 + 0x3e0]
mov dword [rcx + 0x288], 0
mov eax, edi
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.1401d9840
add rsp, 0x10a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dword [r13 + 4], 0
mov edx, 0x80
jne 0x1400afe3f
mov dword [r13 + 4], 1
jmp 0x1400afe32
Function at 0x1400b2930
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or r9d, 0xffffffff
mov r10, rcx
test edx, edx
je 0x1400b2965
movsx r8d, byte [r10]
mov eax, r9d
xor r8, rax
mov ecx, r9d
movzx eax, r8b
inc r10
shr ecx, 8
lea r8, [0x140270430]
mov r9d, dword [r8 + rax*4]
xor r9d, ecx
sub edx, 1
jne 0x1400b293b
not r9d
mov eax, r9d
ret

Function at 0x1400c02bc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rbx, r9
movsx ecx, byte [rcx + 1]
sub ecx, 1
je 0x1400c0386
cmp ecx, 1
jne 0x1400c03b0
lea edx, [rcx + 0xb]
mov dword [rsp + 0x20], 0x2112a442
mov r9d, edx
lea rcx, [rsp + 0x24]
call section..text
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], eax
mov eax, reloc.WS2_32.dll_socket
mov word [rbx], ax
lea ecx, [rax - 7]
call qword [sym.imp.WS2_32.dll_htonl]
xor edx, edx
mov r8, rdi
cmp eax, 0x10
jne 0x1400c0366
lea rax, [rsp + 0x20]
mov r9, rbx
sub r8, rax
lea rax, [rsp + 0x20]
sub r9, rax
lea rcx, [rsp + 0x20]
add rcx, rdx
inc rdx
mov al, byte [r8 + rcx + 4]
xor al, byte [rcx]
mov byte [r9 + rcx + 8], al
cmp rdx, 0x10
jl 0x1400c0347
jmp 0x1400c03b0
lea rcx, [rbx + 0x17]
sub r8, rbx
mov al, byte [r8 + rcx - 4]
xor al, byte [rsp + rdx + 0x20]
inc rdx
mov byte [rcx], al
dec rcx
cmp rdx, 0x10
jl 0x1400c036d
jmp 0x1400c03b0
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
xor ecx, ecx
xor eax, 0x2112a442
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov ecx, 2
mov word [rbx], cx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbx + 4], eax
movzx ecx, word [rdi + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x2112
xor cx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 2], ax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401d9840
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret