joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800844d8
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
call fcn.18006f264
xor r15d, r15d
mov rbx, rax
test rax, rax
je 0x1800846fc
cmp byte [0x1803062e0], r15b
je 0x1800846fc
mov rdx, qword [0x1803063d0]
test rdx, rdx
jne 0x1800845cf
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rdx + 0x10]
mov rdi, qword [rax]
mov r10, rdi
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800845b4
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x1800845b4
mov r14d, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r14 + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x1800845b0
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180084591
cmp r11d, 0x95466b05
je 0x18008462b
test edx, edx
jne 0x180084575
mov rax, qword [r10]
mov r10, rax
cmp rax, rdi
je 0x1800845c5
cmp qword [rax + 0x30], r15
jne 0x180084551
mov rdx, r15
mov qword [0x1803063d0], rdx
mov ecx, dword [0x180303c64]
call rdx
test ax, ax
jns 0x1800846fc
movss xmm9, dword [0x180303a80]
lea rcx, [rbp - 0x29]
movss xmm6, dword [0x180303a84]
xor r8d, r8d
mulss xmm9, dword [0x1800dbc9c]
mov rdx, rbx
mulss xmm6, dword [0x1800dbc9c]
call fcn.18006ef94
mov ecx, dword [0x1803062e8]
sub ecx, 1
je 0x180084658
sub ecx, 1
je 0x180084650
cmp ecx, 1
jne 0x180084645
mov r8d, ecx
jmp 0x18008465e
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov edx, dword [rcx + rdx*4]
add rdx, r8
jmp 0x1800845c8
mov ebx, dword [rbp - 0x21]
movsd xmm8, qword [rbp - 0x29]
jmp 0x180084673
mov r8d, 8
jmp 0x18008465e
mov r8d, 7
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.18006ef94
movsd xmm8, qword [rbp - 0x39]
mov ebx, dword [rbp - 0x31]
lea rdx, [rbp - 0x19]
movsd qword [rbp - 0x19], xmm8
lea rcx, [rbp + 0x67]
mov dword [rbp - 0x11], ebx
call fcn.180077dd0
movss xmm0, dword [rbp + 0x6b]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800e1ce8]
call fcn.1800d533e
movsd xmm1, qword [0x1800e1ce8]
movaps xmm7, xmm0
movss xmm0, dword [rbp + 0x67]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm9
subsd xmm0, xmm2
call fcn.1800d533e
addsd xmm7, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
call fcn.1800d5308
mov eax, dword [0x1803062dc]
xorps xmm1, xmm1
lea ecx, [rax + rax*2]
cvtsi2ss xmm1, ecx
comiss xmm1, xmm0
jbe 0x1800846fc
lea rcx, [rbp - 9]
movsd qword [rbp - 9], xmm8
mov dword [rbp - 1], ebx
call fcn.1800796c0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800b89a0
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x1800b89d5
lea rdx, str.Couldnt_set_desired_mode
call fcn.180099de0
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x1800b89ec
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.180099f60
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x1800b8a08
mov rcx, rdi
call fcn.1800b88e0
jmp 0x1800b8b3f
cmp esi, 0x14
jne 0x1800b8b21
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xba0], 2
jne 0x1800b8a89
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800b8a89
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.1800b0490
test eax, eax
jne 0x1800b8b3f
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call fcn.1800d52de
test rax, rax
je 0x1800b8a7e
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x1800b8a89
mov rcx, qword [rsp + 0x50]
call qword [fcn.1800d52f6]
mov rdx, qword [rsi + 0xc08]
test rdx, rdx
jne 0x1800b8aad
cmp byte [rsi + 0xf0d], bl
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1801502cb]
test rbp, rbp
mov r9, r8
lea rax, [0x1801504ec]
cmovne r9, rbp
lea rcx, [0x180146198]
cmovne r8, rax
call fcn.18009d220
mov rcx, rbp
mov r14, rax
call qword [fcn.1800d52f6]
test r14, r14
jne 0x1800b8aec
lea ebx, [r14 + 0x1b]
jmp 0x1800b8b41
lea rcx, [rdi + 0xa00]
mov r8, r14
lea rdx, [0x1800dbb34]
call fcn.1800cec40
mov rcx, r14
mov esi, eax
call qword [fcn.1800d52f6]
test esi, esi
je 0x1800b8b15
mov ebx, esi
jmp 0x1800b8b41
mov dword [rdi + 0xab8], 0x1f
jmp 0x1800b8b41
cmp esi, 0x15
jne 0x1800b8b2c
lea r8d, [rsi - 8]
jmp 0x1800b8b35
cmp esi, 0x16
jne 0x1800b8b41
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.1800b8410
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800d34c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.1800d52fc]
mov rdi, rax
test rax, rax
jne 0x1800d3502
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1800d3549
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1800d35a2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x1800d3560
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800d35e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x180150062]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x180150063]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800d35b0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1803176e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x18031770d
xor al, al
jmp 0x18031786f
mov rax, qword [0x1803386c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1803386c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1803386d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1803386d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1803386e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1803386e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1803386f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1803386f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x180338700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x180317861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1803177b9
mov r11d, 2
jmp 0x1803177dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1803177d3
mov r11d, 1
jmp 0x1803177dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x180317885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x180317822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x18031783a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x18031784a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x180317858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1803177a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x18031786a
Function at 0x140001010
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rax, [0x14004b240]
xor r14d, r14d
mov qword [rsp + 0x20], rax
mov ebx, r14d
lea rax, [0x14004b248]
mov dword [rbp + 0xc0], r14d
mov qword [rsp + 0x28], rax
mov edi, r14d
lea rax, [0x14004b250]
mov qword [rsp + 0x30], rax
lea rax, [0x14004b258]
mov qword [rsp + 0x38], rax
lea rax, [0x14004b260]
mov qword [rsp + 0x40], rax
lea rax, [0x14004b268]
mov qword [rsp + 0x48], rax
lea rax, [0x14004b270]
mov qword [rsp + 0x50], rax
lea rax, [0x14004b278]
mov qword [rsp + 0x58], rax
lea rax, [0x14004b280]
mov qword [rsp + 0x60], rax
lea rax, [0x14004b288]
mov qword [rsp + 0x68], rax
lea rax, [0x14004b290]
mov qword [rsp + 0x70], rax
lea rax, [0x14004b298]
mov qword [rsp + 0x78], rax
lea rax, [0x14004b2a0]
mov qword [rbp - 0x80], rax
lea rax, [0x14004b2a8]
mov qword [rbp - 0x78], rax
lea rax, [0x14004b2b0]
mov qword [rbp - 0x70], rax
lea rax, [0x14004b2b8]
mov qword [rbp - 0x68], rax
lea rax, [0x14004b2c0]
mov qword [rbp - 0x60], rax
lea rax, [0x14004b2c8]
mov qword [rbp - 0x58], rax
lea rax, [0x14004b2d0]
mov qword [rbp - 0x50], rax
lea rax, [0x14004b2d8]
mov qword [rbp - 0x48], rax
lea rax, [0x14004b2e0]
mov qword [rbp - 0x40], rax
lea rax, [0x14004b2e8]
mov qword [rbp - 0x38], rax
lea rax, [0x14004b2f0]
mov qword [rbp - 0x30], rax
lea rax, [0x14004b2f8]
mov qword [rbp - 0x28], rax
lea rax, [0x14004b300]
mov qword [rbp - 0x20], rax
lea rax, [0x14004b308]
mov qword [rbp - 0x18], rax
nop
mov rsi, qword [rsp + rdi*8 + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x14000119c
mov eax, ebx
inc ebx
mov qword [rbp + rax*8 - 0x10], rsi
inc rdi
cmp rdi, 0x1a
jl 0x140001180
mov word [rbp + 0xd0], r14w
nop dword [rax]
mov rcx, qword [0x140051d40]
mov edx, 8
mov r8d, 0x10040
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400011b0
mov edx, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rsi, rax
test ebx, ebx
je 0x140001248
lea r9, [rbp + 0xc0]
mov r8d, 0x78
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x140001222
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x140001222
mov word [rbp + 0xd0], r14w
jmp 0x140001232
dec ebx
mov rdx, rdi
mov rcx, qword [rbp + rbx*8 - 0x10]
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov r8d, 0x8000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x1400011e1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rcx, qword [0x140051d40]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140031880
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001850
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x8f0
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
mov rdx, rcx
lea rdi, [rsp + 0xe0]
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rdi, [rsp + 0x70]
mov ecx, 0x68
rep stosb byte [rdi], al
lea rdi, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov ecx, 0x18
mov dword [rsp + 0xac], 1
rep stosb byte [rdi], al
xor edi, edi
lea rcx, [rsp + 0xe0]
mov word [rsp + 0xb0], di
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000192c
mov rcx, qword [rsp + 0x50]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.140031880
add rsp, 0x8f0
pop rdi
ret
Function at 0x140029fa0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r12d, r12d
mov ebp, r8d
mov dword [rsp + 0x30], r12d
mov r15, rdx
mov r14, rcx
mov ebx, r12d
mov edi, r8d
mov esi, r12d
test r8d, r8d
je 0x14002a011
nop dword [rax]
mov edx, esi
lea r9, [rsp + 0x30]
add rdx, r15
mov qword [rsp + 0x20], r12
mov r8d, edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14002a032
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14002a032
add esi, eax
add ebx, eax
sub edi, eax
cmp ebx, ebp
jne 0x140029fe0
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140031880
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x14002a016
Function at 0x14002ae50
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor eax, eax
mov byte [rbp - 0x20], 0
xor ebx, ebx
mov qword [rbp - 0x1f], rax
mov dword [rbp - 0x17], eax
mov rdi, rcx
mov word [rbp - 0x13], ax
mov byte [rbp - 0x11], al
mov dword [rbp - 0x28], ebx
cmp rdx, 0x110
jle 0x14002af90
add rdx, 0xfffffffffffffff0
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 0x10]
mov rcx, rdi
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [rbp - 0x40], bl
mov byte [rbp - 0x3f], 0x51
mov byte [rbp - 0x3e], 0x41
mov byte [rbp - 0x3d], 0x18
mov byte [rbp - 0x3c], 0x10
mov byte [rbp - 0x3b], 0x49
mov byte [rbp - 0x3a], 0x39
mov byte [rbp - 0x39], 0x28
mov byte [rbp - 0x38], 0x41
mov byte [rbp - 0x37], 0x6e
mov byte [rbp - 0x36], 0x28
mov byte [rbp - 0x35], 0x40
mov byte [rbp - 0x34], 0x35
mov byte [rbp - 0x33], 0x4d
mov byte [rbp - 0x32], 0x4d
mov byte [rbp - 0x31], 0x4d
mov byte [rbp - 0x30], 1
movzx eax, byte [rbp - 0x3f]
movzx eax, byte [rbp - 0x40]
test al, al
jne 0x14002af76
mov r9d, ebx
nop word [rax + rax]
movzx eax, byte [rbp + r9 - 0x3f]
imul r8d, eax, 0x1f
mov eax, 0x81020409
sub r8d, 0x1f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, 0x81020409
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + r9 - 0x3f], r8b
inc r9
cmp r9, 0x10
jb 0x14002af20
mov rcx, qword [rbp - 0x20]
sub rcx, qword [rbp - 0x3f]
jne 0x14002af88
mov rcx, qword [rbp - 0x18]
sub rcx, qword [rbp - 0x37]
test rcx, rcx
sete bl
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140031880
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003807c
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 0x140037e50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140037e50
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140037e50
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140037e50
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140037e50
cmp dword [rcx + 0x84], 0xe
jbe 0x140037e50
cmp dword [rcx + 0xf8], esi
je 0x140037e50
mov ecx, r14d
call fcn.140037f98
mov ecx, 2
call fcn.14003be30
nop
cmp byte [0x140051430], 0
jne 0x140037f1a
mov r15d, 1
mov eax, r15d
xchg dword [0x140051424], eax
test ebx, ebx
jne 0x140037ec3
mov rdi, qword [0x140050008]
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 [0x140051428]
cmp rcx, rax
je 0x140037eba
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14003238c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140051448]
jmp 0x140037ecf
cmp ebx, r15d
jne 0x140037ed5
lea rcx, [0x140051460]
call fcn.140038618
nop
test ebx, ebx
jne 0x140037eec
lea rdx, [0x1400434d8]
lea rcx, [0x1400434b8]
call fcn.140037d10
lea rdx, [0x1400434e8]
lea rcx, [0x1400434e0]
call fcn.140037d10
movzx eax, byte [0x140051430]
test esi, esi
cmove eax, r15d
mov byte [0x140051430], al
jmp 0x140037f1a
mov ecx, 2
call fcn.14003be84
test esi, esi
jne 0x140037f31
mov ecx, r14d
call fcn.140037f4c
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 0x140037de0
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013560
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 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400148b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400148d0
xor al, al
jmp 0x140014951
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400148e3
xor al, al
jmp 0x140014951
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 0x14001490d
xor al, al
jmp 0x140014951
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014921
xor al, al
jmp 0x140014951
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014933
xor al, al
jmp 0x140014951
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001494f
xor al, al
jmp 0x140014951
mov al, 1
add rsp, 0x38
ret
Function at 0x140cad058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140cad1df
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 0x140cad089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cad06f
add dl, dl
jne 0x140cad096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cad0f6
xor eax, eax
add dl, dl
jne 0x140cad0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cad1ad
add dl, dl
jne 0x140cad0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cad0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cad0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cad0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140cad0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140cad07e
mov eax, 1
add dl, dl
jne 0x140cad106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cad113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cad0fb
sub eax, ebx
mov ebx, 1
jne 0x140cad14c
mov ecx, 1
add dl, dl
jne 0x140cad12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cad13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cad123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cad07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140cad168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cad175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cad15d
cmp eax, 0x7d00
jae 0x140cad19b
cmp eax, 0x500
jb 0x140cad196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cad07e
cmp eax, 0x7f
ja 0x140cad19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cad07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140cad1d2
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 0x140cad07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20