joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140077fd0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400970c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140096a10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140097109
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b2020]
jmp 0x140097118
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x14007807a
Capabilities:
Set environment variable

Disassembly:
jmp 0x140150000
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400762e3
lea rcx, [rsp + 0x48]
call fcn.1400762e3
call fcn.140076b08
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400760f9
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14015006f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400765d1
lea rcx, [rsp + 0x78]
call fcn.1400765d1
mov eax, dword [rsp + 0x24]
jmp 0x140150100
call fcn.140076b08
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400760f9
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1401500b6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400765d1
lea rcx, [rsp + 0x78]
call fcn.1400765d1
mov eax, dword [rsp + 0x2c]
jmp 0x140150100
lea rcx, [rsp + 0x48]
call fcn.14007626b
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14007626b
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400765d1
lea rcx, [rsp + 0x78]
call fcn.1400765d1
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x14013ce30
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140075924
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401a1a50]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14013d022
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14013cf76
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14013cf76
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14013cf5b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14013cef8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14013cfe2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013d041
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14013d01d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013d041
jmp 0x14013cece
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140076883
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14013d0f0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140075924
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401a1a50]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14013d2fd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14013d249
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14013d249
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14013d229
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14013d1b8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14013d2bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013d31c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14013d2f8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14013d31c
jmp 0x14013d18e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140076883
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140ad4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140ad41df
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 0x140ad4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ad406f
add dl, dl
jne 0x140ad4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ad40f6
xor eax, eax
add dl, dl
jne 0x140ad40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ad41ad
add dl, dl
jne 0x140ad40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ad40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ad40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ad40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ad40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ad407e
mov eax, 1
add dl, dl
jne 0x140ad4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ad4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ad40fb
sub eax, ebx
mov ebx, 1
jne 0x140ad414c
mov ecx, 1
add dl, dl
jne 0x140ad412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ad413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ad4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ad407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ad4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ad4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ad415d
cmp eax, 0x7d00
jae 0x140ad419b
cmp eax, 0x500
jb 0x140ad4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ad407e
cmp eax, 0x7f
ja 0x140ad419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ad407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ad41d2
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 0x140ad407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001100a
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140023a80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x140093239]
call fcn.140011a64
mov rax, qword [rbp + 0x148]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x148]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 8], rax
xor eax, eax
mov word [rbp + 0x24], ax
jmp 0x140023ade
movzx eax, word [rbp + 0x24]
inc ax
mov word [rbp + 0x24], ax
mov rax, qword [rbp + 8]
add rax, 0x28
mov qword [rbp + 8], rax
movzx eax, word [rbp + 0x24]
mov rcx, qword [rbp + 0x148]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140023b87
mov rax, qword [rbp + 8]
cmp dword [rax + 0x10], 0
jne 0x140023b01
jmp 0x140023ac7
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x140023b82
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x10]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x118], rax
call fcn.14001153c
mov rcx, qword [rbp + 8]
mov r9d, dword [rcx + 0x10]
mov r8, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x118]
mov rdx, rcx
mov rcx, rax
call fcn.1400114ab
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140023ac7
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011078
Capabilities:
Create process on windows

Disassembly:
jmp 0x140025de0
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x140093234]
call fcn.140011a64
movzx eax, byte [rbp + 0x130]
mov dword [rbp + 0xe4], eax
mov rcx, qword [rbp + 0x128]
call fcn.1400113ac
mov qword [rbp + 0xe8], rax
mov rcx, qword [rbp + 0x120]
call fcn.1400113ac
mov qword [rbp + 0xf0], rax
lea rdx, str.runas
lea rcx, [rbp + 0xc8]
call fcn.140011177
mov rcx, rax
call fcn.140011361
mov ecx, dword [rbp + 0xe4]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0xe8]
mov r9, rcx
mov rcx, qword [rbp + 0xf0]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rcx, qword [rbp + 0x120]
call fcn.140011910
nop
mov rcx, qword [rbp + 0x128]
call fcn.140011910
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400110d7
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140025ee0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140093239]
call fcn.140011a64
mov rax, qword [rbp + 0x128]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x128]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
jmp 0x140025f3a
mov rax, qword [rbp + 0x28]
add rax, 0x28
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x128]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
cmp qword [rbp + 0x28], rax
jae 0x140025fb4
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0xc]
cmp qword [rbp + 0x120], rax
jb 0x140025faf
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x28]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rbp + 0x120], rax
jae 0x140025faf
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0x130]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rbp + 0x120]
sub rdx, rcx
mov rcx, rdx
add rax, rcx
jmp 0x140025fb6
jmp 0x140025f2e
xor eax, eax
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011104
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x140023be0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rcx, [0x140093238]
call fcn.140011a64
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140023c3f
xor eax, eax
jmp 0x140023cb9
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140023c99
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0x905a4d
je 0x140023cab
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011145
Capabilities:
Write file on windows

Disassembly:
jmp 0x140023700
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14008aec0]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x140093234]
call fcn.140011a64
mov byte [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov rcx, qword [rbp + 0x1c0]
call fcn.1400113ac
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400237bb
mov byte [rbp + 0x124], 1
mov rcx, qword [rbp + 0x1c0]
call fcn.140011910
movzx eax, byte [rbp + 0x124]
jmp 0x14002384d
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1400237de
mov byte [rbp + 0x144], 0
mov rcx, qword [rbp + 0x1c0]
call fcn.140011910
movzx eax, byte [rbp + 0x144]
jmp 0x14002384d
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, 0x41200
lea rdx, [0x14003c400]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [rbp + 0x24], al
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rbp + 0x24]
test eax, eax
jne 0x140023833
mov byte [rbp + 0x164], 0
mov rcx, qword [rbp + 0x1c0]
call fcn.140011910
movzx eax, byte [rbp + 0x164]
jmp 0x14002384d
mov byte [rbp + 0x184], 1
mov rcx, qword [rbp + 0x1c0]
call fcn.140011910
movzx eax, byte [rbp + 0x184]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140032c90]
call fcn.1400118ac
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.140011528
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400113fc
Capabilities:
Delete file

Disassembly:
jmp 0x140024d80
push rbp
push rdi
sub rsp, 0x558
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xee
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14008aec0]
xor rax, rbp
mov qword [rbp + 0x520], rax
lea rcx, [0x140093234]
call fcn.140011a64
lea rax, [rbp + 0x248]
mov qword [rbp + 0x288], rax
lea rdx, [0x140033e40]
lea rcx, [rbp + 0x2a8]
call fcn.14001193d
mov rcx, rax
call fcn.140011997
mov rdx, rax
mov rcx, qword [rbp + 0x288]
call fcn.14001139d
mov qword [rbp + 0x508], rax
mov rdx, qword [rbp + 0x508]
lea rcx, [rbp + 8]
call fcn.14001117c
nop
lea rax, [rbp + 0x2d8]
mov qword [rbp + 0x318], rax
lea rdx, str..exe
lea rcx, [rbp + 0x338]
call fcn.14001193d
mov rcx, rax
call fcn.140011997
mov rdx, rax
mov rcx, qword [rbp + 0x318]
call fcn.14001139d
mov qword [rbp + 0x508], rax
mov rdx, qword [rbp + 0x508]
lea rcx, [rbp + 0x48]
call fcn.14001117c
nop
lea rdx, [0x140033e60]
lea rcx, [rbp + 0x368]
call fcn.140011177
mov rcx, rax
call fcn.140011361
lea r8, [rbp + 8]
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140011b13
nop
lea rcx, [rbp + 8]
call fcn.1400113ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x48]
call fcn.1400113ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x398]
mov qword [rbp + 0x3d8], rax
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x3d8]
call fcn.14001102d
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.140011a1e
lea rax, [rbp + 0x3f8]
mov qword [rbp + 0x438], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x438]
call fcn.14001102d
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.140011145
lea rax, [rbp + 0x458]
mov qword [rbp + 0x498], rax
lea rax, [rbp + 0x4b8]
mov qword [rbp + 0x4f8], rax
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x498]
call fcn.14001102d
mov qword [rbp + 0x508], rax
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x510], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x4f8]
call fcn.14001102d
mov qword [rbp + 0x518], rax
xor r8d, r8d
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x518]
call fcn.140011078
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 8]
call fcn.1400113ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x48]
call fcn.1400113ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp + 0x88]
call fcn.140011910
nop
lea rcx, [rbp + 0x48]
call fcn.140011910
nop
lea rcx, [rbp + 8]
call fcn.140011910
lea rcx, [rbp - 0x20]
lea rdx, [0x140032eb0]
call fcn.1400118ac
mov rcx, qword [rbp + 0x520]
xor rcx, rbp
call fcn.140011528
lea rsp, [rbp + 0x538]
pop rdi
pop rbp
ret
Function at 0x140011596
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x140022260
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x20]
lea rcx, [0x140093239]
call fcn.140011a64
lea rdx, [0x140033e70]
lea rcx, [rbp + 0x1c8]
call fcn.1400117a8
mov rcx, rax
call fcn.140011113
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 8], rax
call fcn.14001153c
mov r8d, 0x40
mov edx, 0x1000
mov rcx, rax
call fcn.140011a37
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x44], 0xc8
mov eax, dword [rbp + 0x44]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x68], rax
mov r8d, 0x60
lea rdx, [0x14007d600]
mov rcx, qword [rbp + 0x68]
call fcn.14001152d
mov rax, qword [rbp + 0x28]
add rax, 0x60
mov qword [rbp + 0x88], rax
mov eax, dword [0x14007d6bc]
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
mov qword [rcx + rax], rdx
mov rax, qword [rbp + 0x68]
add rax, 0x60
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0xa8]
add rax, 0x18
mov r8, qword [rbp + 0x228]
mov edx, 0x50
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_strcpy_s]
call fcn.14001153c
mov r9d, dword [rbp + 0x44]
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.1400114ab
mov r9d, dword [rbp + 0x220]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x28]
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xa8]
cmp dword [rax], 2
je 0x1400223ee
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, dword [rbp + 0x220]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call fcn.14001153c
mov r9d, 0x68
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
mov rcx, rax
call fcn.1400112df
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400223a0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0xe8], rax
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call fcn.14001153c
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.140011aeb
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rbp + 0xe8]
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret

Function at 0x1400115dc
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140028850
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140028870
xor al, al
jmp 0x1400288f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140028883
xor al, al
jmp 0x1400288f1
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 0x1400288ad
xor al, al
jmp 0x1400288f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400288c1
xor al, al
jmp 0x1400288f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400288d3
xor al, al
jmp 0x1400288f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400288ef
xor al, al
jmp 0x1400288f1
mov al, 1
add rsp, 0x38
ret