joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x10011e1a
call fcn.1000a9f0
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x10011e1a
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x10011e3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.10011840
test rdi, rdi
mov esi, eax
je 0x10011e3a
test rbx, rbx
je 0x10011e3a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x100125a4
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x100125da
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10012691
call fcn.10012a48
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x100125f9
mov ecx, 0x80004005
call fcn.10001460
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x118]
mov rdx, rsi
mov rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1002b9f0
test eax, eax
je 0x10012664
cmp eax, 0xc
je 0x1001265e
cmp eax, 0x16
je 0x10012658
cmp eax, 0x22
je 0x10012658
cmp eax, 0x50
je 0x10012664
call fcn.10002c1c
int3
call fcn.10002c1c
int3
call fcn.10002bd4
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1001268f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x10030cc7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1011fe78]
jne 0x1002aa3a
rol rcx, 0x10
test cx, 0xffff
jne 0x1002aa36
repz ret
ror rcx, 0x10
jmp 0x10030c20
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10125770]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x10125868]
mov qword [rsp + 0x58], rax
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 0x10030ca5
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, [0x10125770]
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 0x10030cc7
mov rax, qword [rsp + 0x88]
mov qword [0x10125868], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10125808], rax
mov rax, qword [0x10125868]
mov qword [0x101256e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x101257f0], rax
mov dword [0x101256d0], 0xc0000409
mov dword [0x101256d4], 1
mov rax, qword [0x1011fe78]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1011fe80]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x10125768], eax
mov ecx, 1
call fcn.1003aa60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1004ca68]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x10125768], 0
jne 0x10030d4e
mov ecx, 1
call fcn.1003aa60
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 0x1003a7c0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.1002ecc0
xor ebx, ebx
cmp qword [0x10126170], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x1003a8f1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x1003a823
xor eax, eax
jmp 0x1003a9d1
lea rdx, [0x1004d5e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1003a81c
mov rcx, rax
call fcn.1002ec50
lea rdx, [0x1004d5d0]
mov rcx, rbp
mov qword [0x10126170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1002ec50
lea rdx, [0x1004d5b8]
mov rcx, rbp
mov qword [0x10126178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1002ec50
lea rcx, [rsp + 0x30]
mov qword [0x10126180], rax
call fcn.1002bd20
test eax, eax
je 0x1003a8a7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1002e810
cmp dword [rsp + 0x30], 2
jne 0x1003a8f1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1002ec50
test rax, rax
mov qword [0x10126190], rax
je 0x1003a8f1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1002ec50
mov qword [0x10126188], rax
mov rcx, qword [0x10126188]
cmp rcx, rsi
je 0x1003a983
cmp qword [0x10126190], rsi
je 0x1003a983
call fcn.1002ed20
call rax
test rax, rax
mov rbp, rax
je 0x1003a94e
mov rcx, qword [0x10126190]
call fcn.1002ed20
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x1003a94e
test byte [rsp + 0x48], 1
jne 0x1003a983
lea rcx, [rsp + 0x34]
call fcn.1002bd70
test eax, eax
je 0x1003a970
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1002e810
cmp dword [rsp + 0x34], 4
jb 0x1003a97d
bts edi, 0x15
jmp 0x1003a9b7
bts edi, 0x12
jmp 0x1003a9b7
mov rcx, qword [0x10126178]
cmp rcx, rsi
je 0x1003a9b7
call fcn.1002ed20
call rax
test rax, rax
mov rbx, rax
je 0x1003a9b7
mov rcx, qword [0x10126180]
cmp rcx, rsi
je 0x1003a9b7
call fcn.1002ed20
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x10126170]
call fcn.1002ed20
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140001ee4
Capabilities:
Parse pe header

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

Function at 0x1400056ec
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140005557
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005557
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005557
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005557
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005557
cmp dword [rcx + 0x84], 0xe
jbe 0x140005557
cmp dword [rcx + 0xf8], 0
je 0x140005557
mov ecx, ebx
call fcn.140005608
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400053e4
nop
cmp dword [rbp + 0x20], 0
je 0x1400055a5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400055b0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400054e8
Function at 0x140013668
Capabilities:
Query environment variable

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
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140013698
xor eax, eax
jmp 0x14001375b
mov rbp, rbx
cmp word [rax], si
je 0x1400136bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400136a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400136a0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140013588
movsxd r14, eax
test eax, eax
jne 0x1400136fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140013691
mov rcx, r14
call fcn.14000e748
mov rdi, rax
test rax, rax
jne 0x140013714
xor ecx, ecx
call fcn.14000e70c
jmp 0x1400136f0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140013588
test eax, eax
jne 0x140013745
mov rcx, rdi
call fcn.14000e70c
jmp 0x14001374f
xor ecx, ecx
call fcn.14000e70c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, 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
ret
Function at 0x140015c30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140029380]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140015c87
cmp word [rdx], r13w
jne 0x140015c87
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140015c8c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140015db1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140015dd2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140015cc5
mov rdx, r9
mov word [rbx], cx
jmp 0x140015cec
cmp r9, r8
jae 0x140015cfc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140015ca6
jmp 0x140015db1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140015da6
cmp dword [rsp + 0x80], esi
je 0x140015da6
lea r8, [0x140029380]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140015d7e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140015d4e
mov word [rbx], r13w
jmp 0x140015dae
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140015d5b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140015dae
cmp word [rsp + 0x70], r13w
jne 0x140015d8b
cmp rbx, r14
je 0x140015d48
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140019964
cmp word [rsp + 0x70], r13w
je 0x140015db1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140029380]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140015dab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140015db1
Function at 0x140017e88
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140017e9e
mov al, 1
jmp 0x140017efe
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140017eaf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140017efc
mov ecx, dword [rcx + 0x18]
nop
call fcn.140013e6c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140017efc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140017efc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140017efc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140017efe
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140019230
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400096e0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400192ba
cmp byte [rbp - 0x21], r15b
je 0x1400192b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400192f0
call fcn.14000f030
test eax, eax
jne 0x1400192dc
cmp byte [rbp - 0x21], r15b
je 0x1400192d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400192f0
cmp byte [rbp - 0x21], r15b
je 0x1400192ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140011cd4
test eax, eax
jne 0x140019390
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400096e0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001932f
cmp byte [rbp - 0x21], r15b
je 0x140019364
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140019364
call fcn.14000f030
test eax, eax
jne 0x140019350
cmp byte [rbp - 0x21], r15b
je 0x140019349
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140019364
cmp byte [rbp - 0x21], r15b
je 0x140019361
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140011cd4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140019390
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140019393
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400193a1
mov rcx, rdi
call fcn.14000e70c
cmp byte [rbp + 0x3f], r15b
je 0x1400193b0
mov rcx, qword [rbp + 0x27]
call fcn.14000e70c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001370
Capabilities:
Encrypt data using rc4 via systemfunction033

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, str.advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction033
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400046c0]
lea rcx, [0x1400046d0]
call qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x28], rax
jae 0x14000142f
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
dec rax
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x48], 0
je 0x14000142a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x1400013d7
jmp 0x1400014b0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
lea rax, [rax + rcx - 1]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
lea rax, [rax + rcx - 1]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
dec rax
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x50], 0
je 0x1400014b0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
jmp 0x14000145d
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140002030
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, str.ntdll.dll
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1400010d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000207f
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x70
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
add rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call fcn.1400014c0
jmp 0x1400020e2
xor eax, eax
add rsp, 0x78
ret

Function at 0x140002101
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x1400029fc
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41478b
push rbp
mov rbp, rsp
sub 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.00430420
xorps xmm15, xmm15
mov r14, qword [0x005ae6c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414665
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414674
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414693
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4146a3
cmp rbx, 0x1000
jae 0x41466b
jmp 0x41470d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4146b5
xor edx, edx
jmp 0x414704
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.00430420
xorps xmm15, xmm15
mov r14, qword [0x005ae6c8]
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]
test dl, dl
jne 0x414699
jmp 0x414688
call fcn.0045f320
xorps xmm15, xmm15
mov r14, qword [0x005ae6c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00434840
lea rax, [0x004ae55b]
mov ebx, 0x18
nop dword [rax]
call fcn.004350c0
mov rax, qword [rsp + 0x38]
call fcn.00434e00
lea rax, [0x004ae998]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004350c0
mov rax, qword [rsp + 0x30]
call fcn.00434e00
call fcn.00434a80
call fcn.004348a0
lea rax, [0x004b07b2]
mov ebx, 0x21
call fcn.00432ea0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bc60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414600
Function at 0x4147c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4149e6
push rbp
mov rbp, rsp
sub 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.004304a0
xorps xmm15, xmm15
mov r14, qword [0x005ae6c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414833
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414842
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414865
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414875
cmp rbx, 0x1000
jae 0x414839
nop
jmp 0x4148f8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41488d
xor esi, esi
jmp 0x4148ea
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
call fcn.004304a0
xorps xmm15, xmm15
mov r14, qword [0x005ae6c8]
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 0x41486b
jmp 0x414856
call fcn.0045f320
xorps xmm15, xmm15
mov r14, qword [0x005ae6c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414980
nop dword [rax + rax]
call fcn.00434840
lea rax, [0x004ae9b1]
mov ebx, 0x19
call fcn.004350c0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00434e00
lea rax, [0x004ae998]
mov ebx, 0x19
call fcn.004350c0
mov eax, dword [rsp + 0x34]
call fcn.00434e00
nop
call fcn.00434a80
call fcn.004348a0
lea rax, [0x004ab76e]
mov ebx, 0xd
call fcn.00432ea0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x414920
call fcn.00434840
lea rax, [0x004ae9b1]
mov ebx, 0x19
call fcn.004350c0
mov rax, qword [rsp + 0x38]
call fcn.00434e00
lea rax, [0x004ae998]
mov ebx, 0x19
call fcn.004350c0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00434e00
call fcn.00434a80
call fcn.004348a0
lea rax, [0x004b0133]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00432ea0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bc60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004147c0