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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
cmp byte [rcx + 0x45], dl
je 0x140046214
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x56]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x44
jb 0x140046200
mov byte [rcx + 0x45], dl
lea rax, [rcx + 0x44]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dl
cmp rcx, rax
je 0x14004623f
mov rdx, rcx
mov r8d, 0x44
mov rcx, rbx
call fcn.140003f00
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140046250
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
cmp byte [rcx + 0x43], dl
je 0x140046284
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x56]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x42
jb 0x140046270
mov byte [rcx + 0x43], dl
lea rax, [rcx + 0x42]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dl
cmp rcx, rax
je 0x1400462af
mov rdx, rcx
mov r8d, 0x42
mov rcx, rbx
call fcn.140003f00
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400462c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
cmp byte [rcx + 0x41], dl
je 0x1400462f4
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x56]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x40
jb 0x1400462e0
mov byte [rcx + 0x41], dl
lea rax, [rcx + 0x40]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dl
cmp rcx, rax
je 0x14004631f
mov rdx, rcx
mov r8d, 0x40
mov rcx, rbx
call fcn.140003f00
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140047bb0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, rcx
xorps xmm0, xmm0
mov rcx, qword [0x1400e6b20]
movss dword [rsp + 0x98], xmm0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140047be3
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], ecx
mov edx, 0xafe78c
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x38]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov qword [rsp + 0x50], rax
mov eax, dword [0x1400e6afc]
mov byte [rsp + 0x60], cl
mov rcx, qword [0x1400e6b00]
mov qword [rsp + 0x58], 4
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x68], 0x85aef4c
mov qword [rsp + 0x70], 0x85bcd6c
call qword [0x1400e6be8]
movss xmm0, dword [rsp + 0x98]
add rsp, 0x80
pop rbx
ret
Function at 0x140047c80
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, rcx
xorps xmm0, xmm0
mov rcx, qword [0x1400e6b20]
movss dword [rsp + 0x98], xmm0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140047cb3
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], ecx
mov edx, 0xafe78c
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x38]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov qword [rsp + 0x50], rax
mov eax, dword [0x1400e6afc]
mov byte [rsp + 0x60], cl
mov rcx, qword [0x1400e6b00]
mov qword [rsp + 0x58], 4
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x68], 0x85aef4c
mov qword [rsp + 0x70], 0x85bcd6c
call qword [0x1400e6be8]
movss xmm0, dword [rsp + 0x98]
xor eax, eax
movss xmm2, dword [0x1400b7b68]
movaps xmm1, xmm0
comiss xmm1, xmm2
jb 0x140047d60
subss xmm1, xmm2
comiss xmm1, xmm2
jae 0x140047d60
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttss2si rdx, xmm1
movabs r8, 0xffffff8000000000
movabs r9, 0xffffff7fffffffff
add rdx, rax
movabs rax, 0xffffffff00000000
mov rcx, rdx
and rcx, rax
lea rax, [rcx + r8]
test r9, rax
jne 0x140047dd9
mov rax, rdx
add rcx, r8
and eax, 0xffffff
xorps xmm0, xmm0
add rax, qword [0x1400e6ae8]
test r9, rcx
cmove rdx, rax
test rdx, rdx
js 0x140047dc4
cvtsi2ss xmm0, rdx
add rsp, 0x80
pop rbx
ret
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
add rsp, 0x80
pop rbx
ret

Function at 0x140047df0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
xorps xmm0, xmm0
mov rbx, rcx
mov rcx, qword [0x1400e6b20]
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm0
mov rdi, rdx
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140047e33
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x70]
mov dword [rsp + 0x28], ecx
mov edx, 0xafe78c
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x38]
mov dword [rsp + 0x74], ecx
mov dword [rsp + 0x91], ecx
mov word [rsp + 0x95], cx
mov byte [rsp + 0x97], cl
mov qword [rsp + 0x80], rax
mov eax, dword [0x1400e6afc]
mov byte [rsp + 0x90], cl
mov rcx, qword [0x1400e6b00]
mov qword [rsp + 0x88], 0x30
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x98], 0x85aef4c
mov qword [rsp + 0xa0], 0x85bcd6c
call qword [0x1400e6be8]
movups xmm0, xmmword [rsp + 0x40]
mov rax, rbx
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x140047f00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rbx, rcx
xor edi, edi
mov rcx, qword [0x1400e6b20]
mov qword [rsp + 0x98], rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140047f35
lea ecx, [rdi - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1400e6b00]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r9d, 0x38
mov eax, dword [0x1400e6afc]
mov edx, 0xafe78c
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x61], edi
mov word [rsp + 0x65], di
mov byte [rsp + 0x67], dil
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 8
mov byte [rsp + 0x60], dil
mov qword [rsp + 0x68], 0x85aef4c
mov qword [rsp + 0x70], 0x85bcd6c
mov qword [rsp + 0x20], rdi
call qword [0x1400e6be8]
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x140047fd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rbx, rcx
xor edi, edi
mov rcx, qword [0x1400e6b20]
mov qword [rsp + 0x98], rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140048005
lea ecx, [rdi - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1400e6b00]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r9d, 0x38
mov eax, dword [0x1400e6afc]
mov edx, 0xafe78c
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x61], edi
mov word [rsp + 0x65], di
mov byte [rsp + 0x67], dil
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 8
mov byte [rsp + 0x60], dil
mov qword [rsp + 0x68], 0x85aef4c
mov qword [rsp + 0x70], 0x85bcd6c
mov qword [rsp + 0x20], rdi
call qword [0x1400e6be8]
mov r8, qword [rsp + 0x98]
movabs rax, 0xffffffff00000000
mov rcx, r8
movabs rdx, 0xffffff8000000000
and rcx, rax
movabs r9, 0xffffff7fffffffff
lea rax, [rcx + rdx]
test r9, rax
jne 0x1400480d2
add rdx, rcx
mov rcx, r8
and ecx, 0xffffff
add rcx, qword [0x1400e6ae8]
test r9, rdx
cmove r8, rcx
mov rbx, qword [rsp + 0x90]
mov rax, r8
add rsp, 0x80
pop rdi
ret
Function at 0x1400480f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rbx, rcx
xor edi, edi
mov rcx, qword [0x1400e6b20]
mov dword [rsp + 0x98], edi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140048124
lea ecx, [rdi - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1400e6b00]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r9d, 0x38
mov eax, dword [0x1400e6afc]
mov edx, 0xafe78c
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x61], edi
mov word [rsp + 0x65], di
mov byte [rsp + 0x67], dil
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 4
mov byte [rsp + 0x60], dil
mov qword [rsp + 0x68], 0x85aef4c
mov qword [rsp + 0x70], 0x85bcd6c
mov qword [rsp + 0x20], rdi
call qword [0x1400e6be8]
movsxd rcx, dword [rsp + 0x98]
movabs rax, 0xffffffff00000000
mov r8, rcx
movabs r9, 0xffffff8000000000
and r8, rax
movabs r10, 0xffffff7fffffffff
mov rdx, rcx
lea rax, [r8 + r9]
test r10, rax
jne 0x1400481f7
mov rax, rdx
lea rcx, [r8 + r9]
and eax, 0xffffff
add rax, qword [0x1400e6ae8]
test r10, rcx
cmove rdx, rax
mov rcx, rdx
mov rbx, qword [rsp + 0x90]
mov eax, ecx
add rsp, 0x80
pop rdi
ret
Function at 0x140049320
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 0x140049381
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 0x140049340
mov ecx, dword [r10]
jmp 0x14004946a
cmp ecx, 0x4e0
jb 0x14004946a
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 0x1400493a0
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 0x1400493f0
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 0x2fc4ce410
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4cf4f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cee12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f1108]
test eax, eax
je 0x2fc4ceeaa
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f1110]
mov qword [rbp - 8], rax
jmp 0x2fc4cee8e
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 0x2fc4cee82
cmp qword [rbp - 0x10], 0
je 0x2fc4cee82
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 0x2fc4cee48
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4ceeab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cefb0
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 0x2fc4cefd8
mov eax, 0
jmp 0x2fc4cf026
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 0x2fc4cf001
mov eax, 0
jmp 0x2fc4cf026
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 0x2fc4cf021
mov eax, 0
jmp 0x2fc4cf026
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cf02c
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 0x2fc4cf0aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cf0a1
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 0x2fc4cf0a1
mov rax, qword [rbp - 8]
jmp 0x2fc4cf0bf
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 0x2fc4cf074
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc5629b0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc563a90
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc5633b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc585108]
test eax, eax
je 0x2fc56344a
lea rax, [0x2fc5850e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc585110]
mov qword [rbp - 8], rax
jmp 0x2fc56342e
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 0x2fc563422
cmp qword [rbp - 0x10], 0
je 0x2fc563422
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 0x2fc5633e8
lea rax, [0x2fc5850e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc56344b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc563550
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 0x2fc563578
mov eax, 0
jmp 0x2fc5635c6
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 0x2fc5635a1
mov eax, 0
jmp 0x2fc5635c6
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 0x2fc5635c1
mov eax, 0
jmp 0x2fc5635c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc5635cc
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 0x2fc56364a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc563641
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 0x2fc563641
mov rax, qword [rbp - 8]
jmp 0x2fc56365f
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 0x2fc563614
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180001000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x28], 0
mov r8d, 0xe000
lea rdx, [section..data]
lea rcx, [rsp + 0x20]
call fcn.180002650
mov qword [rsp + 0x28], rax
lea r8, str.scab
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1800026b0
mov qword [rsp + 0x30], rax
call qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140a32bb0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140a32d37
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 0x140a32be1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a32bc7
add dl, dl
jne 0x140a32bee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a32c4e
xor eax, eax
add dl, dl
jne 0x140a32bfd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a32d05
add dl, dl
jne 0x140a32c0e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a32c1b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a32c28
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a32c35
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a32c42
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a32bd6
mov eax, 1
add dl, dl
jne 0x140a32c5e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a32c6b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a32c53
sub eax, ebx
mov ebx, 1
jne 0x140a32ca4
mov ecx, 1
add dl, dl
jne 0x140a32c86
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a32c93
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a32c7b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a32bd6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a32cc0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a32ccd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a32cb5
cmp eax, 0x7d00
jae 0x140a32cf3
cmp eax, 0x500
jb 0x140a32cee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a32bd6
cmp eax, 0x7f
ja 0x140a32cf6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a32bd6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a32d2a
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 0x140a32bd6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001123f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400137e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112da
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014b30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014b50
xor al, al
jmp 0x140014bd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014b63
xor al, al
jmp 0x140014bd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014b8d
xor al, al
jmp 0x140014bd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ba1
xor al, al
jmp 0x140014bd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014bb3
xor al, al
jmp 0x140014bd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014bcf
xor al, al
jmp 0x140014bd1
mov al, 1
add rsp, 0x38
ret