joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180020d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180020ea1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180020d80
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180020730
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18001fd90
mov dword [rbx + 0x80], 0
jmp 0x180020e8d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.18001ec50
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180032820
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180052010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18003286f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180053730]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800328ad
cmp rsi, r14
jb 0x1800328a5
cmp rsi, r15
jae 0x1800328a5
cmp qword [rsi + 8], 0
jne 0x180032a77
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180032890
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180032942
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180032939
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180032939
cmp dword [rsp + 0x40], 0x10000
je 0x1800329bb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180032939
sub rbx, rbp
cmp rbx, r14
jae 0x180032900
test rsi, rsi
jne 0x180032a20
cmp rdi, r15
ja 0x180032a5f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180032a5f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180032a5f
cmp dword [rsp + 0x40], 0x10000
je 0x1800329f1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180032972
jmp 0x180032a5f
test rbx, rbx
je 0x180032939
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180032a20
cmp rbx, r14
jae 0x1800328e0
jmp 0x180032942
test rdi, rdi
je 0x180032a5f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180032a20
cmp rdi, r15
jbe 0x180032950
jmp 0x180032a5f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180032a30
mov rax, qword [0x180053730]
mov qword [rsi], rax
mov qword [0x180053730], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18003d280
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x1800333f0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180052010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18003351b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180033512
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800334f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800334f4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800334f4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800334b2
mov rcx, qword [0x180052f48]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180033512
jmp 0x1800334e7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800334e7
mov rcx, qword [0x180052f48]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180033512
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180033460
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180033573
cmp dword [rbx + 0xc], esi
jbe 0x180033573
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18003356c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180033240
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180033530
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18003d280
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800335a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180052010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180053720]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180033613
mov eax, 0xa
jmp 0x1800336a2
test esi, esi
je 0x180033635
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180033658
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180033658
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180033651
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180033658
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18003d280
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800336d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18005372c]
mov ebx, edi
test ecx, ecx
je 0x18003380b
mov rax, qword [0x180053720]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180033728
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180033700
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18003380b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800333f0
mov r8d, dword [0x18005372c]
cmp ebx, r8d
jae 0x180033798
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180053720]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180033791
mov edx, esi
mov ecx, ebx
call fcn.1800335a0
mov edi, eax
test eax, eax
jne 0x180033798
mov r8d, dword [0x18005372c]
inc ebx
cmp ebx, r8d
jb 0x180033760
cmp qword [rsp + 0x20], 0
je 0x18003380b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800337f7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800337e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800337c0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180052f48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180033c00
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180052f3c], ebp
je 0x180033c57
cmp rbx, 0x20
jae 0x180033c40
xor ecx, ecx
jmp 0x180033c42
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180052f3c], ebp
jne 0x180033c36
cmp qword [0x180052f48], r15
je 0x180033d51
test rdi, rdi
jne 0x180033c77
mov ecx, esi
call fcn.1800336d0
mov ebp, eax
jmp 0x180033d56
mov ecx, dword [0x18005372c]
mov ebx, r15d
test ecx, ecx
je 0x180033c9f
mov r8, qword [0x180053720]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180033ca9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180033c90
mov ebp, 4
jmp 0x180033d56
cmp ebx, 0xffffffff
je 0x180033c9f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180033d48
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800333f0
mov edx, esi
mov ecx, ebx
call fcn.1800335a0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180033d56
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180033d32
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180033d28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180033d00
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180052f48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180033d56
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180033d56
mov ebp, 2
xchg dword [0x180052f3c], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x180035020
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x180035062
cmp edx, 1
jne 0x180035090
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180034d40]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp dword [0x180053660], 0
je 0x180035090
xor edx, edx
xor ecx, ecx
call fcn.180033c00
mov rcx, qword [0x180053658]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x180053658], rax
mov dword [0x180053660], eax
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180038ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
add r8d, 0xfffffffd
mov rbx, rdx
cmp r8d, 0x1c
ja case.0x180038ed7.5
lea rdx, [0x180000000]
movsxd rax, r8d
mov ecx, dword [rdx + rax*4 + 0x390b0]
add rcx, rdx
jmp rcx
mov dword [rbp + 0x10], 0x7a634c78
lea rdx, [rbp + 0x11]
mov word [rbp + 0x14], 0x4120
mov byte [rbp + 0x16], 0
jmp 0x180039097
mov dword [rbp + 0x10], 0x7a634c3d
lea rdx, [rbp + 0x11]
mov word [rbp + 0x14], 0x4220
mov byte [rbp + 0x16], 0
jmp 0x180039097
mov dword [rbp + 0x10], 0x6d72417d
lea rdx, [rbp + 0x11]
mov dword [rbp + 0x14], 0x79726f
jmp 0x180039097
mov dword [rbp - 0x18], 0x36303144
mov dword [rbp - 0x14], 0x6f6f5220
mov word [rbp - 0x10], 0x6d
jmp 0x180039093
mov dword [rbp - 0x18], 0x3431390b
mov dword [rbp - 0x14], 0x6f6f5220
mov word [rbp - 0x10], 0x6d
jmp 0x180039093
mov dword [rbp - 0x18], 0x6568431d
mov dword [rbp - 0x14], 0x6f706b63
mov dword [rbp - 0x10], 0x746e69
jmp 0x180039093
mov dword [rbp + 0x10], 0x7a634c15
lea rdx, [rbp + 0x11]
mov word [rbp + 0x14], 0x4120
mov byte [rbp + 0x16], 0
jmp 0x180039097
mov dword [rbp + 0x10], 0x7a634c28
lea rdx, [rbp + 0x11]
mov word [rbp + 0x14], 0x4220
mov byte [rbp + 0x16], 0
jmp 0x180039097
mov dword [rbp - 0x18], 0x7261570e
mov dword [rbp - 0x14], 0x64616568
jmp 0x18003908f
mov dword [rbp - 0x18], 0x3937301b
mov dword [rbp - 0x14], 0x6f6f5220
mov word [rbp - 0x10], 0x6d
jmp 0x180039093
mov dword [rbp - 0x18], 0x63694d43
mov dword [rbp - 0x14], 0x48206f72
mov word [rbp - 0x10], 0x4449
mov byte [rbp - 0xe], 0
jmp 0x180039093
mov dword [rbp + 0x10], 0x6d724173
lea rdx, [rbp + 0x11]
mov dword [rbp + 0x14], 0x79726f
jmp 0x180039097
mov dword [rbp + 0x10], 0x7365543f
lea rdx, [rbp + 0x11]
mov word [rbp + 0x14], 0x616c
mov byte [rbp + 0x16], 0
jmp 0x180039097
mov dword [rbp + 0x20], 0x54503b
lea rdx, [rbp + 0x21]
jmp 0x180039097
mov dword [rbp - 0x18], 0x616c4710
lea rdx, [rbp - 0x17]
mov dword [rbp - 0x14], 0x52207373
mov dword [rbp - 0x10], 0x6d6f6f
jmp 0x180039097
mov dword [rbp + 0x10], 0x7461476f
lea rdx, [rbp + 0x11]
mov dword [rbp + 0x14], 0x412065
jmp 0x180039097
mov dword [rbp + 0x10], 0x74614731
lea rdx, [rbp + 0x11]
mov dword [rbp + 0x14], 0x422065
jmp 0x180039097
mov dword [rbp - 0x18], 0x746e4978
mov dword [rbp - 0x14], 0x6f637265
mov word [rbp - 0x10], 0x6d
jmp 0x180039093
mov dword [rbp - 0x18], 0x6b6e5536
mov dword [rbp - 0x14], 0x6e776f6e
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x17]
mov rcx, rbx
call fcn.1800360d0
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x180039390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x180039523
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x180039523
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x180039429
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x180039547
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x18003943f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x18003943f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x180039452
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x18003949d
mov r9d, eax
cmp eax, 0x800
jae 0x18003946c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x18003949d
cmp eax, 0x10000
jae 0x180039486
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x18003949d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x180039523
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x1800394c1
cmp r10d, 3
jae 0x1800394cd
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x1800394fe
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x1800394e0
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x1800393de
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x180039532
Function at 0x140002a44
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140002a9e
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1401e1c20]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140002a88
cmp rdx, 2
jb 0x140002a88
cmp byte [r10], r11b
jne 0x140002a88
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x140002a66
jmp 0x140002adf
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140002adf
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1401e1c20]
cmp dl, r11b
jne 0x140002ac3
cmp byte [r10], r11b
jne 0x140002ac3
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x140002ab1
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x140002c0c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002c2d
and qword [r8], 0
lea rdx, [0x1401e167c]
call fcn.140002af0
mov rbx, rax
test rax, rax
je 0x140002d11
mov rcx, rax
call fcn.1401381d0
mov esi, eax
cmp eax, 0xffffffff
je 0x140002d09
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140139f90
test eax, eax
jne 0x140002d09
mov rcx, rbx
call fcn.1401381d0
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002d09
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140139f90
test eax, eax
jne 0x140002d09
cmp rdi, 0xffffffffffffffff
je 0x140002d09
mov rax, qword [0x1403395c0]
test rax, rax
je 0x140002cab
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.140151d60
mov rsi, rax
test rax, rax
je 0x140002d09
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1401488a0
mov rcx, rbx
cmp rax, rdi
je 0x140002cf7
call fcn.140139790
mov rax, qword [0x1403395c0]
test rax, rax
je 0x140002ced
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.140147ec0
jmp 0x140002d11
call fcn.140139790
test r14, r14
je 0x140002d04
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002d13
mov rcx, rbx
call fcn.140139790
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

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

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0x108]
mov r9d, 4
mov rax, qword [rcx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1401e1c20]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x140004bc9
not r8d
mov ecx, r8d
call fcn.140004d00
mov eax, r8d
add rsp, 0x28
ret
Function at 0x14000ebac
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1403395c0]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov r9d, 4
mov rdi, qword [rax + 0x1b90]
add rdi, 0x108
movsxd rdx, dword [rdi]
mov rax, qword [rdi + 8]
mov ebx, dword [rax + rdx*4 - 4]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1401e1c20]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x14000ebe7
mov ecx, dword [rdi + 4]
not ebx
cmp edx, ecx
jne 0x14000ec3c
lea r8d, [rdx + 1]
test ecx, ecx
je 0x14000ec23
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14000ec28
mov eax, 8
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.14001cf4c
mov edx, dword [rdi]
mov rax, qword [rdi + 8]
movsxd rcx, edx
mov dword [rax + rcx*4], ebx
inc dword [rdi]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140013b80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1403395c0]
cmp byte [rbx + 0x3000], 0
je 0x140013c40
cmp qword [rbx + 0x3008], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3010]
je 0x140013c32
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x140013beb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001cd9c
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.140003348
mov eax, dword [rdi]
mov r9, qword [rbx + 0x3008]
lea ecx, [rax - 1]
neg eax
mov rax, qword [rbx + 0x3018]
sbb edx, edx
and edx, ecx
lea rcx, [0x1403395b8]
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call fcn.14013b380
jmp 0x140013c40
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.140003348
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x140014290
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1403395c0]
mov rbx, rcx
and dword [rax + 0x2fbc], 0
test rcx, rcx
je 0x1400142f7
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140014304
lea rdx, [0x1401e1680]
mov rcx, rbx
mov rdi, rax
call fcn.140002af0
mov rbx, rax
test rax, rax
je 0x1400142f7
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.14013b380
mov rcx, rbx
call fcn.140139790
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret