joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c5d0
Capabilities:
Write clipboard data

Disassembly:
cmp byte [rcx + 0x23], 0
jne 0x14001c5da
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x23], 2
jne 0x14001c5f6
cmp qword [0x140119de0], 0
je 0x14001c5f6
lea rcx, [0x140119dc8]
jmp fcn.140006280
and byte [rcx + 0x21], 0x86
movzx eax, byte [rcx + 0x21]
test dl, dl
je 0x14001c607
or al, 1
mov byte [rcx + 0x21], al
mov eax, 1
ret

Function at 0x14001fd70
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x160
cmp byte [0x140119fab], 0
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov dword [rcx + 0xb44], edx
jne 0x14001ff54
cmp byte [rcx + 0xbb4], 0
je 0x14001ff54
mov rcx, qword [0x1401182a0]
mov qword [rax + 8], rbx
mov dword [0x14011b0bc], r8d
xor r8d, r8d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r13
lea edx, [r8 + 1]
call fcn.140001820
lea rcx, [rsp + 0x60]
mov r8d, 0x7f
mov rdx, rax
call fcn.1400cce74
mov rbx, qword [0x1401124a8]
inc dword [0x1401178d0]
add rbx, 0x150
lea rdx, [0x1401161c0]
xor r13d, r13d
mov rcx, rbx
mov r8d, 0x150
mov word [rsp + 0x15e], r13w
mov qword [0x1401124a8], rbx
call fcn.1400ca960
lea rcx, [0x140119170]
xor edx, edx
mov dword [rbx + 0x3c], r13d
call fcn.14001f660
cmp dword [0x14011791c], r13d
mov qword [0x140119d30], r13
je 0x14001fe5f
mov rax, qword [0x140113e50]
lea rcx, [0x1400e246c]
test rax, rax
je 0x14001fe59
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rdi + 0xb30]
mov r12d, dword [0x140112474]
mov byte [0x140119fab], 1
mov dword [0x140112474], r13d
mov bl, 1
mov byte [0x14011439c], r13b
test rcx, rcx
je 0x14001fea0
call fcn.1400a6ff0
test eax, eax
je 0x14001fea0
cmp byte [0x14011439c], r13b
movzx ebx, bl
cmove ebx, r13d
mov byte [0x14011439c], 1
test bl, bl
je 0x14001fefd
mov dword [rsp + 0x30], r13d
call fcn.140068e80
mov r9d, r13d
cmp qword [rdi + 0xb30], r9
mov qword [rsp + 0x20], rax
movsxd rax, dword [0x14011b0bc]
lea rcx, [rdi + 0xae0]
lea rdx, [rsp + 0x20]
sete r9b
mov r8d, 2
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
call fcn.1400a71c0
movzx ebx, bl
cmp eax, 3
cmove ebx, r13d
mov byte [0x140119fab], r13b
mov r13, qword [rsp + 0x190]
test bl, bl
mov rbx, qword [rsp + 0x180]
jne 0x14001ff46
cmp esi, 0xffffffff
jle 0x14001ff46
lea rcx, [rsp + 0x60]
call fcn.140004b10
mov dword [0x140112474], r12d
mov r12, qword [rsp + 0x188]
mov eax, 8
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
mov r8d, ebp
mov edx, esi
mov rcx, rdi
call fcn.14001ffa0
int3
cmp byte [0x14011439c], 0
jne 0x14001ff92
cmp edx, 6
jne 0x14001ff92
mov rax, qword [0x140117670]
mov ecx, dword [0x14011b0bc]
mov byte [0x14011439c], 1
cmp word [rax], 0
lea eax, [rdx + 2]
cmovne ecx, r8d
mov dword [0x14011b0bc], ecx
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
call fcn.14001ffa0
int3
Function at 0x140066a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor esi, esi
mov rdi, rdx
or r10d, 0xffffffff
mov edx, esi
mov ebp, r9d
mov r12, r8
mov r13, rcx
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x6c], edx
cmp word [rdi], dx
je 0x140066b37
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], r14
lea r14, sym.MZ_mQi__2AXcFXq_ppj624W7rH_FhFt_bkZW__Vxfp1Vv
movzx ebx, word [rdi]
test ebx, 0xffffff80
jne 0x140066a9a
mov edx, 2
mov ecx, ebx
call fcn.1400cb1c8
mov edx, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0x68]
test eax, eax
je 0x140066a9a
and ebx, 0xffffffdf
movzx eax, bx
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x140066abb.51
cdqe
movzx eax, byte [r14 + rax + 0x66b94]
mov ecx, dword [r14 + rax*4 + 0x66b70]
add rcx, r14
jmp rcx
movzx esi, word [rdi]
jmp case.0x140066abb.51
mov ecx, 1
jmp 0x140066af1
mov ecx, SafeArrayAllocDescriptor
jmp 0x140066af1
mov ecx, 4
jmp 0x140066af1
mov ecx, 2
jmp 0x140066af1
mov ecx, pe_nt_image_headers64
jmp 0x140066af1
mov ecx, 0x1000
jmp 0x140066af1
mov ecx, 0x100
cmp esi, 0x2b
je 0x140066b0d
cmp esi, 0x2d
je 0x140066b04
cmp esi, 0x5e
jne case.0x140066abb.51
xor edx, ecx
jmp 0x140066b1b
not ecx
and r10d, ecx
and edx, ecx
jmp 0x140066b16
mov eax, ecx
not eax
and r10d, eax
or edx, ecx
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x6c], edx
add rdi, 2
cmp word [rdi], 0
jne 0x140066a73
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
movzx r9d, byte [rsp + 0x80]
lea rax, [rsp + 0x68]
mov r8d, ebp
mov qword [rsp + 0x28], rax
lea rax, [0x140066bd0]
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140066c10
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400677d0
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rsi, rcx
mov rcx, qword [0x1401175c0]
mov rbp, r8
mov rdi, rdx
call fcn.14001c010
test rdi, rdi
je 0x140067971
cmp word [rdi], 0
je 0x140067971
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, pe_nt_image_headers64
lea r8d, [r9 + 7]
mov rcx, rdi
mov qword [rsp + 0x2b0], rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x2c0], r12
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14006786a
lea rdx, [rsp + 0x2b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1400678d4
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400678b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401124a8]
mov dl, 1
mov dword [rcx + 0x40], eax
mov rcx, rsi
call fcn.14003f080
mov rbx, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r11d, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x60]
shl r11, 0x20
or r11, rax
mov qword [rsp + 0x2b8], r11
movzx ebx, word [rbp]
test ebx, 0xffffff80
jne 0x1400678f3
mov edx, 2
mov ecx, ebx
call fcn.1400cb1c8
test eax, eax
je 0x1400678f3
and ebx, 0xffffffdf
movzx eax, bx
cmp eax, 0x4b
je 0x140067919
cmp eax, 0x4d
jne 0x140067938
mov rax, qword [rsp + 0x2b8]
cqo
and edx, 0xfffff
add rax, rdx
sar rax, 0x14
jmp 0x140067930
mov rax, qword [rsp + 0x2b8]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
mov qword [rsp + 0x2b8], rax
mov rax, qword [0x1401124a8]
xor edx, edx
mov rcx, rsi
mov dword [rax + 0x40], 0
call fcn.14003f080
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [0x1401175c0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001090
mov eax, 1
jmp 0x140067898
mov rax, qword [0x1401124a8]
mov dl, 1
mov rcx, rsi
mov dword [rax + 0x40], 0x57
call fcn.14003f080
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret

Function at 0x140078f30
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cl
test cl, cl
jne 0x140078f45
xor al, al
add rsp, 0x20
pop rbx
ret
dec edx
je 0x140078f70
dec edx
movzx ecx, bl
je 0x140078f58
call qword [sym.imp.USER32.dll_GetKeyState]
jmp 0x140078f96
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r11d, ax
and r11d, 1
movzx eax, r11b
add rsp, 0x20
pop rbx
ret
lea eax, [rbx - 1]
cmp al, 5
ja 0x140078f7c
cmp bl, 3
jne 0x140078f83
lea eax, [rbx + 0x66]
cmp al, 5
ja 0x140078fac
cmp qword [0x140117888], 0
jne 0x140078fce
movzx ecx, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx r11d, ax
shr r11d, 0xf
and r11b, 1
movzx eax, r11b
add rsp, 0x20
pop rbx
ret
cmp qword [0x140117880], 0
je 0x140078f8d
xor edx, edx
xor r8d, r8d
movzx ecx, bl
call fcn.14001a1a0
test al, al
je 0x140078fce
mov cl, 1
call fcn.140019f70
lea rcx, [0x140117780]
movzx eax, bl
movzx eax, byte [rax + rcx]
shr al, 7
add rsp, 0x20
pop rbx
ret
Function at 0x1400b0620
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
lea rcx, [0x140119dc8]
mov rbx, rdx
call fcn.140006620
test eax, eax
jne 0x1400b065d
lea r8, [0x1400e246c]
lea rdx, str.Cant_open_clipboard_for_writing.
lea rcx, [0x140119170]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.140040620
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rbp, [rsi + rbx]
lea rbx, [rsi + 4]
xor r14d, r14d
cmp rbx, rbp
ja 0x1400b0722
mov r13d, dword [rsi]
test r13d, r13d
je 0x1400b0722
mov rax, rbx
add rbx, 8
cmp rbx, rbp
ja 0x1400b0722
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, rbp
ja 0x1400b0722
mov rdx, r14
test rdi, rdi
mov ecx, 0x42
sete dl
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x1400b07e0
test rdi, rdi
je 0x1400b0709
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400b0781
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.1400ca960
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rdx, r12
mov ecx, r13d
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rbx, [rsi + 4]
cmp rbx, rbp
jbe 0x1400b0690
cmp dword [0x140119df4], r14d
je 0x1400b075c
cmp qword [0x140119dd8], r14
je 0x1400b0748
mov rcx, qword [0x140119dc8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140119dd8], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140119df4], r14d
mov qword [0x140119dc8], r14
mov eax, 1
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x140119df4], r14d
je 0x1400b07c4
cmp qword [0x140119dd8], r14
je 0x1400b07b0
mov rcx, qword [0x140119dc8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140119dd8], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140119df4], r14d
mov qword [0x140119dc8], r14
lea r8, [0x1400e246c]
lea rdx, str.GlobalLock
lea rcx, [0x140119170]
call fcn.140040620
jmp 0x1400b0761
cmp dword [0x140119df4], r14d
je 0x1400b081a
cmp qword [0x140119dd8], r14
je 0x1400b0806
mov rcx, qword [0x140119dc8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140119dd8], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140119df4], r14d
mov qword [0x140119dc8], r14
lea r8, [0x1400e246c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140119170]
call fcn.140040620
jmp 0x1400b0761
Function at 0x1400ca2cc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400ca13c

Function at 0x1400d3f38
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1401112b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400cdd68
xor ebx, ebx
cmp qword [0x1401159e8], rbx
mov rdi, rax
jne 0x1400d404b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400d4122
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d4122
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1401159e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1401159f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1401159f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140115a08], rax
test rax, rax
je 0x1400d4042
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140115a00], rax
jmp 0x1400d4052
mov rax, qword [0x140115a00]
jmp 0x1400d4059
mov rax, qword [0x140115a00]
mov r11, qword [0x140115a08]
cmp rax, rdi
je 0x1400d40c0
cmp r11, rdi
je 0x1400d40c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140115a08]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400d40c0
test rax, rax
je 0x1400d40c0
call rsi
test rax, rax
je 0x1400d40ba
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400d40ba
test byte [rsp + 0x40], 1
jne 0x1400d40c0
bts ebp, 0x15
jmp 0x1400d4100
mov rcx, qword [0x1401159f0]
cmp rcx, rdi
je 0x1400d4100
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d4100
call rax
mov rbx, rax
test rax, rax
je 0x1400d4100
mov rcx, qword [0x1401159f8]
cmp rcx, rdi
je 0x1400d4100
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d4100
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1401159e8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d4122
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400d4124
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d1520
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401376e0
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 0x14013770d
xor al, al
jmp 0x14013786f
mov rax, qword [0x1401586c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1401586c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1401586d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1401586d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1401586e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1401586e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1401586f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1401586f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140158700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140137861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1401377b9
mov r11d, 2
jmp 0x1401377dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1401377d3
mov r11d, 1
jmp 0x1401377dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x140137885
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 0x140137822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14013783a
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 0x14013784a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140137858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1401377a0
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 0x14013786a
Function at 0x14002934c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ca14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ca14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f340
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a348
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d6f0
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a348
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b0dc
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ca14
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018804
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ca14
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows fibers

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov eax, 0xfc
lea rcx, [rsp + 0x32]
xor edx, edx
mov word [rsp + 0x30], ax
mov r8d, 0x3e6
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x20]
mov edx, 0x3e8
mov r8d, 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFiber]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFiber]
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400010b0
add rsp, 0x430
pop rbx
ret
Function at 0x414b20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414cc6
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430a40
xorps xmm15, xmm15
mov r14, qword [0x01a9a928]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414b8b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414ba0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x414bc5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414bd9
cmp rbx, 0x1000
jae 0x414b95
nop dword [rax]
jmp 0x414c49
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x414bed
xor edx, edx
jmp 0x414c40
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430a40
xorps xmm15, xmm15
mov r14, qword [0x01a9a928]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x414bcf
jmp 0x414bb4
call fcn.0045fd60
xorps xmm15, xmm15
mov r14, qword [0x01a9a928]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00434f80
lea rax, [0x004b3afe]
mov ebx, 0x18
call fcn.00435880
mov rax, qword [rsp + 0x38]
call fcn.00435580
lea rax, [0x004b3bbe]
mov ebx, 0x19
call fcn.00435880
mov rax, qword [rsp + 0x30]
nop
call fcn.00435580
call fcn.004351e0
call fcn.00435000
lea rax, [0x004b5df5]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00433640
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c1c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00414b20
Function at 0x414d00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414f2a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430ac0
xorps xmm15, xmm15
mov r14, qword [0x01a9a928]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414d79
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414d8c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414db0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x414dc4
cmp rbx, 0x1000
jae 0x414d83
jmp 0x414e45
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414dd6
xor esi, esi
jmp 0x414e36
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00430ac0
xorps xmm15, xmm15
mov r14, qword [0x01a9a928]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x414dba
nop
jmp 0x414da2
call fcn.0045fd60
xorps xmm15, xmm15
mov r14, qword [0x01a9a928]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414ec5
call fcn.00434f80
lea rax, [0x004b3f8d]
mov ebx, 0x19
call fcn.00435880
mov rax, qword [rsp + 0x68]
call fcn.00435580
lea rax, [0x004b3bbe]
mov ebx, 0x19
call fcn.00435880
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00435580
call fcn.004351e0
call fcn.00435000
lea rax, [0x004b0b9a]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00433640
cmp eax, 0x5af
je 0x414e68
call fcn.00434f80
lea rax, [0x004b3f8d]
mov ebx, 0x19
nop dword [rax]
call fcn.00435880
mov rax, qword [rsp + 0x38]
call fcn.00435580
lea rax, [0x004b3bbe]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435880
mov eax, dword [rsp + 0x34]
call fcn.00435580
call fcn.004351e0
call fcn.00435000
lea rax, [0x004b56c8]
mov ebx, 0x1f
call fcn.00433640
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c1c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414d00