joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ca110
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140295010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1401ca1e3
cmp byte [rcx + 0x71], 0
je 0x1401ca1e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1401ca1df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1401ca1a4
sub eax, 1
je 0x1401ca1a8
cmp eax, 2
jne 0x1401ca1df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e8230
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1401ca1d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1401ca1df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1401ca18c
xor al, al
jmp 0x1401ca18c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e8230
add rsp, 0x60
pop rbx
ret

Function at 0x1401e8d40
Capabilities:
Parse pe header

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

Function at 0x1401e8f80
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401e9004
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140226a30]
cmp byte [rcx + rax], 0
je 0x1401e9004
dec r8
sub rdx, 1
jne 0x1401e8fea
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x100c32058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x100c321df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x100c32089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x100c3206f
add dl, dl
jne 0x100c32096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x100c320f6
xor eax, eax
add dl, dl
jne 0x100c320a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x100c321ad
add dl, dl
jne 0x100c320b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x100c320c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x100c320d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x100c320dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x100c320ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x100c3207e
mov eax, 1
add dl, dl
jne 0x100c32106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x100c32113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x100c320fb
sub eax, ebx
mov ebx, 1
jne 0x100c3214c
mov ecx, 1
add dl, dl
jne 0x100c3212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x100c3213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x100c32123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x100c3207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x100c32168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x100c32175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x100c3215d
cmp eax, 0x7d00
jae 0x100c3219b
cmp eax, 0x500
jb 0x100c32196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x100c3207e
cmp eax, 0x7f
ja 0x100c3219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x100c3207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x100c321d2
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 0x100c3207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x141542058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415421df
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 0x141542089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14154206f
add dl, dl
jne 0x141542096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415420f6
xor eax, eax
add dl, dl
jne 0x1415420a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415421ad
add dl, dl
jne 0x1415420b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415420c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415420d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415420dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415420ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14154207e
mov eax, 1
add dl, dl
jne 0x141542106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141542113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415420fb
sub eax, ebx
mov ebx, 1
jne 0x14154214c
mov ecx, 1
add dl, dl
jne 0x14154212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14154213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141542123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14154207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141542168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141542175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14154215d
cmp eax, 0x7d00
jae 0x14154219b
cmp eax, 0x500
jb 0x141542196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14154207e
cmp eax, 0x7f
ja 0x14154219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14154207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415421d2
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 0x14154207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003840
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx r14d, r9b
movzx edi, r8b
mov r12d, ecx
cmp r9b, cl
jle 0x1400038bb
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r8, [0x140001b00]
movsx r9, r14b
mov rbx, rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [0x1400ed3f4]
lea rcx, str.diver
mov r9, rax
mov r8, rbx
call fcn.14000ab40
movzx r15d, r12b
lea r9, str.wine
lea r8, str.medicine
sub r15b, dil
lea rcx, [rsp + 0x90]
sub r15b, 8
movzx edx, r15b
call fcn.140010010
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rsp + 0x80], xmm0
call fcn.140009320
mov rsi, rax
call fcn.140015750
mov r13, rax
cmp dil, r15b
jg 0x140003987
call fcn.140013960
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r8, str.c1a1
lea rdx, str.c2ret
lea rcx, str.november
mov r9b, 0x10
mov rbx, rax
mov qword [rsp + 0x20], rax
call fcn.140019c70
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, str.pimple
lea rcx, str.c4ret
mov r9, rax
mov r8, rbx
call fcn.14000ab40
movzx eax, dil
imul r12b
movzx ebp, al
shl bpl, 3
sub bpl, r14b
sub bpl, 8
add bpl, r13b
add bpl, byte [rsp + 0x60]
or rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400039b0
movsx rdi, dil
movsx rax, r14b
mov edx, 0x233
sub edi, eax
add edi, r12d
add edi, r13d
add edi, dword [rsp + 0x50]
sub edi, ecx
xor ecx, ecx
lea r8d, [rcx + 0xd]
add edi, 4
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r8d, edi
movzx edx, bpl
mov r9, rax
mov qword [rsp + 0x38], rax
call fcn.140011a60
mov rbp, rax
call fcn.140018fe0
mov byte [rsp + 0x30], al
call fcn.140018fe0
movsx ecx, r14b
cmp edi, ecx
ja 0x140003a6c
mov rcx, rbx
inc rcx
cmp byte [rcx + rbp], 0
jne 0x140003a13
movzx eax, r15b
imul byte [rsp + 0x58]
shl al, 3
sub dil, al
add dil, r12b
add dil, byte [rsp + 0x38]
add dil, byte [rsp + 0x30]
add dil, r13b
sub dil, cl
nop dword [rax]
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140003a40
lea edx, [rbx + rdi]
lea r9, str.c7a4
lea r8, str.c1a1
lea rcx, [rsp + 0x90]
add dl, 6
call fcn.140010010
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x248]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006560
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r12d, r12d
mov r15d, edx
mov r14d, ecx
cmp ecx, edx
jae 0x140006609
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp - 0x20]
mov ebx, eax
lea rax, str.alcove
mov edx, 0x104
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x70], 0x40
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r9, [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movzx r8d, bl
mov rdx, rdi
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x20], rax
call fcn.14000c750
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rbp - 0x20]
mov edx, 0x104
mov qword [rsp + 0x30], rax
lea rax, [0x1400ed878]
mov qword [rsp + 0x38], rax
mov eax, r14d
sub eax, r15d
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rbp - 0x20]
mov edx, 0x104
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r12
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rax, str.sunbeam
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x80], xmm0
call fcn.14000a8e0
lea rcx, [rbp - 0x20]
mov edx, 0x104
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, str.shampoo
mov r8, rbx
mov rdx, rax
mov rsi, rax
call fcn.140011450
lea r8, [0x140001b00]
mov r9, r15
mov ecx, eax
movzx eax, bl
movzx ebx, r14b
xor edx, edx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
imul cl
sub bl, al
xor ecx, ecx
add bl, 0x13
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rbp - 0x60]
xor r8d, r8d
movzx edx, bl
mov r9, rax
mov rdi, rax
call fcn.140017b50
mov edx, dword [rsp + 0x40]
add dil, 0xb
movups xmm1, xmmword [rax + 0x10]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmm0, xmmword [rax + 0x20]
mov al, 0x1b
imul r15b
sub dl, al
sub dl, sil
movaps xmmword [rbp - 0x80], xmm0
psrldq xmm1, 0xc
movd eax, xmm1
add al, dl
add al, r14b
add al, dil
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140009320
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x150], rax
lea rdx, str.step_son
mov ecx, 8
call fcn.140053520
mov rdi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, str.c0a1
mov r9, rsi
mov rdx, rdi
mov ecx, 8
mov r14, rax
call fcn.140043230
mov edx, r14d
mov ecx, 6
mov r12d, eax
imul edx, esi
sub ecx, edi
lea ecx, [rdx + rcx*2]
mov dword [rsp + 0x60], ecx
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov edx, 0x48
xor ecx, ecx
lea r8d, [rdx - 0x46]
mov r15d, eax
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r13, str.c1a2
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rcx, [0x1400ed878]
mov r8b, 1
movaps xmm0, xmmword [rsp + 0x60]
mov rdx, rdi
mov qword [rsp + 0x28], r13
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x20], r13
call fcn.140026310
mov ecx, 1
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x70], rax
nop
cmp byte [rbx + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140009420
lea eax, [rcx*4 + 5]
lea rcx, [0x1400ed878]
mov r8d, r12d
mov rdx, r13
imul eax, edi
add eax, 0xb
add eax, esi
mov dword [rsp + 0x78], eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [rsp + 0x7c], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], 8
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], r12d
lea r9d, [rbx + 8]
lea rdx, str.c0a1
lea ecx, [rbx + 1]
mov r8, r13
mov dword [rsp + 0x28], 8
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x20], 8
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x78], rax
lea eax, [rsi*4]
xor edx, edx
sub eax, edi
mov r8d, 0x140
mov qword [rbp - 0x60], r14
add eax, r15d
mov qword [rbp - 0x58], rdi
add eax, r14d
mov dword [rbp - 0x70], eax
lea rax, str.piracy
mov qword [rbp - 0x68], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea r9d, [rbx + 0x10]
lea r8, str.c2ret
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rbp - 0x80]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x40]
xor edx, edx
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x30], xmm1
mov qword [rsp + 0x20], rbx
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [rbp - 0x50]
movsd qword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm1
call fcn.14004bdb0
lea rax, str.astrolabe
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000d4a0
Capabilities:
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, r8
mov r12d, edx
mov rsi, rcx
mov r8d, edx
mov r9d, edx
xor ecx, ecx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov r14d, eax
mov dword [rsp + 0x30], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
or rbx, 0xffffffffffffffff
mov r10, rax
mov qword [rsp + 0x38], rax
mov rcx, rbx
nop
inc rcx
cmp byte [rcx + rbp], 0
jne 0x14000d500
movzx eax, r12b
imul cl
mov rcx, rbx
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14000d512
sub cl, al
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14000d520
imul edi, r12d
mov rdx, rbx
inc rdx
cmp byte [rdx + rbp], 0
jne 0x14000d530
movzx eax, r12b
imul dl
movzx r13d, al
mov rax, rbx
inc rax
cmp byte [rsi + rax], 0
jne 0x14000d546
add r13b, al
lea rax, str.thong
movzx r8d, cl
mov r9d, edi
mov rdx, r10
movzx ecx, r14b
mov byte [rsp + 0x28], r13b
mov qword [rsp + 0x20], rax
call fcn.14002bce0
mov rcx, rax
mov r15, rax
call fcn.14003cdf0
mov r14, rax
movsx eax, byte [rsp + 0x30]
cmp edi, eax
je 0x14000d63d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rbx
mov qword [rsp + 0x30], rax
nop
inc rcx
cmp byte [rcx + rbp], 0
jne 0x14000d5b0
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14000d5c0
imul cl
movzx ecx, al
movzx eax, r12b
imul cl
movzx ecx, al
movzx eax, byte [rsp + 0x38]
imul cl
movzx edi, al
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14000d5e1
movzx eax, r15b
imul bl
movzx ecx, al
movzx eax, r15b
imul cl
movzx ecx, al
movzx eax, r13b
imul cl
sub dil, al
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, str.cytoplasm
lea r9, [0x1400ed4fc]
movzx edx, dil
mov qword [rsp + 0x20], rax
call fcn.14002c2f0
lea rcx, str.c0a4
call fcn.14003e2a0
lea rcx, [rsp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010640
Capabilities:
Copy file
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa0
mov eax, ecx
mov r14d, ecx
mov r15, r8
sub eax, dword [rbp + 0x6f]
mov dword [rbp - 1], eax
mov eax, dword [r8]
imul eax, dword [rbp + 0x6f]
imul eax, ecx
lea rcx, str.objective
sub eax, dword [rbp + 0x7f]
mov dword [rbp + 3], eax
lea rax, str.misogyny
mov qword [rbp + 7], rax
xor eax, eax
mov dword [rbp + 0xf], eax
mov qword [rbp + 0x17], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rbp - 1]
movups xmm1, xmmword [rbp + 0xf]
mov qword [rbp + 0x1f], rax
lea rax, [0x1400ed3f4]
movaps xmmword [rbp - 0x31], xmm0
mov qword [rbp + 0x27], rax
movaps xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rbp + 0x1f]
movaps xmmword [rbp - 0x11], xmm0
call fcn.14002e6d0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
xor ecx, ecx
movzx r9d, al
mov dword [rsp + 0x28], 0x40
call fcn.140031ca0
xor edx, edx
xor ecx, ecx
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
or rbx, 0xffffffffffffffff
mov rsi, rax
mov r9, rbx
inc r9
cmp byte [rdi + r9], 0
jne 0x140010714
mov eax, dword [rbp + 0x1f]
mov r8d, dword [r15 + 0x28]
lea rcx, str.objective
imul r8d, r14d
lea edx, [rax + rax*8]
mov eax, r12d
sub r8d, edx
shl eax, 6
sub r8d, eax
sub r8d, r9d
sub r8d, 2
mov dword [rbp - 0x31], r8d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [rbp - 0x19], 2
lea r8, [rbp - 1]
mov qword [rbp - 0x29], rax
lea rax, str.c1a2
lea rdx, str.cirrus
movups xmm0, xmmword [rbp - 0x31]
mov qword [rbp - 0x21], rax
mov rcx, rsi
movaps xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rbp - 0x21]
movaps xmmword [rbp + 0xf], xmm1
call fcn.14005c0e0
movzx eax, r14b
imul byte [r15 + 8]
movzx ecx, al
shl cl, 3
lea r15d, [rcx + rax]
movzx eax, sil
shl r15b, 2
imul r12b
neg al
shl al, 7
add r15b, al
movzx eax, byte [rbp + 0x6f]
imul byte [rbp + 0x7f]
add r15b, al
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400107c3
xor ecx, ecx
imul esi, r12d
shl ebx, 7
add ebx, esi
lea r8d, [rcx + 2]
mov edx, 0x1fd
lea eax, [rbx + rbx*2]
lea edi, [r14 + rax*2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, str.cirrus
lea rcx, str.c0a3
mov r8d, r12d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rcx, str.station
lea r9d, [rdi + 4]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x28], al
lea rcx, [rbp - 1]
lea rdx, str.drill
movzx r8d, r15b
mov qword [rsp + 0x20], rbx
call fcn.14001cbe0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
lea rax, [0x1400ed3b8]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140016090
Capabilities:
Create thread
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea rcx, str.satire
movzx edx, al
mov rbx, rax
call fcn.140057ef0
movsx edx, bl
cmp eax, edx
ja 0x1400160e4
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 1
xor ecx, ecx
mov r9, rax
mov r8d, edx
call fcn.14002b5f0
xor r14d, r14d
movsx rdi, bl
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov r9, rdi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call fcn.140051f60
lea ecx, [rbx + rbp]
lea r8, [0x140001b00]
mov dword [rsp + 0x30], ecx
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rbp
lea r8, str.pannier
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x50]
xor r9d, r9d
movups xmm0, xmmword [rsp + 0x30]
xor ecx, ecx
movaps xmmword [rsp + 0x50], xmm0
call fcn.140047cc0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rax, rsi
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret