joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005178
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400051a7
call fcn.140005998
jmp 0x14000521e
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400051be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400051c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005218
test ecx, ecx
jle 0x1400051f9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.1400b29f0
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140005218
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005218
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.140089cf4
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140005238
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005258
xor eax, eax
jmp 0x14000533e
cmp qword [rcx + 0x68], 0
je 0x140005269
call fcn.140005a5c
jmp 0x14000533e
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005280
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005282
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400052b4
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400b29f0
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140005338
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400052eb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140005314
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14008b358
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x140005338
cmp rdi, rbx
ja 0x1400052f2
test rdi, rdi
je 0x140005338
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.14008b358
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005714
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x14000574d
xor eax, eax
jmp 0x14000586b
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140005787
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x140005787
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x14000586b
cmp qword [rbx + 0x80], 0
je 0x140005869
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400057c2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400057e2
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.1400891f8
cmp eax, edi
jmp 0x140005866
lea r8, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x2f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x30]
call qword [rax + gethostname]
test eax, eax
je 0x140005830
sub eax, 1
je 0x140005830
cmp eax, 2
jne 0x140005869
movsx ecx, byte [rbp - 0x30]
jmp 0x1400057cf
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x14000585a
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.140089cf4
cmp r14, rax
jne 0x140005869
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140029540
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000654c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400065bb
cmp byte [rcx + 0x71], 0
je 0x1400065bb
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000660f
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x1400065d5
sub eax, 1
je 0x1400065d9
cmp eax, 2
jne 0x14000660f
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140029540
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006606
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140089cf4
cmp rdi, rax
jne 0x14000660f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400065bd
xor al, al
jmp 0x1400065bd
Function at 0x14000ea70
Capabilities:
Encode data using xor
Hash data with crc32

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
push r15
or ebx, 0xffffffff
lea r15, [0x1400d61a0]
mov rdi, rdx
mov r14, rcx
cmp rdx, 0x140
jb 0x14000ebdb
lea rsi, [rdx - 0x100]
shr rsi, 6
imul rax, rsi, 0xffffffffffffffc0
add rdi, rax
mov ebp, 4
xor ebx, dword [r14]
mov r9d, dword [r14 + 4]
mov r10d, dword [r14 + 8]
mov r11d, dword [r14 + 0xc]
add r14, 0x10
mov r8d, ebx
mov eax, ebx
shr rax, 0x10
movzx edx, al
mov eax, ebx
shr rax, 8
movzx ecx, al
mov eax, r9d
mov ebx, dword [r15 + rdx*4 + 0x3400]
shr rax, 0x10
xor ebx, dword [r15 + rcx*4 + 0x3800]
movzx ecx, al
mov eax, r9d
shr rax, 8
xor ebx, dword [r15 + rcx*4 + 0x2400]
movzx ecx, al
mov eax, r10d
shr rax, 0x10
xor ebx, dword [r15 + rcx*4 + 0x2800]
movzx ecx, al
mov eax, r10d
shr rax, 8
xor ebx, dword [r15 + rcx*4 + 0x1400]
movzx ecx, al
mov eax, r11d
shr rax, 0x10
xor ebx, dword [r15 + rcx*4 + 0x1800]
movzx ecx, al
mov eax, r11d
shr rax, 8
xor ebx, dword [r15 + rcx*4 + 0x400]
movzx ecx, al
mov eax, r8d
shr rax, 0x18
xor ebx, dword [r15 + rcx*4 + 0x800]
xor ebx, dword [r15 + rax*4 + 0x3000]
mov eax, r9d
shr rax, 0x18
xor ebx, dword [r15 + rax*4 + 0x2000]
mov eax, r10d
shr rax, 0x18
xor ebx, dword [r15 + rax*4 + 0x1000]
mov eax, r11d
shr rax, 0x18
xor ebx, dword [r15 + rax*4]
movzx eax, r8b
xor ebx, dword [r15 + rax*4 + 0x3c00]
movzx eax, r9b
xor ebx, dword [r15 + rax*4 + 0x2c00]
movzx eax, r10b
xor ebx, dword [r15 + rax*4 + 0x1c00]
movzx eax, r11b
xor ebx, dword [r15 + rax*4 + 0xc00]
sub rbp, 1
jne 0x14000eabb
sub rsi, 1
jne 0x14000eab6
test rdi, rdi
je 0x14000ebfa
movzx eax, byte [r14]
inc r14
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r15 + rcx*4]
sub rdi, 1
jne 0x14000ebe0
mov rbp, qword [rsp + 0x20]
not ebx
mov rsi, qword [rsp + 0x28]
mov eax, ebx
mov rbx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x14000edc8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x70], WSAGetLastError
xor esi, esi
mov qword [rsp + 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400dac30]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x50], esi
mov qword [rbp - 0x48], rsi
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r8d, [rsi + 7]
lea rdx, [0x1400da1a0]
lea rcx, [rsp + 0x50]
call fcn.140007e58
nop
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 8]
call fcn.14000ec20
nop
lea rcx, [rsp + 0x50]
call fcn.1400069bc
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rdx, qword [rbp - 8]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x28
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000eebf
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000eec9
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 8]
call fcn.1400069bc
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140029540
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000efb8
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov edx, 0x2a
mov rbx, rcx
call fcn.1400842d8
xor edi, edi
mov rcx, rbx
test rax, rax
je 0x14000f158
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000f163
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x6c]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x14000f031
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140008134
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x14000f0ea
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000f0a5
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f0a0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1a8
call fcn.140029560
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000f016
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140029540
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 5
je 0x14000f113
cmp edi, 0x20
je 0x14000f10c
mov ebx, 4
jmp 0x14000f118
mov ebx, 2
jmp 0x14000f118
mov ebx, 3
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000f151
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f14c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1a8
call fcn.140029560
mov eax, ebx
jmp 0x14000f0c6
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000f16d
mov eax, 1
jmp 0x14000f0c6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14000f0c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 5
je 0x14000f19e
mov eax, 2
cmp ecx, 0x20
lea ebx, [rax + 2]
cmovne eax, ebx
jmp 0x14000f0c6
mov eax, 3
jmp 0x14000f0c6
call fcn.14008b86c
int3
Function at 0x14000f1b0
Capabilities:
Connect socket
Convert ip address from string
Get socket status
Initialize winsock library
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
lea rbx, [rcx + 0x18]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], r14
mov byte [rbx], 0
mov r8, qword [rdx + 0x10]
mov r12d, 0x1000
test r8, r8
je 0x14000f2ba
movups xmmword [rsp + 0x40], xmm0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
cmp qword [rdx + 0x18], r14
jbe 0x14000f235
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.1400081f4
nop
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x14000f267
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], r14
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14000c718
mov ecx, 0x202
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000f324
mov rdx, qword [rsp + 0x58]
cmp rdx, r14
jbe 0x14000f2ba
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x14000f2b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f400
call fcn.140029560
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, r14
jbe 0x14000f2ef
inc rdx
mov rcx, qword [rdi]
cmp rdx, r12
jb 0x14000f2ea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f406
mov rcx, r8
call fcn.140029560
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], r14
mov byte [rdi], 0
mov rax, rsi
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.140029540
mov rbx, qword [rsp + 0x470]
add rsp, 0x430
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
lea edx, [r8 + 1]
lea ecx, [rdx + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x14000f281
mov dword [rsp + 0x60], 1
lea r8, [rsp + 0x60]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lea rbx, [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov word [rbx], 2
mov ecx, gethostname
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsi + 0xa], ax
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], r14
cmova rdx, qword [rsp + 0x40]
lea r8, [rsi + 0xc]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x68], 3
and dword [rsp + 0x6c], 0
mov rax, qword [rsi]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x14000f281
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x14000f281
call fcn.14008b86c
nop
call fcn.14008b86c
int3
Function at 0x140011e70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x140011edb
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x140011e9e
mov ecx, dword [r9]
jmp 0x140011fa9
cmp ecx, 0x4e0
jb 0x140011fa9
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx + 0x630]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x140011f01
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov edi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx - 0xd50]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rsi, 1
jne 0x140011f42
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x1400178bc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
xor edi, edi
mov qword [rbp - 0x29], r8
mov qword [rbp - 0x21], r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14001790b
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.1400081f4
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140017934
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.1400081f4
nop
mov ecx, 0x50
call fcn.140029568
mov rbx, rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], rax
mov rcx, qword [rbp - 0x29]
mov qword [rax], rcx
mov rcx, qword [rbp - 0x21]
mov qword [rax + 8], rcx
lea rcx, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
call fcn.1400081f4
nop
lea rcx, [rbx + 0x30]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
call fcn.1400081f4
nop
mov qword [rbp + 0x37], rbx
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x14001ca2c]
xor edx, edx
xor ecx, ecx
call fcn.14008f52c
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140017a3e
cmp dword [rbp - 0x31], edi
je 0x140017a33
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call fcn.140028d48
test eax, eax
jne 0x140017a33
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x29]
call fcn.140019350
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140029540
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call fcn.1400288d0
nop
mov dword [rbp - 0x31], edi
mov ecx, 6
call fcn.1400288d0
int3
Function at 0x14001cdc8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rbx, [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14001ce16
mov rdx, qword [rdx]
mov r8, qword [rbx]
lea rcx, [rbp - 0x30]
call fcn.1400081f4
nop
lea r9, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
cmova r9, rcx
mov r8, qword [rbp - 0x20]
add r9, r8
lea rax, [rbp - 0x30]
cmp rdx, 0xf
cmova rax, rcx
cmp rax, r9
je 0x14001ce6b
cmp byte [rax], 0x7e
jne 0x14001ce57
mov byte [rax], 0x2b
inc rax
cmp rax, r9
jne 0x14001ce4f
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
lea r9, [rbp - 0x30]
cmp rdx, 0xf
cmova r9, rcx
add r9, r8
lea rax, [rbp - 0x30]
cmp rdx, 0xf
cmova rax, rcx
jmp 0x14001ce93
cmp byte [rax], 0x2e
jne 0x14001ce90
mov byte [rax], 0x2f
inc rax
cmp rax, r9
jne 0x14001ce88
mov edx, dword [rbx]
neg rdx
and edx, 3
mov r8b, 0x3d
lea rcx, [rbp - 0x30]
call fcn.140008c44
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rbx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
cmova rcx, qword [rbp - 0x30]
mov r12, qword [rbp - 0x20]
add r12, rcx
cmp rbx, r12
je 0x14001cf3c
mov r14, qword [0x1400f0900]
lea rsi, [0x1400f08f0]
cmp qword [0x1400f0908], 0xf
cmova rsi, qword [0x1400f08f0]
test r14, r14
je 0x14001cf34
movsx edx, byte [rbx]
mov r8, r14
mov rcx, rsi
call fcn.1400b3510
mov rcx, rax
test rax, rax
je 0x14001cf34
sub rcx, rsi
cmp rcx, 0xffffffffffffffff
je 0x14001cf34
lea rax, [0x1400f08b8]
cmp qword [0x1400f08d0], 0xf
cmova rax, qword [0x1400f08b8]
mov al, byte [rcx + rax]
mov byte [rbx], al
mov r14, qword [0x1400f0900]
inc rbx
cmp rbx, r12
jne 0x14001ced6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14001cae4
mov r9, qword [rdi]
cmp qword [rdi + 8], r9
je 0x14001cf94
mov rcx, qword [0x1400f08e0]
mov r8, qword [0x1400f08d8]
sub rcx, r8
xor edx, edx
mov rax, r15
div rcx
mov al, byte [r9 + r15]
xor al, byte [rdx + r8]
mov byte [r9 + r15], al
inc r15
mov r9, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, r9
cmp r15, rax
jb 0x14001cf5d
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14001cfcb
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cfc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cff3
call fcn.140029560
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140029540
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14008b86c
int3
Function at 0x140025ab4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140025aee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140025af3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140025b3c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140025b3c
dec r8
sub rdx, 1
jne 0x140025b22
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14002a388
Capabilities:
Parse pe header

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