joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400120a8
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov rbx, rcx
lea rdi, [rsp + 0x40]
lea rsi, [rcx + 0x28]
mov r14d, 0x10
mov ecx, dword [rsi]
call fcn.140024390
mov dword [rdi], eax
lea rdi, [rdi + 4]
lea rsi, [rsi + 4]
sub r14, 1
jne 0x1400120e1
lea r10, [rbp - 0x80]
lea r9, [rsp + 0x78]
lea r11d, [r14 + 0x30]
mov ecx, dword [r9 - 0x34]
mov r8d, ecx
mov edx, dword [r9]
mov eax, ecx
rol r8d, 0xe
lea r9, [r9 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 - 0x3c]
add r8d, dword [r9 - 0x18]
mov dword [r10], r8d
lea r10, [r10 + 4]
sub r11, 1
jne 0x140012105
movups xmm0, xmmword [rbx]
lea r12d, [r11 + 0x40]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov edi, dword [rsp + 0x28]
mov esi, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x20]
mov ebx, dword [rsp + 0x2c]
movups xmmword [rsp + 0x30], xmm1
mov r13d, dword [rsp + 0x3c]
mov r14d, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x30]
mov eax, r9d
mov r8d, r9d
rol eax, 7
mov ecx, r9d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, r9d
mov edx, r10d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r15d
and eax, r9d
xor ecx, eax
lea rax, [0x140033c60]
add r8d, ecx
mov ecx, esi
add r8d, dword [r11 + rax]
xor ecx, edi
add r8d, dword [rsp + r11 + 0x40]
lea r11, [r11 + 4]
add r8d, r13d
and ecx, r10d
mov eax, r10d
mov r13d, r14d
rol eax, 0xa
mov r14d, r15d
xor edx, eax
mov r15d, r9d
mov eax, r10d
lea r9d, [rbx + r8]
ror eax, 2
mov ebx, edi
xor edx, eax
mov eax, esi
and eax, edi
mov edi, esi
xor ecx, eax
mov esi, r10d
add edx, ecx
lea r10d, [rdx + r8]
sub r12, 1
jne 0x140012188
mov dword [rsp + 0x2c], ebx
lea rcx, [rsp + 0x20]
mov rbx, qword [rbp + 0x70]
lea edx, [r12 + 8]
sub rcx, rbx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x20], r10d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x3c], r13d
mov eax, dword [rcx + rbx]
add dword [rbx], eax
lea rbx, [rbx + 4]
sub rdx, 1
jne 0x140012248
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140012a4c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov word [rbp + 0x1c], 0x500
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x18]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0x10], eax
test eax, eax
je 0x140012ac8
mov rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp + 0x10], ecx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0x10]
test eax, eax
setne al
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rbp
ret

Function at 0x140012adc
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1020
call fcn.14001e3f0
sub rsp, rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140012b06
xor eax, eax
jmp 0x140012b29
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000e520
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
add rsp, 0x1020
pop rbx
ret
Function at 0x1400134ac
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x14001354e
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400136f0]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140013524
lea rdx, str.CreateThread_failed
lea rcx, [0x14004bcc8]
call fcn.140007fac
lea rcx, [0x14004bcc8]
call fcn.140008e04
lea edx, [rsi + 2]
lea rcx, [0x14004bcc8]
call fcn.140007f80
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x108]
mov edx, dword [0x140054f50]
test edx, edx
je 0x140013544
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x1400134c8
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140023b4c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140023920
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140023920
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140023920
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140023920
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140023920
cmp dword [rcx + 0x84], 0xe
jbe 0x140023920
cmp dword [rcx + 0xf8], esi
je 0x140023920
mov ecx, r14d
call fcn.140023a68
mov ecx, 2
call fcn.1400284f4
nop
cmp byte [0x140055430], 0
jne 0x1400239ea
mov r15d, 1
mov eax, r15d
xchg dword [0x140055420], eax
test ebx, ebx
jne 0x140023993
mov rdi, qword [0x1400411e8]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140055428]
cmp rcx, rax
je 0x14002398a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140008e04]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140055598]
jmp 0x14002399f
cmp ebx, r15d
jne 0x1400239a5
lea rcx, [0x1400555b0]
call fcn.1400263d4
nop
test ebx, ebx
jne 0x1400239bc
lea rdx, [0x1400324a8]
lea rcx, [0x140032488]
call fcn.1400266a0
lea rdx, [0x1400324b8]
lea rcx, [0x1400324b0]
call fcn.1400266a0
movzx eax, byte [0x140055430]
test esi, esi
cmove eax, r15d
mov byte [0x140055430], al
jmp 0x1400239ea
mov ecx, 2
call fcn.140028548
test esi, esi
jne 0x140023a01
mov ecx, r14d
call fcn.140023a1c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400238b0
Function at 0x14001ea74
Capabilities:
Parse pe header

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

Function at 0x140022478
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400222e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400222e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400222e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400222e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400222e3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400222e3
cmp dword [rcx + 0xf8], 0
je 0x1400222e3
mov ecx, ebx
call fcn.140022394
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140022170
nop
cmp dword [rbp + 0x20], 0
je 0x140022331
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002233c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140022274
Function at 0x14002ce54
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002ce84
xor eax, eax
jmp 0x14002cf47
mov rbp, rbx
cmp word [rax], si
je 0x14002cea9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002ce90
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002ce8c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14002cd74
movsxd r14, eax
test eax, eax
jne 0x14002cee7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002ce7d
mov rcx, r14
call fcn.140029320
mov rdi, rax
test rax, rax
jne 0x14002cf00
xor ecx, ecx
call fcn.1400298d8
jmp 0x14002cedc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14002cd74
test eax, eax
jne 0x14002cf31
mov rcx, rdi
call fcn.1400298d8
jmp 0x14002cf3b
xor ecx, ecx
call fcn.1400298d8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14002cf64
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002cfeb
mov rsi, rbx
cmp word [rax], bp
je 0x14002cfaa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002cf94
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002cf90
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140029320
mov rdi, rax
test rax, rax
je 0x14002cfd8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020200
mov rbp, rdi
xor ecx, ecx
call fcn.1400298d8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002fe8c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002fea2
mov al, 1
jmp 0x14002ff02
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002feb3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002ff00
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002d6f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002ff00
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002ff00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002ff00
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002ff02
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140032284
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140027bd8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003230e
cmp byte [rbp - 0x21], r15b
je 0x140032309
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140032344
call fcn.140029b28
test eax, eax
jne 0x140032330
cmp byte [rbp - 0x21], r15b
je 0x140032328
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140032344
cmp byte [rbp - 0x21], r15b
je 0x140032341
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14002bb44
test eax, eax
jne 0x1400323e4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140027bd8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140032383
cmp byte [rbp - 0x21], r15b
je 0x1400323b8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400323b8
call fcn.140029b28
test eax, eax
jne 0x1400323a4
cmp byte [rbp - 0x21], r15b
je 0x14003239d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400323b8
cmp byte [rbp - 0x21], r15b
je 0x1400323b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002bb44
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400323e4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400323e7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400323f5
mov rcx, rdi
call fcn.1400298d8
cmp byte [rbp + 0x3f], r15b
je 0x140032404
mov rcx, qword [rbp + 0x27]
call fcn.1400298d8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140033b60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140033b88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140033b88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4ca880
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb282
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ef108]
test eax, eax
je 0x2fc4cb31a
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ef110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb2fe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb2f2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb2f2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb2b8
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb31b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb420
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cb448
mov eax, 0
jmp 0x2fc4cb496
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cb471
mov eax, 0
jmp 0x2fc4cb496
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cb491
mov eax, 0
jmp 0x2fc4cb496
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb49c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cb51a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb511
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cb511
mov rax, qword [rbp - 8]
jmp 0x2fc4cb52f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cb4e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1406ef290
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406ef417
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406ef2c1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ef2a7
add dl, dl
jne 0x1406ef2ce
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ef32e
xor eax, eax
add dl, dl
jne 0x1406ef2dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ef3e5
add dl, dl
jne 0x1406ef2ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ef2fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ef308
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ef315
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406ef322
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406ef2b6
mov eax, 1
add dl, dl
jne 0x1406ef33e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ef34b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ef333
sub eax, ebx
mov ebx, 1
jne 0x1406ef384
mov ecx, 1
add dl, dl
jne 0x1406ef366
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ef373
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ef35b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ef2b6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406ef3a0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ef3ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ef395
cmp eax, 0x7d00
jae 0x1406ef3d3
cmp eax, 0x500
jb 0x1406ef3ce
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ef2b6
cmp eax, 0x7f
ja 0x1406ef3d6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ef2b6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406ef40a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406ef2b6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140551058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405511df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140551089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14055106f
add dl, dl
jne 0x140551096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405510f6
xor eax, eax
add dl, dl
jne 0x1405510a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405511ad
add dl, dl
jne 0x1405510b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405510c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405510d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405510dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405510ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14055107e
mov eax, 1
add dl, dl
jne 0x140551106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140551113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405510fb
sub eax, ebx
mov ebx, 1
jne 0x14055114c
mov ecx, 1
add dl, dl
jne 0x14055112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14055113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140551123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14055107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140551168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140551175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14055115d
cmp eax, 0x7d00
jae 0x14055119b
cmp eax, 0x500
jb 0x140551196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14055107e
cmp eax, 0x7f
ja 0x14055119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14055107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405511d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14055107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x181ac6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x181ac61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x181ac6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181ac606f
add dl, dl
jne 0x181ac6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181ac60f6
xor eax, eax
add dl, dl
jne 0x181ac60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181ac61ad
add dl, dl
jne 0x181ac60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ac60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ac60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ac60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x181ac60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x181ac607e
mov eax, 1
add dl, dl
jne 0x181ac6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ac6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181ac60fb
sub eax, ebx
mov ebx, 1
jne 0x181ac614c
mov ecx, 1
add dl, dl
jne 0x181ac612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181ac613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181ac6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181ac607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x181ac6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181ac6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181ac615d
cmp eax, 0x7d00
jae 0x181ac619b
cmp eax, 0x500
jb 0x181ac6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181ac607e
cmp eax, 0x7f
ja 0x181ac619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181ac607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x181ac61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x181ac607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20