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

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
je 0x42d7db
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x42dec0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
cmp word [0x00400000], 0x5a4d
je 0x42dee1
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x42df5d
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x42df02
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x42df5d
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x42df40
cmp ecx, 0x20b
je 0x42df1e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x42df5d
cmp dword [rax + 0x84], 0xe
ja 0x42df2f
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x42df5d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x60], ebx
jmp 0x42df5d
cmp dword [rax + 0x74], 0xe
ja 0x42df4e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x42df5d
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x60], ebx
mov ecx, 1
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x00444da0], 0xffffffffffffffff
mov qword [0x00444da8], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x00442d94]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x00442d90]
mov dword [rcx], eax
call fcn.0042e0c0
cmp dword [0x00442900], 0
jne 0x42dfb7
lea rcx, [fcn.0042e0c0]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x0042f428]
lea rcx, [0x0042f420]
call fcn.004d7000
mov r11d, dword [0x00442d8c]
mov dword [rsp + 0x68], r11d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x00442d88]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x0042f418]
lea rcx, [0x0042f3c0]
call sub.msvcrt.dll__initterm
mov r11, qword [rsp + 0x38]
mov rax, qword [sym.imp.msvcrt.dll___initenv]
mov qword [rax], r11
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call fcn.00408dd4
mov edi, eax
mov dword [rsp + 0x34], eax
test ebx, ebx
jne 0x42e043
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x42e064
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x140002040
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400021f7
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400021ee
xor r12d, r12d
nop
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x270], r12
mov qword [rsp + 0x278], 7
lea rax, [rsp + 0x4c]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400020e0
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x260]
call fcn.140003890
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000210a
mov rax, qword [r14]
lea r9, [rsp + 0x260]
mov rsi, qword [rsp + 0x278]
cmp rsi, 8
setae bpl
mov rdi, qword [rsp + 0x260]
cmovae r9, rdi
mov rcx, qword [rsp + 0x270]
cmp rcx, qword [r14 + 0x10]
jne 0x1400021a2
test rcx, rcx
je 0x140002176
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400021a2
sub r9, rax
cmp dx, r8w
ja 0x1400021a2
cmp rcx, 1
je 0x140002176
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140002156
jmp 0x1400021a2
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400021a2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bpl, bpl
je 0x1400021d8
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400021d0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002229
mov rcx, rdi
call fcn.140005474
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400020b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140005340
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140003340
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
sub rsp, 0x468
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x450], rax
call fcn.140002230
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000340e
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x14000340e
lea rdx, str._c_del
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.____NUL
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.ComSpec
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000340e
xor eax, eax
lea r9, [rsp + 0x240]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140005340
add rsp, 0x468
ret

Function at 0x140004d40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140004da1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140004d60
mov ecx, dword [r10]
jmp 0x140004e8a
cmp ecx, 0x4e0
jb 0x140004e8a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140004dc0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140004e10
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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
add rsp, 8
ret
Function at 0x1400406d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rsp], 0x33
mov byte [rsp + 1], 0x43
mov byte [rsp + 2], 0x5c
mov byte [rsp + 3], 0x44
mov byte [rsp + 4], 0x56
mov byte [rsp + 5], 0x41
mov byte [rsp + 6], 0x40
mov byte [rsp + 7], 0x5b
mov byte [rsp + 8], 0x56
mov byte [rsp + 9], 0x5f
mov byte [rsp + 0xa], 0x5f
mov byte [rsp + 0xb], 0x1d
mov byte [rsp + 0xc], 0x56
mov byte [rsp + 0xd], 0x4b
mov byte [rsp + 0xe], 0x56
mov byte [rsp + 0xf], 0x13
mov byte [rsp + 0x10], 0x1e
mov byte [rsp + 0x11], 0x76
mov byte [rsp + 0x12], 0x5d
mov byte [rsp + 0x13], 0x50
mov byte [rsp + 0x14], 0x5c
mov byte [rsp + 0x15], 0x57
mov byte [rsp + 0x16], 0x56
mov byte [rsp + 0x17], 0x57
mov byte [rsp + 0x18], 0x70
mov byte [rsp + 0x19], 0x5c
mov byte [rsp + 0x1a], 0x5e
mov byte [rsp + 0x1b], 0x5e
mov byte [rsp + 0x1c], 0x52
mov byte [rsp + 0x1d], 0x5d
mov byte [rsp + 0x1e], 0x57
mov byte [rsp + 0x1f], 0x13
mov byte [rsp + 0x20], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14004bb20
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400407d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x52
mov byte [rsp + 1], 0x11
mov byte [rsp + 2], 0x20
mov byte [rsp + 3], 0x37
mov byte [rsp + 4], 0x33
mov byte [rsp + 5], 0x26
mov byte [rsp + 6], 0x37
mov byte [rsp + 7], 2
mov byte [rsp + 8], 0x20
mov byte [rsp + 9], 0x3d
mov byte [rsp + 0xa], 0x31
mov byte [rsp + 0xb], 0x37
mov byte [rsp + 0xc], 0x21
mov byte [rsp + 0xd], 0x21
mov byte [rsp + 0xe], 0x72
mov byte [rsp + 0xf], 0x34
mov byte [rsp + 0x10], 0x33
mov byte [rsp + 0x11], 0x3b
mov byte [rsp + 0x12], 0x3e
mov byte [rsp + 0x13], 0x37
mov byte [rsp + 0x14], 0x36
mov byte [rsp + 0x15], 0x72
mov byte [rsp + 0x16], 0x7a
mov byte [rsp + 0x17], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.14004bb20
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x327eb1500
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movzx edi, word [section..rdata]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rsi, r8
mov r8, r9
movq xmm1, rcx
mov rcx, rdx
mov rax, qword [rax + 0x20]
mov rbp, qword [rax]
mov rbx, qword [rbp - 0x10]
lea r9, [rbp - 0x10]
cmp rbp, rbx
je 0x327eb158d
nop word [rax + rax]
mov rax, qword [r9 + 0x60]
lea r10, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x327eb1582
mov edx, 0xe0e
nop dword [rax]
mov r11d, edx
add r10, 2
shl r11d, 6
add edx, r11d
add edx, eax
movzx eax, word [r10 - 2]
test ax, ax
jne 0x327eb1560
cmp edx, 0x18cf5f14
je 0x327eb15fd
mov r9, rbx
mov rbx, qword [r9]
cmp rbp, rbx
jne 0x327eb1548
xor eax, eax
movq xmm0, rax
mov rdx, rsi
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x60], 0
mov r9, qword [rsp + 0xc0]
punpcklqdq xmm0, xmm1
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.327eb16a0
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, dword [r9 + 0x40]
mov rax, qword [r9 + 0x30]
cmp edx, 2
je 0x327eb158d
sub edx, 3
lea rdx, [rax + rdx + 1]
nop word [rax + rax]
cmp word [rax], di
je 0x327eb158f
add rax, 1
cmp rax, rdx
jne 0x327eb1618
jmp 0x327eb158d
Function at 0x327eb1ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [str.kernel32LoadLibrGetProcALocalAll_not_found_]
lea rdi, [rsp + 0x20]
mov byte [rsp + 0x2c], 0
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x6c6c642e
call fcn.327eb19a0
mov byte [rsp + 0x2c], 0
mov rbx, rax
mov rax, qword [0x327f71028]
mov dword [rsp + 0x28], 0x41797261
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x3c]
mov r12d, dword [rbx + rax + 0x88]
test r12d, r12d
je 0x327eb2090
lea r13, [rbx + r12]
mov esi, dword [r13 + 0x20]
mov ebp, dword [r13 + 0x18]
add rsi, rbx
test ebp, ebp
je 0x327eb20aa
mov r15, rsi
xor r14d, r14d
jmp 0x327eb1f41
add r14, 1
add r15, 4
cmp rbp, r14
je 0x327eb20c0
mov ecx, dword [r15]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x327eb1f30
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x327f96030], rax
mov rax, qword [0x327f71030]
mov edx, 0x7373
mov byte [rsp + 0x2e], 0
xor r14d, r14d
mov dword [rsp + 0x28], 0x65726464
mov word [rsp + 0x2c], dx
mov qword [rsp + 0x20], rax
jmp 0x327eb1fb1
add r14, 1
add rsi, 4
cmp rbp, r14
je 0x327eb20b8
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x327eb1fa0
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x327f96038], rax
mov rax, qword [0x327f71038]
add r12, rbx
xor ebp, ebp
mov byte [rsp + 0x2a], 0
mov qword [rsp + 0x20], rax
mov eax, 0x636f
mov word [rsp + 0x28], ax
mov esi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rsi, rbx
test r13d, r13d
jne 0x327eb202d
jmp 0x327eb20a6
add rbp, 1
add rsi, 4
cmp r13, rbp
je 0x327eb20a6
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x327eb2020
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + rbp*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov ecx, 0x4098
mov qword [0x327f96028], rax
call fcn.327eb1e10
test rax, rax
mov qword [0x327f96020], rax
setne al
movzx eax, al
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [0x327f96030], 0
mov qword [0x327f96038], 0
xor eax, eax
jmp 0x327eb205a
mov qword [0x327f96030], 0
nop dword [rax]
xor eax, eax
jmp 0x327eb1fdc
mov qword [0x327f96030], 0
jmp 0x327eb1f74
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x327eb1ea0
Function at 0x327eb20d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [str.kernel32LoadLibrGetProcALocalAll_not_found_]
lea rdi, [rsp + 0x20]
mov byte [rsp + 0x2c], 0
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x6c6c642e
call fcn.327eb19a0
mov byte [rsp + 0x2c], 0
mov rbx, rax
mov rax, qword [0x327f71028]
mov dword [rsp + 0x28], 0x41797261
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x3c]
mov r12d, dword [rbx + rax + 0x88]
test r12d, r12d
je 0x327eb2090
lea r13, [rbx + r12]
mov esi, dword [r13 + 0x20]
mov ebp, dword [r13 + 0x18]
add rsi, rbx
test ebp, ebp
je 0x327eb20aa
mov r15, rsi
xor r14d, r14d
jmp 0x327eb1f41
add r14, 1
add r15, 4
cmp rbp, r14
je 0x327eb20c0
mov ecx, dword [r15]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x327eb1f30
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x327f96030], rax
mov rax, qword [0x327f71030]
mov edx, 0x7373
mov byte [rsp + 0x2e], 0
xor r14d, r14d
mov dword [rsp + 0x28], 0x65726464
mov word [rsp + 0x2c], dx
mov qword [rsp + 0x20], rax
jmp 0x327eb1fb1
add r14, 1
add rsi, 4
cmp rbp, r14
je 0x327eb20b8
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x327eb1fa0
mov edx, dword [r13 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r13 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x327f96038], rax
mov rax, qword [0x327f71038]
add r12, rbx
xor ebp, ebp
mov byte [rsp + 0x2a], 0
mov qword [rsp + 0x20], rax
mov eax, 0x636f
mov word [rsp + 0x28], ax
mov esi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rsi, rbx
test r13d, r13d
jne 0x327eb202d
jmp 0x327eb20a6
add rbp, 1
add rsi, 4
cmp r13, rbp
je 0x327eb20a6
mov ecx, dword [rsi]
mov rdx, rdi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x327eb2020
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + rbp*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov ecx, 0x4098
mov qword [0x327f96028], rax
call fcn.327eb1e10
test rax, rax
mov qword [0x327f96020], rax
setne al
movzx eax, al
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [0x327f96030], 0
mov qword [0x327f96038], 0
xor eax, eax
jmp 0x327eb205a
mov qword [0x327f96030], 0
nop dword [rax]
xor eax, eax
jmp 0x327eb1fdc
mov qword [0x327f96030], 0
jmp 0x327eb1f74
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x327eb1ea0
Function at 0x327eb5180
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov rax, rcx
lea rcx, [rcx + 0xf]
sub rcx, rdx
cmp rcx, 0x1e
jbe 0x327eb5264
movdqu xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movdqu xmm0, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm0
movzx edi, byte [rax + 0x1f]
mov r10d, 8
movzx r9d, byte [rax + 0x1e]
lea r11, [0x327f71300]
movzx r8d, byte [rax + 0x1d]
lea rbx, [0x327f711e0]
movzx edx, byte [rax + 0x1c]
jmp 0x327eb5229
movzx r8d, r8b
movzx edx, dl
movzx ecx, byte [r11 + r8]
movzx r8d, r9b
movzx r9d, dil
movzx edi, byte [r11 + rdx]
mov edx, r10d
shr edx, 3
movzx r8d, byte [r11 + r8]
xor cl, byte [rbx + rdx]
movzx r9d, byte [r11 + r9]
mov edx, ecx
xor dl, byte [rax]
add r10d, 1
add rax, 4
xor r8b, byte [rax - 3]
xor r9b, byte [rax - 2]
xor dil, byte [rax - 1]
mov byte [rax + 0x1c], dl
mov byte [rax + 0x1d], r8b
mov byte [rax + 0x1e], r9b
mov byte [rax + 0x1f], dil
cmp r10d, 0x3c
je 0x327eb5260
mov ecx, r10d
and ecx, 7
je 0x327eb51d0
cmp ecx, 4
jne 0x327eb51fe
movzx edx, dl
movzx r8d, r8b
movzx esi, r9b
movzx ecx, dil
movzx edx, byte [r11 + rdx]
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + rsi]
movzx edi, byte [r11 + rcx]
jmp 0x327eb51fe
pop rbx
pop rsi
pop rdi
ret
movzx ecx, byte [rdx]
mov byte [rax], cl
movzx ecx, byte [rdx + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rdx + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rdx + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rdx + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rdx + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rdx + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rdx + 7]
mov byte [rax + 7], cl
movzx ecx, byte [rdx + 8]
mov byte [rax + 8], cl
movzx ecx, byte [rdx + 9]
mov byte [rax + 9], cl
movzx ecx, byte [rdx + 0xa]
mov byte [rax + 0xa], cl
movzx ecx, byte [rdx + 0xb]
mov byte [rax + 0xb], cl
movzx ecx, byte [rdx + 0xc]
mov byte [rax + 0xc], cl
movzx ecx, byte [rdx + 0xd]
mov byte [rax + 0xd], cl
movzx ecx, byte [rdx + 0xe]
mov byte [rax + 0xe], cl
movzx ecx, byte [rdx + 0xf]
mov byte [rax + 0xf], cl
movzx ecx, byte [rdx + 0x10]
mov byte [rax + 0x10], cl
movzx ecx, byte [rdx + 0x11]
mov byte [rax + 0x11], cl
movzx ecx, byte [rdx + 0x12]
mov byte [rax + 0x12], cl
movzx ecx, byte [rdx + 0x13]
mov byte [rax + 0x13], cl
movzx ecx, byte [rdx + 0x14]
mov byte [rax + 0x14], cl
movzx ecx, byte [rdx + 0x15]
mov byte [rax + 0x15], cl
movzx ecx, byte [rdx + 0x16]
mov byte [rax + 0x16], cl
movzx ecx, byte [rdx + 0x17]
mov byte [rax + 0x17], cl
movzx ecx, byte [rdx + 0x18]
mov byte [rax + 0x18], cl
movzx ecx, byte [rdx + 0x19]
mov byte [rax + 0x19], cl
movzx ecx, byte [rdx + 0x1a]
mov byte [rax + 0x1a], cl
movzx ecx, byte [rdx + 0x1b]
mov byte [rax + 0x1b], cl
movzx ecx, byte [rdx + 0x1c]
mov byte [rax + 0x1c], cl
movzx ecx, byte [rdx + 0x1d]
mov byte [rax + 0x1d], cl
movzx ecx, byte [rdx + 0x1e]
mov byte [rax + 0x1e], cl
movzx edx, byte [rdx + 0x1f]
mov byte [rax + 0x1f], dl
jmp 0x327eb51a7
Function at 0x327ec00f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
cmp r8, 3
mov r9, rdx
not eax
jbe 0x327ec01c0
lea rdx, [r8 - 4]
lea r10, [0x327f71c20]
shr rdx, 2
lea rcx, [r9 + rdx*4 + 4]
nop dword [rax]
mov edx, eax
xor al, byte [r9]
add r9, 4
shr edx, 8
movzx eax, al
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 3]
shr eax, 8
movzx edx, dl
xor eax, dword [r10 + rdx*4]
mov edx, eax
xor al, byte [r9 - 2]
shr edx, 8
movzx eax, al
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 1]
shr eax, 8
movzx edx, dl
xor eax, dword [r10 + rdx*4]
cmp r9, rcx
jne 0x327ec0118
and r8d, 3
test r8, r8
je 0x327ec01b4
lea rdx, [0x327f71c20]
mov r9d, eax
xor al, byte [rcx]
shr r9d, 8
movzx eax, al
xor r9d, dword [rdx + rax*4]
cmp r8, 1
mov eax, r9d
je 0x327ec01b4
xor al, byte [rcx + 1]
shr r9d, 8
movzx eax, al
xor r9d, dword [rdx + rax*4]
cmp r8, 2
mov eax, r9d
je 0x327ec01b4
xor al, byte [rcx + 2]
mov r8d, r9d
shr r8d, 8
movzx eax, al
xor r8d, dword [rdx + rax*4]
mov eax, r8d
not eax
ret
mov rcx, rdx
jmp 0x327ec0164
Function at 0x327ed6f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movzx esi, byte [rcx + 0x40]
test sil, sil
mov rbx, rcx
je 0x327ed6f40
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x48]
mov r8d, 0xa
movzx edx, word [rcx + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov rdi, rax
je 0x327ed6fe8
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbp, rax
je 0x327ed6fe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov r13, rax
je 0x327ed6fe8
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
movsxd r12, eax
mov qword [rbx + 0x38], rdx
lea rcx, [r12 + 1]
call sub.msvcrt.dll_malloc
test rax, rax
mov rdi, rax
je 0x327ed6fcb
mov r8, r12
mov rdx, r13
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov esi, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov qword [rbx + 0x30], rdi
mov byte [rbx + 0x40], sil
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor edi, edi
jmp 0x327ed6fcb

Function at 0x327ee3eb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.327eee230
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.327eee230
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]