joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400faa9c
Capabilities:
Get geographical location

Disassembly:
push rax
pushf
mov eax, 0x50cc851c
pushf
not eax
add eax, 0xefb1d6cc
xor eax, 0xa323ea50
rol eax, 0x50
popf
pushf
not eax
add eax, 0x82142ff7
xor eax, 0xe933d2c5
rol eax, 0xc6
popf
pushf
not eax
add eax, 0xf4e2e2c9
xor eax, 0xcc603bb4
rol eax, 0xe0
popf
pushf
not eax
add eax, 0x9641a537
xor eax, 0xaec7066d
rol eax, 0x91
popf
cmp eax, 2
jne 0x1400faaff
popf
pop rax
jmp 0x1400facd9
cmp eax, 0
jne 0x1400fab0e
popf
pop rax
jmp 0x1400fab2c
cmp eax, 3
jne 0x1400fab1d
popf
pop rax
jmp 0x1400fad4d
cmp eax, 1
jne 0x1400fab2c
popf
pop rax
jmp 0x1400fac70
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1a1edbc71]
pushf
sub r9, 0x61e941e9
popf
mov rbp, rcx
lea r8, [0x1b1a73b71]
pushf
sub r8, 0x71a2c0f1
popf
lea rdx, [0x18882ea72]
pushf
sub rdx, 0x487ebe42
popf
mov ecx, 0x3f9667fa
pushf
not ecx
add ecx, 0x8b4ca1d2
xor ecx, 0xc5cd993d
rol ecx, 0x97
popf
pushf
not ecx
add ecx, 0xc80c79ca
xor ecx, 0xabcd2532
rol ecx, 0x2a
popf
pushf
not ecx
add ecx, 0xbeab4faf
xor ecx, 0xc3e8f31f
rol ecx, 8
popf
pushf
not ecx
add ecx, 0x8548fbf4
xor ecx, 0xac5c2692
rol ecx, 0xc1
popf
call fcn.14002ce5c
test rax, rax
je 0x1400fac2a
push rax
pushf
mov eax, 0x3aa6cf5a
pushf
not eax
add eax, 0xff57a067
xor eax, 0xff9aa62d
rol eax, 0x9f
popf
pushf
not eax
add eax, 0xe4c42bf9
xor eax, 0xb01ceaa4
rol eax, 0xad
popf
pushf
not eax
add eax, 0xd75576cf
xor eax, 0x93ffd7e8
rol eax, 0x8e
popf
jmp 0x1400faaf0
push rax
pushf
mov eax, 0x6cba5411
pushf
not eax
add eax, 0xeea78583
xor eax, 0x9cf54a89
rol eax, 0x21
popf
pushf
not eax
add eax, 0xfd9e7e6d
xor eax, 0xe2d0fcd2
rol eax, 0xec
popf
pushf
not eax
add eax, 0x8c7b5ffc
xor eax, 0xb4d47de0
rol eax, 0xaf
popf
jmp 0x1400faaf0
movabs r10, 0x9a0a094f4f27d356
pushf
not r10
add r10, 0x6d9bc4b4
xor r10, 0x57b5733e
rol r10, 0xc5
popf
pushf
not r10
add r10, 0x6e066b39
xor r10, 0x4e2827b8
rol r10, 0x59
popf
pushf
not r10
add r10, 0x7cc9fdcd
xor r10, 0x40dfce8a
rol r10, 0x16
popf
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
jmp 0x1400facd1
call qword [0x1400413c8]
jmp 0x1400fad4d
xor edx, edx
mov rcx, rbp
call fcn.1401165be
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
jmp 0x1400facee
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push rax
pushf
mov eax, 0xa860b352
pushf
not eax
add eax, 0xb4586644
xor eax, 0x965d5511
rol eax, 0x4d
popf
pushf
not eax
add eax, 0xf48ab642
xor eax, 0xaf76f711
rol eax, 0x81
popf
pushf
not eax
add eax, 0x804848e7
xor eax, 0xceca19d5
rol eax, 0xc3
popf
pushf
not eax
add eax, 0xf9977980
xor eax, 0xf7ab55b1
rol eax, 0xa8
popf
jmp 0x1400faaf0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14020a782
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword gs:[0x60]
xor r11d, r11d
mov rsi, r8
mov ebp, edx
mov rdi, qword [rax + 0x10]
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
movzx eax, word [rbx + 0x14]
lea r9, [rbx + 0x18]
movzx r10d, word [rbx + 6]
add r9, rax
test r10, r10
je 0x14020a841
mov dword [rsp + 0x78], 0x6544302e
mov byte [rsp + 0x7c], 0x76
movups xmm2, xmmword [r9]
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [r9 + 0x10]
movsd xmm1, qword [r9 + 0x20]
movd edx, xmm2
movups xmmword [rsp + 0x20], xmm2
movsd qword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
test dl, dl
je 0x14020a829
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x20]
sub r8, rax
movzx eax, dl
nop
movzx edx, al
cmp al, byte [rcx]
jne 0x14020a829
movzx eax, byte [r8 + rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x14020a812
cmp dl, byte [rcx]
lea rdx, [rsp + 0x20]
cmovne rdx, r11
add r9, 0x28
mov r11, rdx
sub r10, 1
jne 0x14020a7d4
mov eax, dword [r11 + 0xc]
mov rdx, rsi
mov ecx, dword [rbx + 8]
mov eax, dword [rax + rdi]
xor eax, dword [rbx + 0x68]
ror eax, cl
mov ecx, ebp
add rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp rax
Function at 0x180003660
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor r14d, r14d
mov eax, 0x5a4d
mov rdi, rcx
mov esi, r14d
cmp word [rcx], ax
je 0x18000368a
mov ebx, r14d
jmp 0x18000369b
movsxd rbx, dword [rcx + 0x3c]
add rbx, rdi
cmp dword [rbx], 0x4550
cmovne rbx, r14
mov ebp, dword [rbx + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180003560
mov r10, qword [rsp + 0x28]
mov r9d, r14d
mov r11, qword [rsp + 0x20]
sub r10, r11
sar r10, 2
sub rbp, r10
je 0x1800036ff
mov rbx, r14
mov eax, r14d
test r10, r10
je 0x1800036f0
mov rcx, r14
nop
mov r8d, dword [r11 + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rdi]
cmp ecx, r8d
je 0x1800036e7
cmp r8d, 0xffffffff
jne 0x1800036f4
inc eax
mov ecx, eax
cmp rcx, r10
jb 0x1800036d0
lea rsi, [rbx + rdi]
inc r9d
mov ebx, r9d
cmp rbx, rbp
jb 0x1800036c4
test r11, r11
je 0x180003739
mov rdx, qword [rsp + 0x30]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180003731
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000374f
mov rcx, r11
call fcn.18001be68
mov rbx, qword [rsp + 0x60]
mov rax, rsi
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
call fcn.1800230b8
int3
Function at 0x1800186a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800186e0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800551a0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18001871e
cmp rsi, r14
jb 0x180018716
cmp rsi, r15
jae 0x180018716
cmp qword [rsi + 8], 0
jne 0x1800188e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180018701
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800187b2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800187a9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800187a9
cmp dword [rsp + 0x70], 0x10000
je 0x18001882b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800187a9
sub rbx, rbp
cmp rbx, r14
jae 0x180018770
test rsi, rsi
jne 0x180018890
cmp rdi, r15
ja 0x1800188cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800188cf
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800188cf
cmp dword [rsp + 0x70], 0x10000
je 0x180018861
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800187e2
jmp 0x1800188cf
test rbx, rbx
je 0x1800187a9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180018890
cmp rbx, r14
jae 0x180018750
jmp 0x1800187b2
test rdi, rdi
je 0x1800188cf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180018890
cmp rdi, r15
jbe 0x1800187c0
jmp 0x1800188cf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800188a0
mov rax, qword [0x1800551a0]
mov qword [rsi], rax
mov qword [0x1800551a0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1800192f0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18004c1c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18001943f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180019436
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x1800193ec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800193ec
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800193ec
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1800193ad
mov rcx, qword [0x18004fa40]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180019415
lea rbx, [rdi + 0xc]
jmp 0x1800193e1
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x1800193e1
mov rcx, qword [0x18004fa40]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180019415
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180019353
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180019431
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x180019431
mov rcx, qword [0x18004fa40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18001bd20
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180019460
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.1800192f0
test eax, eax
jne 0x1800194a7
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x18001951e
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180019506
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800194fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180019140
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800194c0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180019540
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x30
mov eax, ecx
imul rbx, rax, 0x38
add rbx, qword [0x180055190]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x40
mov r8, rsi
mov rcx, rax
mov rdx, rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
test eax, eax
jne 0x1800195ba
mov eax, 0xa
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800195d6
mov rax, qword [rbx]
mov word [rax], 0xf9eb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x48]
mov r8, rsi
mov rcx, rax
mov rdx, rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180019630
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov eax, dword [0x18005519c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x1800197c8
mov rcx, qword [0x180055190]
add rcx, 0x20
test byte [rcx], 2
je 0x18001966c
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x180019654
mov eax, edi
add rsp, 0x38
pop rdi
pop rbx
ret
cmp ebx, 0xffffffff
je 0x1800197c8
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
call fcn.1800192f0
test eax, eax
jne 0x180019699
mov eax, 9
add rsp, 0x38
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov r12d, dword [rsp + 0x2c]
mov qword [rsp + 0x30], r15
mov r15, qword [rsp + 0x20]
test r15, r15
je 0x18001971a
test r12d, r12d
je 0x18001971a
mov qword [rsp + 0x68], r14
mov rsi, r15
mov r14d, r12d
nop dword [rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x18001970b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, 0xffffffff
mov r8d, 1
mov rcx, rbp
call fcn.180019140
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub r14, 1
jne 0x1800196d0
mov r14, qword [rsp + 0x68]
mov edx, dword [0x18005519c]
cmp ebx, edx
jae 0x18001975d
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180055190]
test byte [rcx + rax + 0x20], 2
jne 0x180019757
mov ecx, ebx
call fcn.180019540
mov edi, eax
test eax, eax
jne 0x18001975d
mov edx, dword [0x18005519c]
inc ebx
cmp ebx, edx
jb 0x180019730
test r15, r15
je 0x1800197b4
test r12d, r12d
je 0x1800197a2
mov rsi, r15
mov rbp, r12
nop dword [rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180019798
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub rbp, 1
jne 0x180019770
mov rcx, qword [0x18004fa40]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x180019ae0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x18004fa3c], esi
je 0x180019b31
nop
cmp rbx, 0x20
jae 0x180019b1a
xor ecx, ecx
jmp 0x180019b1c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18004fa3c], esi
jne 0x180019b10
cmp qword [0x18004fa40], r15
je 0x180019c24
test rdi, rdi
jne 0x180019b4f
call fcn.180019630
mov esi, eax
jmp 0x180019c29
mov ecx, dword [0x18005519c]
mov ebx, r15d
test ecx, ecx
je 0x180019b75
mov r8, qword [0x180055190]
mov rax, r8
cmp rdi, qword [rax]
je 0x180019b7f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180019b66
mov esi, 4
jmp 0x180019c29
cmp ebx, 0xffffffff
je 0x180019b75
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x180019c1d
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180019460
mov esi, eax
test eax, eax
jne 0x180019c29
mov ecx, ebx
call fcn.180019540
mov esi, eax
cmp qword [rsp + 0x20], r15
je 0x180019c29
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180019c07
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180019bf8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180019bd0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18004fa40]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180019c29
mov esi, 5
jmp 0x180019c29
mov esi, 2
xchg dword [0x18004fa3c], r15d
mov rbx, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x180029824
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18002983a
mov al, 1
jmp 0x18002989a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18002984b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180029898
mov ecx, dword [rcx + 0x18]
nop
call fcn.18002d164
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180029898
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180029898
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180029898
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18002989a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18002b3a0
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 0x18002b3d0
xor eax, eax
jmp 0x18002b493
mov rbp, rbx
cmp word [rax], si
je 0x18002b3f5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18002b3dc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18002b3d8
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.18002b2c0
movsxd r14, eax
test eax, eax
jne 0x18002b433
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002b3c9
mov rcx, r14
call fcn.1800280ec
mov rdi, rax
test rax, rax
jne 0x18002b44c
xor ecx, ecx
call fcn.180027560
jmp 0x18002b428
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.18002b2c0
test eax, eax
jne 0x18002b47d
mov rcx, rdi
call fcn.180027560
jmp 0x18002b487
xor ecx, ecx
call fcn.180027560
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 0x180031dd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180031df8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180031df8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400110d7
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140012460
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x1400250f3]
call fcn.140011442
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.14001120d
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x1400124e1
xor eax, eax
jmp 0x140012546
mov dword [rbp + 0x284], 0
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400112a8
test eax, eax
je 0x140012533
mov rdx, qword [rbp + 0x440]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14001251f
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x284], eax
jmp 0x140012533
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400113e8
test eax, eax
jne 0x1400124ff
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x284]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bc20]
call fcn.1400113c5
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.140011221
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x14001127b
Capabilities:
Terminate process

Disassembly:
jmp 0x1400140c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001130c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015410
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015430
xor al, al
jmp 0x1400154b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015443
xor al, al
jmp 0x1400154b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001546d
xor al, al
jmp 0x1400154b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015481
xor al, al
jmp 0x1400154b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015493
xor al, al
jmp 0x1400154b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400154af
xor al, al
jmp 0x1400154b1
mov al, 1
add rsp, 0x38
ret