joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a9450
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
xor ebp, ebp
cmp dword [rcx + 0x21], 0xcc
mov rdi, rcx
je 0x1800a929e
mov rax, qword [rcx + 0x1f0]
call qword [rax]
mov dword [rdi + 0x86], ebp
mov dword [rdi + 0x21], 0xcc
mov rax, qword [rdi + 0x1f0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
cmp byte [rax + 0x10], bpl
je 0x1800a934e
nop dword [rax]
mov ecx, dword [rdi + 0x86]
cmp ecx, dword [rdi + 0x6a]
jae 0x1800a931d
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1800a92ef
mov dword [rax + 8], ecx
mov rcx, qword [rdi + 0x10]
mov eax, dword [rdi + 0x6a]
mov dword [rcx + 0xc], eax
mov rax, qword [rdi + 0x10]
mov rcx, rdi
call qword [rax]
mov rax, qword [rdi + 0x1f8]
mov ebx, dword [rdi + 0x86]
lea r8, [rdi + 0x86]
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [rdi + 0x86]
cmp ecx, ebx
je 0x1800a9376
cmp ecx, dword [rdi + 0x6a]
jb 0x1800a92d0
mov rax, qword [rdi + 0x1f0]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11, qword [rdi + 0x1f0]
mov rcx, rdi
call qword [r11]
mov dword [rdi + 0x86], ebp
mov rax, qword [rdi + 0x1f0]
cmp byte [rax + 0x10], bpl
jne 0x1800a92c0
cmp byte [rdi + 0x52], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rdi + 0x21], ebp
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor al, al
jmp 0x1800a9361
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x21], 0xca
mov rbx, rcx
jne 0x1800a9483
call fcn.1800a9c50
cmp byte [rbx + 0x51], 0
je 0x1800a947c
mov dword [rbx + 0x21], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x21], 0xcb
mov eax, dword [rbx + 0x21]
cmp eax, 0xcb
jne 0x1800a9511
mov rax, qword [rbx + 0x210]
cmp byte [rax + 0x20], 0
je 0x1800a94f8
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1800a94ae
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x210]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1800a94f0
cmp eax, 2
je 0x1800a94f8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800a94a0
cmp eax, 3
je 0x1800a94d6
cmp eax, 1
jne 0x1800a94a0
inc dword [rcx + 8]
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0xc]
cmp dword [rcx + 8], eax
jl 0x1800a94a0
mov eax, dword [rbx + 0x168]
add dword [rcx + 0xc], eax
jmp 0x1800a94a0
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x8a]
mov rcx, rbx
mov dword [rbx + 0x92], eax
add rsp, 0x20
pop rbx
jmp 0x1800a9270
cmp eax, 0xcc
je 0x1800a9533
mov rax, qword [rbx]
mov dword [rax + 0x28], reloc.OLEAUT32.dll_SafeArrayUnlock
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x21]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1800a9270
Function at 0x1800abcf0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
mov qword [rcx + 8], rsi
call fcn.1800aca20
mov edx, 0x98
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.1800b5620
mov rdi, rax
test rax, rax
jne 0x1800abd47
mov rcx, rbx
call fcn.1800b26e0
mov r11, qword [rbx]
mov dword [r11 + 0x28], 0x38
mov rcx, qword [rbx]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
mov dword [rdi + 0x5c], 0x3b9aca00
lea rax, [fcn.1800aaf70]
lea rcx, str.JPEGMEM
mov qword [rdi], rax
lea rax, [fcn.1800ab0f0]
mov qword [rdi + 8], rax
lea rax, [fcn.1800ab1d0]
mov qword [rdi + 0x10], rax
lea rax, [fcn.1800ab2c0]
mov qword [rdi + 0x18], rax
lea rax, [0x1800ab3d0]
mov qword [rdi + 0x20], rax
lea rax, [0x1800ab480]
mov qword [rdi + 0x28], rax
lea rax, [0x1800ab530]
mov qword [rdi + 0x30], rax
lea rax, [0x1800ab890]
mov qword [rdi + 0x38], rax
lea rax, [0x1800ab9f0]
mov qword [rdi + 0x40], rax
lea rax, [fcn.1800abb50]
mov qword [rdi + 0x48], rax
lea rax, [0x1800abca0]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x88], rsi
mov dword [rdi + 0x90], LoadRegTypeLib
mov qword [rbx + 8], rdi
call fcn.1800c6d00
test rax, rax
je 0x1800abe52
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call fcn.1800c6c24
test eax, eax
jle 0x1800abe52
movzx eax, byte [rsp + 0x30]
cmp al, 0x6d
je 0x1800abe3f
cmp al, 0x4d
je 0x1800abe3f
mov eax, dword [rsp + 0x38]
jmp 0x1800abe49
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
mov dword [rdi + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800b49d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
cmp dword [rcx + 0x5a], 1
mov rbp, qword [rcx + 0x240]
mov rsi, rcx
mov qword [rsp + 0x68], rbp
jne 0x1800b49fb
mov ebx, 0x1fe
mov byte [rbp + 0x34], 1
jmp 0x1800b4a00
xor ebx, ebx
mov byte [rbp + 0x34], bl
mov rax, qword [rcx + 8]
mov r9d, dword [rcx + 0x6e]
lea r8d, [rbx + 0x100]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r14d, dword [rbp + 0x28]
xor edi, edi
movsxd r8, ebx
mov qword [rbp + 0x2c], rax
cmp dword [rsi + 0x6e], edi
mov qword [rsp + 0x60], r8
jle 0x1800b4b3a
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
lea r15, [rbp + 0x35]
xor r13d, r13d
nop dword [rax + rax]
mov ecx, dword [r15]
mov eax, r14d
cdq
idiv ecx
mov r14d, eax
test r8, r8
je 0x1800b4a6d
mov rax, qword [rbp + 0x2c]
add qword [rax + r13], 0xff
mov rax, qword [rbp + 0x2c]
lea ebp, [rcx - 1]
xor r8d, r8d
mov rbx, qword [r13 + rax]
mov edx, edi
mov rcx, rsi
mov r9d, ebp
xor r10d, r10d
call fcn.1800b47e0
xor r11d, r11d
xor r12d, r12d
mov r9d, eax
cmp r11d, r9d
jle 0x1800b4abb
nop word [rax + rax]
inc r10d
mov r9d, ebp
mov edx, edi
mov r8d, r10d
mov rcx, rsi
call fcn.1800b47e0
cmp r11d, eax
mov r9d, eax
jg 0x1800b4aa0
movzx eax, r10b
inc r12
inc r11d
imul r14b
cmp r12, 0xff
mov byte [r12 + rbx - 1], al
jle 0x1800b4a95
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1800b4b13
mov ecx, 1
lea rdx, [rbx - 1]
nop dword [rax]
movzx eax, byte [rbx]
inc rcx
dec rdx
cmp rcx, 0xff
mov byte [rdx + 1], al
movzx eax, byte [rbx + 0xff]
mov byte [rbx + rcx + 0xfe], al
jle 0x1800b4af0
mov rbp, qword [rsp + 0x68]
inc edi
add r15, 4
add r13, 8
cmp edi, dword [rsi + 0x6e]
jl 0x1800b4a50
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800bf124
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x180145d00]
test rcx, rcx
jne 0x1800bf07b
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1800bf074
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1800bf0a6
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1800bf070
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x180145d00], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x1800bf119
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800bf0c9
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], SafeArrayAllocDescriptorEx
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x180145d00]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1800bf0f6
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x1800bf119
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x180145d00]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x1800bf0fd
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x1800bf000
Function at 0x1800c6af0
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.1800ca628
nop
cmp dword [0x180145eb0], 1
je 0x1800c6a9c
mov dword [0x180145eac], 1
mov byte [0x180145ea8], r12b
test ebx, ebx
jne 0x1800c6a88
mov rcx, qword [0x1801473b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800c6a75
mov rcx, qword [0x1801473a8]
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 0x1800c6a14
call fcn.1800cb8f8
cmp qword [rdi], rax
jne 0x1800c6a14
jmp 0x1800c69fa
cmp rdi, rsi
jb 0x1800c6a75
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1800cb8f8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1801473b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1801473a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1800c6a53
cmp r13, rax
je 0x1800c6a73
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 0x1800c69fa
lea rdx, [0x1800f4d90]
lea rcx, [0x1800f4d78]
call fcn.1800c6844
lea rdx, [0x1800f4da0]
lea rcx, [0x1800f4d98]
call fcn.1800c6844
nop
test r12d, r12d
je 0x1800c6aab
mov ecx, 8
call fcn.1800ca528
test r12d, r12d
jne 0x1800c6ad6
mov dword [0x180145eb0], 1
lea ecx, [r12 + 8]
call fcn.1800ca528
mov ecx, r15d
call fcn.1800c67d8
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 0x1800c6964

Function at 0x1800c6afc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1800c6964

Function at 0x1800c6e3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1800c6e76
call fcn.1800c863c
and dword [rax], 0
call fcn.1800c861c
and qword [rsp + 0x20], 0
mov ebx, reloc.OLEAUT32.dll_SafeArrayAccessData
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.1800c1000
mov eax, ebx
jmp 0x1800c6ec6
test edx, 0xfffffff9
jne 0x1800c6e49
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800c6e9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800c865c
call fcn.1800c861c
mov eax, dword [rax]
jmp 0x1800c6ec6
test al, 0x10
jne 0x1800c6ec4
test al, 1
je 0x1800c6ec4
test bl, 2
je 0x1800c6ec4
call fcn.1800c863c
mov dword [rax], 5
call fcn.1800c861c
mov dword [rax], SafeArrayGetDim
jmp 0x1800c6e96
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1800c7f2f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18013e1e0]
jne 0x1800bf8ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1800bf8e6
repz ret
ror rcx, 0x10
jmp 0x1800c7e88
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180145f60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180146058]
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 0x1800c7f0d
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, [0x180145f60]
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 0x1800c7f2f
mov rax, qword [rsp + 0x88]
mov qword [0x180146058], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180145ff8], rax
mov rax, qword [0x180146058]
mov qword [0x180145ed0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180145fe0], rax
mov dword [0x180145ec0], 0xc0000409
mov dword [0x180145ec4], 1
mov rax, qword [0x18013e1e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18013e1e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180145f58], eax
mov ecx, 1
call fcn.1800cb8e8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180100608]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180145f58], 0
jne 0x1800c7fb6
mov ecx, 1
call fcn.1800cb8e8
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 0x1800d9418
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.1800cb8f8
xor ebx, ebx
mov rdi, rax
cmp qword [0x180146bf0], rbx
jne 0x1800d951e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1800d95f3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800d95f3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180102938]
mov rcx, rsi
mov qword [0x180146bf0], 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 [0x180146bf8], 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 [0x180146c00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180146c10], rax
test rax, rax
je 0x1800d9515
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180146c08], rax
jmp 0x1800d9525
mov rax, qword [0x180146c08]
jmp 0x1800d952c
mov rax, qword [0x180146c08]
mov r11, qword [0x180146c10]
cmp rax, rdi
je 0x1800d9594
cmp r11, rdi
je 0x1800d9594
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180146c10]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1800d9594
test rax, rax
je 0x1800d9594
call rsi
test rax, rax
je 0x1800d958e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1800d958e
test byte [rsp + 0x38], 1
jne 0x1800d9594
bts ebp, 0x15
jmp 0x1800d95d2
mov rcx, qword [0x180146bf8]
cmp rcx, rdi
je 0x1800d95d2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1800d95d2
call rax
mov rbx, rax
test rax, rax
je 0x1800d95d2
mov rcx, qword [0x180146c00]
cmp rcx, rdi
je 0x1800d95d2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1800d95d2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180146bf0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1800d95f3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1800d95f5
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 0x14001a870
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001a87d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001a88d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14001a875
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14001a8a5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14001a892
sub eax, 3
jb 0x14001a8bf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14001a8f6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14001a8e6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14001a8e4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14001a8d3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14001a832
jmp 0x14001a87d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2200
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14001a942
cmp rsi, rcx
jae 0x14001a94a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14001a929
cmp al, 0x8f
ja 0x14001a929
cmp byte [rsi - 2], 0xf
je 0x14001a92f
sub al, 0xe8
cmp al, 1
ja 0x14001a913
cmp rsi, rcx
jae 0x14001a94a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14001a919
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001a94a
lodsb al, byte [rsi]
jmp 0x14001a929
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x18000]
mov eax, dword [rdi]
or eax, eax
je 0x14001a9a7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1b260]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14001a957
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14001a9a1
mov qword [rbx], rax
add rbx, 8
jmp 0x14001a977
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14001a9e1
cmp al, 0xef
ja 0x14001a9d3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14001a9b3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14001a9c2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14001aa60], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14001aa60
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14001aa50
sub rsp, 0xffffffffffffff80
jmp 0x1400014a0
Function at 0x140b8e699
Capabilities:
Authenticate hmac

Disassembly:
mov r11, qword [rsp + rbp*2 - 0x1ffee]
div dword [rsp + rbp - 0xfff7]
mov qword [rsp + rbp*2 - 0x1ffee], 0x628d24a0
movsxd rcx, ecx
neg dword [rsp + rbp*4 - 0x3ffee]
lea rdx, [rax + rdx*4 - 0x7d72aaec]
add r9, rcx
mov qword [rsp + rbp*4 - 0x3fffc], r10
push rdx
mov rcx, qword [rdi + rbp*2 - 0x20006]
sal byte [rsp + rbp*2 - 0x1fff5], 0x81
and byte [rsp + rbp*2 - 0x1ffed], r8b
movzx r8d, byte [rsi + rbp*8 - 0x80005]
sal dword [rsp + rbp*8 - 0x7ffe6], 0x46
jp 0x140b90d49
mov ebx, 0x43051c2d
lea rdx, [rbx*4 + 0x14ac5d3d]
mov r8d, 0x572cc232
mov bx, word [rbx + rdi - 0x43051c2d]
mov r8w, word [rdi + r8 - 0x572cc230]
movzx eax, dx
lea rbp, [rax*2 + 0x7f343c0f]
call fcn.140b8a2a5
movzx edx, r8w
neg ebp
jmp 0x140b9c437
Function at 0x180001450
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180001483
xor eax, eax
jmp 0x18000154c
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1800014b0
xor eax, eax
jmp 0x18000154c
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1800014dc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x18000154a
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.18001a1f0
test eax, eax
jne 0x180001548
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + rax + 8]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
jmp 0x18000154c
jmp 0x1800014d2
xor eax, eax
add rsp, 0x48
ret
Function at 0x140070235
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140076d50
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a30a3]
call fcn.1400730c5
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
add rax, 0x48
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
cmp qword [rax + 8], 0
jne 0x140076df0
xor eax, eax
jmp 0x140076e4f
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 8]
call fcn.140072ca6
mov rcx, rax
call fcn.140072611
mov dword [rbp + 0x174], eax
mov ecx, 0x6391f6a9
call fcn.1400702fd
mov ecx, dword [rbp + 0x174]
cmp ecx, eax
jne 0x140076e33
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xa8], rax
jmp 0x140076e48
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x68]
cmp qword [rbp + 0x48], rax
jne 0x140076dcf
mov rax, qword [rbp + 0xa8]
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400715ef
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140158b40
mov rax, rcx
neg rcx
test rax, 7
je 0x140158b5d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140158bb8
test al, 7
jne 0x140158b50
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140158b71
mov rdx, qword [rax - 8]
test dl, dl
je 0x140158be2
test dh, dh
je 0x140158bdc
shr rdx, 0x10
test dl, dl
je 0x140158bd6
test dh, dh
je 0x140158bd0
shr rdx, 0x10
test dl, dl
je 0x140158bca
test dh, dh
je 0x140158bc4
shr edx, 0x10
test dl, dl
je 0x140158bbe
test dh, dh
jne 0x140158b71
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14007191e
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140092c80
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140092600
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140092cbf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401a4020]
jmp 0x140092cc9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret