joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d853
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140116948]
jne 0x14004b2da
rol rcx, 0x10
test cx, 0xffff
jne 0x14004b2d6
repz ret
ror rcx, 0x10
jmp 0x14004d7ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140117de0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140117ed8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14004d831
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140117de0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14004d853
mov rax, qword [rsp + 0x88]
mov qword [0x140117ed8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140117e78], rax
mov rax, qword [0x140117ed8]
mov qword [0x140117d50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140117e60], rax
mov dword [0x140117d40], 0xc0000409
mov dword [0x140117d44], 1
mov rax, qword [0x140116948]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140116950]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140117dd8], eax
mov ecx, 1
call fcn.140054458
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140067f68]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140117dd8], 0
jne 0x14004d8da
mov ecx, 1
call fcn.140054458
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140051448
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140054690
nop
cmp dword [0x140118658], 1
je 0x1400513f4
mov dword [0x140118654], 1
mov byte [0x140118650], r12b
test ebx, ebx
jne 0x1400513e0
mov rcx, qword [0x140118e10]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400513cd
mov rcx, qword [0x140118e08]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14005136c
call fcn.14004e150
cmp qword [rdi], rax
jne 0x14005136c
jmp 0x140051352
cmp rdi, rsi
jb 0x1400513cd
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14004e150
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140118e10]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140118e08]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400513ab
cmp r13, rax
je 0x1400513cb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140051352
lea rdx, [0x140066588]
lea rcx, [0x140066580]
call fcn.14005110c
lea rdx, [0x140066598]
lea rcx, [0x140066590]
call fcn.14005110c
nop
test r12d, r12d
je 0x140051403
mov ecx, 8
call fcn.140054570
test r12d, r12d
jne 0x14005142e
mov dword [0x140118658], 1
lea ecx, [r12 + 8]
call fcn.140054570
mov ecx, r15d
call fcn.1400510a0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400512bc

Function at 0x140051454
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400512bc
Function at 0x14005bf2c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14004e150
xor ebx, ebx
mov rdi, rax
cmp qword [0x140118ad0], rbx
jne 0x14005c032
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14005c107
lea rdx, [0x140069610]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005c107
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140069600]
mov rcx, rsi
mov qword [0x140118ad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140118ad8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140118ae0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140118af0], rax
test rax, rax
je 0x14005c029
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140118ae8], rax
jmp 0x14005c039
mov rax, qword [0x140118ae8]
jmp 0x14005c040
mov rax, qword [0x140118ae8]
mov r11, qword [0x140118af0]
cmp rax, rdi
je 0x14005c0a8
cmp r11, rdi
je 0x14005c0a8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140118af0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14005c0a8
test rax, rax
je 0x14005c0a8
call rsi
test rax, rax
je 0x14005c0a2
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14005c0a2
test byte [rsp + 0x38], 1
jne 0x14005c0a8
bts ebp, 0x15
jmp 0x14005c0e6
mov rcx, qword [0x140118ad8]
cmp rcx, rdi
je 0x14005c0e6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14005c0e6
call rax
mov rbx, rax
test rax, rax
je 0x14005c0e6
mov rcx, qword [0x140118ae0]
cmp rcx, rdi
je 0x14005c0e6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14005c0e6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140118ad0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14005c107
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14005c109
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180019858
Capabilities:
Encode data using xor

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 r14
sub rsp, 0x40
lea rsi, [0x180045030]
mov ebp, 0x800
lea r8, str.._._._..._._._.._._...
mov rcx, rsi
mov r9d, 0x1000
mov edx, ebp
call fcn.180019988
xor r14d, r14d
mov eax, r14d
xor byte [rax + rsi], 0x8a
inc rax
cmp rax, rbp
jl 0x18001989a
lea rcx, [rsp + 0x20]
mov r8d, ebp
mov rdx, rsi
call fcn.180014854
jmp 0x18001994a
lea rcx, [rsp + 0x20]
call fcn.180014900
lea rcx, [rsp + 0x20]
movsx ebx, ax
call fcn.180014900
mov rcx, qword [0x180050100]
movsx rdi, di
mov edx, ebx
shl rdi, 4
mov word [rdi + rcx], bx
dec edx
je 0x180019934
dec edx
je 0x18001991d
dec edx
jne 0x18001994a
lea rcx, [rsp + 0x20]
movsx edx, ax
movsx rbx, ax
call fcn.18001489c
mov rcx, qword [0x180050100]
mov r8, rbx
mov rcx, qword [rdi + rcx + 8]
mov rdx, rax
call fcn.18001d860
jmp 0x18001994a
lea rcx, [rsp + 0x20]
call fcn.180014864
mov rcx, qword [0x180050100]
mov dword [rdi + rcx + 8], eax
jmp 0x18001994a
lea rcx, [rsp + 0x20]
call fcn.180014900
mov rdx, qword [0x180050100]
mov word [rdi + rdx + 8], ax
lea rcx, [rsp + 0x20]
call fcn.180014900
movzx edi, ax
test ax, ax
jg 0x1800198bb
mov r8, rbp
xor edx, edx
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
jmp fcn.18001d470

Function at 0x180019988
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x1800199ce
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov ebx, edx
mov r11, rcx
xor r10d, r10d
movsxd rdi, r9d
mov eax, r10d
mov rcx, rdi
inc r10d
cdq
idiv r9d
movsxd rax, edx
sub rcx, rax
mov al, byte [rcx + r8 - 1]
xor byte [r11], al
inc r11
cmp r10d, ebx
jl 0x1800199a1
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1800199d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov ebx, edx
mov r11, rcx
test edx, edx
jle 0x1800199fd
mov eax, r10d
inc r10d
cdq
idiv r9d
movsxd rax, edx
mov cl, byte [rax + r8]
xor byte [r11], cl
inc r11
cmp r10d, ebx
jl 0x1800199e1
mov rbx, qword [rsp + 8]
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000a820]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000a830]
mov dword [rax], 1
mov rax, qword [0x14000a840]
mov dword [rax], 1
mov rax, qword [0x14000a7c0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000a810]
mov dword [0x14000e020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000a8f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000a8d0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000a770]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001530
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp - 4], 0
mov eax, dword [rbp - 4]
add eax, 0x7b
xor eax, 0x1c8
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
cmp eax, 0xffffffff
sete al
test al, al
je 0x140001568
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140001c40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001cb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e0a4]
mov rbx, rcx
test esi, esi
jle 0x140001de0
mov rax, qword [0x14000e0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001cfb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001d85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001ce0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001e02
mov rax, qword [0x14000e0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001de7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001d7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001d90
add dword [0x14000e0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000e0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001d7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001d08
mov rax, qword [0x14000e0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002370
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e0e0]
test rbx, rbx
je 0x1400023cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400023c3
test rsi, rsi
je 0x1400023c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400023a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400025e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400025f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002600
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002610
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000265d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002654
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000265f
add rax, 0x28
cmp rax, r9
jne 0x140002640
xor eax, eax
ret

Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400026f0
mov rdx, qword [0x14000a7c0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400026de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400026de
cmp word [rax + 0x18], 0x20b
jne 0x1400026de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400026f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400026c9
add rbx, 0x28
cmp rbx, rdi
je 0x1400026f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400026c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002700
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a7c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002720
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002728
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002720
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000277d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002774
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002720
add rax, 0x28
cmp rax, r9
jne 0x140002760
xor eax, eax
ret

Function at 0x140002780
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a7c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000279f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400027a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000279f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400027c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a7c0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400027e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400027e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400027e0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002830
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002827
test rcx, rcx
je 0x1400027e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002818
xor eax, eax
ret

Function at 0x140002840
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a7c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000285f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002868
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002880
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a7c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400028a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400028a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400028a0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400028a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400028f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002900
add rdx, 0x28
cmp r9, rdx
jne 0x1400028e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002910
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a7c0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002932
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002940
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002932
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002932
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002932
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002995
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400029a8
add rdx, 0x28
cmp rdx, r10
jne 0x140002980
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400029b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400029c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000299e
test ecx, ecx
jg 0x1400029b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400018b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor bl, bl
mov rcx, 0xffffffffffffffff
mov rdx, rcx
nop
inc rdx
cmp byte [rdi + rdx], bl
jne 0x1400018d0
shl rdx, 2
movabs rax, 0xaaaaaaaaaaaaaaab
mul rdx
shr rdx, 1
add rdx, 4
cmovb rdx, rcx
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx ecx, byte [rdi]
xor esi, esi
mov r11, rax
test cl, cl
je 0x140001a23
mov qword [rsp + 0x38], r14
mov r9, rax
lea r14, [0x140004790]
nop dword [rax]
movsx rax, bl
inc bl
mov byte [rsp + rax + 0x30], cl
movsx r10, byte [rsp + 0x30]
cmp bl, 3
jne 0x14000199d
movsx r8d, byte [rsp + 0x31]
mov ecx, r10d
movsx rdx, byte [rsp + 0x32]
and ecx, 3
shl ecx, 4
mov rax, r10
sar rax, 2
add esi, 4
movzx eax, byte [rax + r14]
mov byte [r9], al
mov eax, r8d
sar eax, 4
and r8d, 0xf
add eax, ecx
cdqe
movzx eax, byte [rax + r14]
mov byte [r9 + 1], al
mov eax, edx
sar eax, 6
lea eax, [rax + r8*4]
movsxd rcx, eax
movzx eax, byte [rcx + r14]
mov byte [r9 + 2], al
mov rax, rdx
and eax, 0x3f
movzx eax, byte [rax + r14]
mov byte [r9 + 3], al
add r9, 4
xor bl, bl
movzx ecx, byte [rdi + 1]
inc rdi
test cl, cl
jne 0x140001920
test bl, bl
jle 0x140001a1e
mov rax, r10
movsxd rcx, esi
sar rax, 2
movsxd r8, esi
movzx eax, byte [rax + r14]
mov byte [rcx + r11], al
cmp bl, 1
jne 0x1400019de
mov eax, r10d
mov r9b, 0x3d
and eax, 3
shl eax, 4
movzx ecx, byte [rax + r14]
jmp 0x140001a06
movsx ecx, byte [rsp + 0x31]
mov eax, ecx
sar ecx, 4
and eax, 0xf
shl eax, 2
movzx r9d, byte [rax + r14]
mov eax, r10d
and eax, 3
shl eax, 4
add eax, ecx
movsxd rcx, eax
movzx ecx, byte [rcx + r14]
mov byte [r8 + r11 + 1], cl
lea edx, [rsi + 3]
movsxd rcx, edx
lea esi, [rdx + 1]
mov byte [r8 + r11 + 2], r9b
mov byte [rcx + r11], 0x3d
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rax, r11
movsxd rcx, esi
mov rsi, qword [rsp + 0x48]
mov byte [rcx + r11], 0
add rsp, 0x20
pop rdi
ret
Function at 0x1400021d0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd r13, dword [rcx + 0x3c]
xor r15d, r15d
mov rbp, rdx
mov rdi, rcx
mov r9d, r15d
mov ebx, dword [r13 + rcx + 0x88]
add rbx, rcx
mov r14d, dword [rbx + 0x1c]
mov r11d, dword [rbx + 0x20]
add r14, rcx
mov r12d, dword [rbx + 0x24]
add r11, rcx
add r12, rcx
cmp rdx, 0x10000
jae 0x14000224c
mov r8d, dword [rbx + 0x10]
movzx edx, bp
cmp edx, r8d
jb 0x140002397
mov ecx, dword [rbx + 0x14]
add ecx, r8d
cmp edx, ecx
jae 0x140002397
sub edx, r8d
mov r9d, dword [r14 + rdx*4]
jmp 0x1400022a1
mov esi, dword [rbx + 0x18]
mov r10d, r15d
test esi, esi
je 0x1400022a4
nop word [rax + rax]
mov r8d, dword [r11]
mov rax, rbp
add r8, rdi
sub r8, rbp
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140002283
inc rax
test ecx, ecx
jne 0x140002270
test edx, edx
je 0x140002295
inc r10d
add r11, 4
cmp r10d, esi
jb 0x140002260
jmp 0x1400022a4
mov eax, r10d
movzx ecx, word [r12 + rax*2]
mov r9d, dword [r14 + rcx*4]
add r9, rdi
cmp r9, rbx
jb 0x140002377
mov eax, dword [r13 + rdi + 0x8c]
lea rdx, [rax + rax*4]
lea rax, [rbx + rdx*8]
cmp r9, rax
jae 0x140002377
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rsi, rax
test rax, rax
je 0x140002397
mov edx, 0x2e
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r14, rax
mov byte [rax], r15b
mov rax, qword [0x140006848]
test rax, rax
jne 0x140002352
mov rcx, qword gs:[0x60]
mov rdi, qword [rcx + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140002337
mov rcx, qword [rbx + 0x50]
lea rdx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140002333
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140002314
jmp 0x140002337
mov r15, qword [rbx + 0x20]
lea rdx, [0x1400047d0]
mov rcx, r15
call fcn.1400021d0
mov qword [0x140006848], rax
test rax, rax
je 0x140002397
mov rcx, rsi
call rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140002397
lea rdx, [r14 + 1]
mov rcx, rbx
call fcn.1400021d0
mov r9, rax
mov rax, r9
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x14000237a