joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180011f64
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
add rcx, 0xf6f0
call fcn.1800127bc
test eax, eax
je 0x180011fbf
lea rdx, [0x180050e95]
mov rcx, rbx
call fcn.18000f9e8
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8, [0x180011e18]
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xf758], rax
mov al, 1
jmp 0x180011fc1
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x180011fc8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rcx
mov rcx, rdx
mov edi, r8d
mov rbx, rdx
call fcn.18001b8d0
mov rdx, rbx
cmp byte [rax + rbx - 1], 0x5c
mov rcx, rsi
jne 0x18001201c
call fcn.1800118ec
test al, al
je 0x1800120b7
mov r8b, 1
jmp 0x1800120c3
xor r9d, r9d
mov r8d, edi
call fcn.1800102b4
mov edx, 0x2e
mov rcx, rbx
mov edi, eax
call fcn.18001c6b0
lea rdx, [rsp + 0x20]
lea rcx, [0x180050870]
mov r8d, 4
mov rbp, rax
call fcn.180005954
test rbp, rbp
je 0x1800120b3
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18001ec58
test eax, eax
je 0x1800120a3
lea rdx, [0x18003fbe8]
mov rcx, rbp
call fcn.18001ec58
test eax, eax
je 0x1800120a3
lea rdx, str..dlld
mov rcx, rbp
call fcn.18001ec58
test eax, eax
je 0x1800120a3
test edi, edi
je 0x1800120b7
lea rdx, str..mhp
mov rcx, rbp
call fcn.18001ec58
test eax, eax
jne 0x1800120d3
cmp edi, 1
jne 0x1800120d3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1800120d3
test edi, edi
jne 0x1800120d3
cmp byte [0x180051020], 0
jne 0x1800120d3
xor r8d, r8d
mov r9, rbx
mov edx, 2
mov rcx, rsi
call fcn.18000e8a8
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180019850
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x180012294
Capabilities:
Create thread

Disassembly:
test rdx, rdx
je 0x1800123f5
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rbp, rcx
mov rcx, rdx
mov esi, r9d
mov r12b, r8b
mov rdi, rdx
call fcn.18001b8d0
test rax, rax
je 0x1800123e3
mov rax, qword [0x180053478]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1800122fb
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call fcn.18001ec58
test eax, eax
je 0x1800123e3
mov rbx, qword [rbx]
cmp rbx, qword [0x180053478]
jne 0x1800122db
mov rcx, rdi
call fcn.18001b8d0
lea rcx, [rax + 6]
call fcn.18001b978
mov rbx, rax
test rax, rax
je 0x1800123e3
lea rdx, [0x18003df60]
mov rcx, rdi
mov byte [rax], r12b
mov dword [rax + 1], esi
call fcn.18001ec58
lea rsi, [rbx + 5]
mov rdx, rdi
mov rcx, rsi
test eax, eax
jne 0x18001233e
mov byte [rbx], 3
call fcn.180019fe0
cmp byte [rbp + 0xf738], 0
je 0x18001234f
or byte [rbx], 0xf0
mov rdi, qword [0x180053478]
lea r9, [rsp + 0x30]
lea rcx, [0x180053478]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov qword [rsp + 0x30], rsi
call fcn.18000f938
mov rdx, qword [0x180053480]
movabs rcx, 0x1ffffffffffffffe
sub rcx, rdx
mov r11, rax
cmp rcx, 1
jae 0x18001239d
lea rcx, str.list_T__too_long
call fcn.180032098
int3
inc rdx
lea r8, [0x1800120f8]
mov r9, rbx
mov qword [0x180053480], rdx
mov qword [rdi + 8], rax
mov rax, qword [rax + 8]
mov qword [rax], r11
lea rax, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800123e3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x1800124c8
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push r12
sub rsp, 0x278
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov ecx, 0xa
mov esi, r9d
mov r12d, r8d
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rsp + 0x2c0], 0
je 0x180012513
mov ecx, 0x28
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx + 8]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x1f8
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], rax
call fcn.180019880
and dword [rsp + 0x34], 0
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x50]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], esi
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x180012567
or eax, 0xffffffff
jmp 0x1800125f6
cmp byte [rsp + 0x2c0], 0
je 0x1800125d2
inc dword [rbx + 0x40]
mov ecx, dword [rbx + 0x40]
cmp cl, 0xff
jne 0x180012593
cmp cx, 0xffff
jne 0x18001258e
and ecx, 0xffff0001
mov dword [rbx + 0x40], ecx
jmp 0x18001259d
lea eax, [rcx + 2]
jmp 0x18001259a
test cl, cl
jne 0x18001259d
lea eax, [rcx + 1]
mov dword [rbx + 0x40], eax
mov eax, dword [rbx + 0x40]
cmp eax, dword [rbx + 0x44]
jne 0x1800125aa
inc eax
mov dword [rbx + 0x40], eax
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x38]
mov r8d, 0x10
call fcn.18001b580
mov ecx, dword [rbx + 0x40]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x38]
jmp 0x1800125d6
lea rax, [rbx + 0x10]
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov r8d, r12d
mov rdx, rbp
mov dword [rsp + 0x28], 0x10
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180019850
add rsp, 0x278
pop r12
pop rsi
pop rbp
pop rbx
ret

Function at 0x180012614
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x278
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rax, qword [rcx + 8]
mov rdi, rcx
mov ebp, r8d
mov rsi, rdx
lea rcx, [rsp + 0x60]
mov r8d, 0x1f8
xor edx, edx
mov qword [rsp + 0x58], rax
mov ebx, r9d
mov dword [rsp + 0x50], 1
call fcn.180019880
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea rdx, [rsp + 0x50]
test ebx, ebx
js 0x180012693
and dword [rsp + 0x3c], ecx
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x18001269b
or eax, 0xffffffff
jmp 0x1800126ca
and qword [rsp + 0x20], 0
jmp 0x180012684
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, ebp
mov rdx, rsi
mov dword [rsp + 0x30], 0x10
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180019850
add rsp, 0x278
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180013614
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov r10d, r8d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
jne 0x180013633
xor eax, eax
jmp 0x180013744
not r9d
lea rsi, [0x1800410e0]
cmp r10d, 8
jb 0x18001371a
mov rbx, r10
shr rbx, 3
movzx ecx, byte [r11]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r11, 8
add r10d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r11 - 7]
mov edx, dword [rsi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 6]
mov r8d, dword [rsi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 5]
mov edx, dword [rsi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 4]
mov r8d, dword [rsi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 3]
mov edx, dword [rsi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 2]
mov r8d, dword [rsi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 1]
mov edx, dword [rsi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rsi + rax*4]
xor r9d, edx
dec rbx
jne 0x18001364e
test r10d, r10d
je 0x18001373e
movzx ecx, byte [r11]
mov eax, r9d
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4]
xor r9d, eax
dec r10d
jne 0x18001371f
not r9d
mov eax, r9d
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret

Function at 0x180013750
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov r9d, dword [rcx]
movsx rax, dl
mov r10, rcx
mov r8d, r9d
shr r9d, 8
xor r8, rax
movzx eax, r8b
lea r8, [0x1800410e0]
mov edx, dword [r8 + rax*4]
xor edx, r9d
mov dword [rcx], edx
movzx eax, dl
mov edx, dword [rcx + 8]
add eax, dword [rcx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rcx + 4], eax
movzx eax, byte [r10 + 7]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov eax, dword [r8 + rcx*4]
xor eax, edx
mov dword [r10 + 8], eax
ret

Function at 0x180013cfc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
mov rbp, rdx
mov r10, rcx
imul esi, edx
cmp byte [r9], 0
je 0x180013d4c
and qword [rax - 0x18], 0
mov rdx, rcx
mov rcx, qword [rdi + 8]
lea r9, [rax + 0x10]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180013d46
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x180013d73
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
lea eax, [rdx + rsi]
cmp eax, ecx
jbe 0x180013d5f
sub ecx, edx
mov esi, ecx
add rdx, qword [r9 + 0x20]
mov r8d, esi
mov rcx, r10
call fcn.18001b580
add dword [rdi + 0x2c], esi
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
xor edx, edx
div rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180014cd0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x180014d15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180014d15
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [rdi]
test al, al
je 0x180014dad
mov rsi, rdi
mov rcx, rdi
cmp al, 0x2f
je 0x180014d2d
cmp al, 0x5c
jne 0x180014d30
mov rsi, rcx
inc rcx
mov al, byte [rcx]
test al, al
jne 0x180014d25
cmp rsi, rdi
je 0x180014d6c
sub rsi, rdi
lea rcx, [rsp + 0x130]
mov rdx, rdi
mov r8, rsi
call fcn.18001b580
lea rdx, [rsp + 0x130]
mov rcx, rbx
mov byte [rsp + rsi + 0x130], 0
call fcn.180014cd0
mov byte [rsp + 0x20], 0
test rbx, rbx
je 0x180014d83
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.180019fe0
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.180019f40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180014dad
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180019850
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180016794
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
cmp qword [rcx], 0
mov edi, r9d
mov r12d, r8d
mov rbp, rdx
mov rbx, rcx
jne 0x180016864
cmp dword [rcx + 8], 0xffffffff
jne 0x180016864
lea rdx, [rcx + 0x150]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rbx + 0x150]
call fcn.18001b8d0
mov dl, byte [rax + rbx + 0x14f]
cmp dl, 0x5c
je 0x180016808
cmp dl, 0x2f
je 0x180016808
lea rdx, [0x18003df60]
lea rcx, [rbx + 0x150]
call fcn.180019f40
mov r9d, 1
cmp edi, r9d
jne 0x18001682d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x18001682d
mov eax, 0x2000000
jmp 0x180016869
lea r9, [rsp + 0x40]
mov r8d, edi
mov edx, r12d
mov rcx, rbp
call fcn.180013ab8
test rax, rax
jne 0x18001684b
mov eax, dword [rsp + 0x40]
jmp 0x180016869
mov rcx, rax
call fcn.1800161a8
mov qword [rbx], rax
neg rax
sbb eax, eax
not eax
and eax, 0x200
jmp 0x180016869
mov eax, 0x1000000
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x180017978
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov edi, dword [0x1800534dc]
mov ebx, dword [0x1800a4b78]
xor esi, esi
mov ebp, esi
mov dword [0x1800a4b68], 2
lea r13, [0x180070200]
test edi, edi
je 0x180017b82
lea r8, [0x180084a40]
lea eax, [rbx + 2]
mov r12d, ebx
movzx edx, byte [rax + r13]
mov eax, dword [0x1800534e4]
shl eax, 5
xor edx, eax
mov eax, ebx
and edx, 0x7fff
and eax, 0x7fff
mov ecx, edx
mov dword [0x1800534e4], edx
movzx edx, word [r8 + rdx*2 + 0x10000]
mov word [r8 + rax*2], dx
mov word [r8 + rcx*2 + 0x10000], bx
test edx, edx
je 0x180017a1f
mov eax, ebx
sub eax, edx
cmp eax, 0x7efa
ja 0x180017a1f
mov ecx, edx
call fcn.1800176e4
mov ebp, eax
cmp eax, edi
cmova ebp, edi
cmp ebp, 3
jb 0x180017ad6
sub ebx, dword [0x1800a4b70]
lea edx, [rbp - 3]
mov ecx, ebx
call fcn.180018a48
mov edi, dword [0x1800534dc]
mov ebx, dword [0x1800a4b78]
sub edi, ebp
cmp ebp, dword [0x1800534e0]
mov r11d, eax
mov dword [0x1800534dc], edi
ja 0x180017ab2
or r9d, 0xffffffff
lea r8d, [rbx + 2]
lea r10, [0x180084a40]
add ebp, r9d
mov eax, dword [0x1800534e4]
inc ebx
inc r8d
movzx ecx, byte [r8 + r13]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov edx, ecx
mov dword [0x1800534e4], ecx
mov ecx, ebx
movzx eax, word [r10 + rdx*2 + 0x10000]
and ecx, 0x7fff
add ebp, r9d
mov word [r10 + rcx*2], ax
mov word [r10 + rdx*2 + 0x10000], bx
jne 0x180017a69
jmp 0x180017af9
add ebx, ebp
mov ebp, esi
movzx edx, byte [rbx + r13]
lea eax, [rbx + 1]
movzx eax, byte [rax + r13]
shl edx, 5
xor edx, eax
and edx, 0x7fff
mov dword [0x1800534e4], edx
jmp 0x180017afb
movzx edx, byte [r12 + r13]
xor ecx, ecx
call fcn.180018a48
mov edi, dword [0x1800534dc]
mov ebx, dword [0x1800a4b78]
dec edi
mov r11d, eax
mov dword [0x1800534dc], edi
inc ebx
mov dword [0x1800a4b78], ebx
test r11d, r11d
je 0x180017b3c
mov edx, dword [0x1800a4b74]
mov rcx, rsi
lea rax, [r13 + rdx]
sub ebx, edx
test edx, edx
cmovns rcx, rax
xor r8d, r8d
mov edx, ebx
call fcn.180019008
mov ebx, dword [0x1800a4b78]
mov edi, dword [0x1800534dc]
mov ecx, ebx
mov dword [0x1800a4b74], ebx
jmp 0x180017b42
mov ecx, dword [0x1800a4b74]
cmp edi, 0x106
jae 0x180017b71
cmp dword [0x1800534d4], esi
jne 0x180017b65
call fcn.180017858
mov edi, dword [0x1800534dc]
cmp edi, 0x106
jb 0x180017b4a
mov ebx, dword [0x1800a4b78]
mov ecx, dword [0x1800a4b74]
lea r8, [0x180084a40]
test edi, edi
jne 0x1800179c0
jmp 0x180017b88
mov ecx, dword [0x1800a4b74]
sub ebx, ecx
mov eax, ecx
mov r8d, 1
add rax, r13
test ecx, ecx
mov edx, ebx
cmovns rsi, rax
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.180019008
Function at 0x180017eb4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movsxd rdi, ecx
mov rbx, rdx
cmp edi, 1
jl 0x180017ed3
cmp edi, 9
jle 0x180017edf
lea rcx, str.bad_pack_level
call fcn.180019284
lea rcx, [0x180094a40]
xor edx, edx
mov r8d, 0x10000
mov dword [0x1800534d8], edi
call fcn.180019880
lea rcx, [0x18004d8f0]
movzx eax, word [rcx + rdi*8 + 2]
mov esi, 2
mov dword [0x1800534e0], eax
movzx eax, word [rcx + rdi*8]
mov dword [0x1800a4b64], eax
movzx eax, word [rcx + rdi*8 + 4]
mov dword [0x1800a4b7c], eax
movzx eax, word [rcx + rdi*8 + 6]
mov dword [0x1800a4b6c], eax
cmp edi, 1
jne 0x180017f3b
or word [rbx], 4
jmp 0x180017f43
cmp edi, 9
jne 0x180017f43
or word [rbx], si
xor ebx, ebx
lea rdi, [0x180070200]
mov edx, 0x10000
mov rcx, rdi
mov dword [0x1800a4b78], ebx
mov dword [0x1800a4b74], ebx
call qword [0x1800a4b80]
mov dword [0x1800534dc], eax
test eax, eax
je 0x180017fbf
cmp eax, 0xffffffff
je 0x180017fbf
mov ecx, ebx
mov dword [0x1800534d4], ebx
cmp eax, 0x106
jae 0x180017fa1
test ecx, ecx
jne 0x180017fa1
call fcn.180017858
cmp dword [0x1800534dc], 0x106
jae 0x180017fa1
mov ecx, dword [0x1800534d4]
jmp 0x180017f84
movzx eax, byte [rdi]
shl ebx, 5
inc rdi
xor ebx, eax
and ebx, 0x7fff
dec rsi
jne 0x180017fa1
mov dword [0x1800534e4], ebx
jmp 0x180017fcf
mov dword [0x1800534d4], 1
mov dword [0x1800534dc], ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800191a4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8d, edx
mov r9, rcx
test rcx, rcx
jne 0x1800191b4
or edx, 0xffffffff
jmp 0x1800191e5
mov edx, dword [0x18004e1e0]
test r8d, r8d
je 0x1800191e5
movzx ecx, byte [r9]
mov eax, edx
lea r10, [0x18004e1f0]
xor rcx, rax
inc r9
movzx eax, cl
mov ecx, edx
mov edx, dword [r10 + rax*4]
shr ecx, 8
xor edx, ecx
dec r8d
jne 0x1800191bf
mov dword [0x18004e1e0], edx
not edx
mov eax, edx
ret

Function at 0x18001e904
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x18001e91a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18001e91c
xor eax, eax
test eax, eax
je 0x18001e92c
mov ecx, eax
call fcn.18001fa48
or eax, 0xffffffff
jmp 0x18001e92e
xor eax, eax
add rsp, 0x28
ret
Function at 0x18002145f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18004e5f0]
jne 0x18001986a
rol rcx, 0x10
test cx, 0xffff
jne 0x180019866
repz ret
ror rcx, 0x10
jmp 0x1800213b8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180056a30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180056b28]
mov qword [rsp + 0x58], rax
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 0x18002143d
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, [0x180056a30]
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 0x18002145f
mov rax, qword [rsp + 0x88]
mov qword [0x180056b28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180056ac8], rax
mov rax, qword [0x180056b28]
mov qword [0x1800569a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180056ab0], rax
mov dword [0x180056990], 0xc0000409
mov dword [0x180056994], 1
mov rax, qword [0x18004e5f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18004e5f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180056a28], eax
mov ecx, 1
call fcn.18002da84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180042728]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180056a28], 0
jne 0x1800214e6
mov ecx, 1
call fcn.18002da84
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 0x18002f510
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180020ab0
xor ebx, ebx
cmp qword [0x180057a80], rbx
mov rdi, rax
jne 0x18002f623
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18002f6fa
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002f6fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180057a80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180057a88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180057a90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180057aa0], rax
test rax, rax
je 0x18002f61a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180057a98], rax
jmp 0x18002f62a
mov rax, qword [0x180057a98]
jmp 0x18002f631
mov rax, qword [0x180057a98]
mov r11, qword [0x180057aa0]
cmp rax, rdi
je 0x18002f698
cmp r11, rdi
je 0x18002f698
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180057aa0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18002f698
test rax, rax
je 0x18002f698
call rsi
test rax, rax
je 0x18002f692
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18002f692
test byte [rsp + 0x40], 1
jne 0x18002f698
bts ebp, 0x15
jmp 0x18002f6d8
mov rcx, qword [0x180057a88]
cmp rcx, rdi
je 0x18002f6d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002f6d8
call rax
mov rbx, rax
test rax, rax
je 0x18002f6d8
mov rcx, qword [0x180057a90]
cmp rcx, rdi
je 0x18002f6d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002f6d8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180057a80]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002f6fa
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18002f6fc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180019850
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18003707c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x1800370a6
call fcn.18001fa28
and dword [rax], 0
call fcn.18001fa08
mov ebx, 0x16
mov dword [rax], ebx
call fcn.180021398
mov eax, ebx
jmp 0x1800370f6
test edx, 0xfffffff9
jne 0x180037089
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800370cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18001fa48
call fcn.18001fa08
mov eax, dword [rax]
jmp 0x1800370f6
test al, 0x10
jne 0x1800370f4
test al, 1
je 0x1800370f4
test bl, 2
je 0x1800370f4
call fcn.18001fa28
mov dword [rax], 5
call fcn.18001fa08
mov dword [rax], 0xd
jmp 0x1800370c6
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x180037190
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1800371a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800371a8
xor eax, eax
test eax, eax
je 0x1800371b8
mov ecx, eax
call fcn.18001fa48
or eax, 0xffffffff
jmp 0x1800371ba
xor eax, eax
add rsp, 0x28
ret
jmp 0x180037190

Function at 0x1800371c0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1800371a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800371a8
xor eax, eax
test eax, eax
je 0x1800371b8
mov ecx, eax
call fcn.18001fa48
or eax, 0xffffffff
jmp 0x1800371ba
xor eax, eax
add rsp, 0x28
ret
jmp 0x180037190