joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14032b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14032b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14032b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14032b06f
add dl, dl
jne 0x14032b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14032b0f6
xor eax, eax
add dl, dl
jne 0x14032b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14032b1ad
add dl, dl
jne 0x14032b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14032b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14032b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14032b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14032b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14032b07e
mov eax, 1
add dl, dl
jne 0x14032b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14032b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14032b0fb
sub eax, ebx
mov ebx, 1
jne 0x14032b14c
mov ecx, 1
add dl, dl
jne 0x14032b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14032b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14032b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14032b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14032b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14032b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14032b15d
cmp eax, 0x7d00
jae 0x14032b19b
cmp eax, 0x500
jb 0x14032b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14032b07e
cmp eax, 0x7f
ja 0x14032b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14032b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14032b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14032b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140296440]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140296450]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140299008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x1402963b0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.140001920
mov rcx, qword [0x1402964d0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140296430]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140001730
mov ebx, dword [0x140299028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r12, qword [0x140299020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140299020], rbp
call fcn.140001530
mov rax, qword [0x1402963c0]
mov r8, qword [0x140299018]
mov ecx, dword [0x140299028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140299020]
call fcn.140002a80
mov ecx, dword [0x14029900c]
mov dword [0x140299010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140299008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140296450]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call fcn.1400026d0
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x140296470]
mov rcx, qword [0x140296460]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x140299010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140296490]
mov rcx, qword [0x140296480]
mov dword [rsi], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
sub rsp, 0x28
mov rax, qword [0x1402963e0]
mov dword [rax], 1
call fcn.140001180
nop
nop
add rsp, 0x28
ret
Function at 0x140001740
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140002540
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x1400017b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140299094]
mov rbx, rcx
test esi, esi
jle 0x1400018e0
mov rax, qword [0x140299098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400017fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001885
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017e0
mov rcx, rbx
call fcn.140002220
mov rdi, rax
test rax, rax
je 0x140001902
mov rax, qword [0x140299098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002360
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140299098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000187e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001890
add dword [0x140299094], 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 [0x140299098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000187e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001740
nop dword [rax]
xor esi, esi
jmp 0x140001808
mov rax, qword [0x140299098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001740
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001740
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140001e90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140299100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402990e0]
test rbx, rbx
je 0x140001eec
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 rsi, rsi
je 0x140001ee3
test eax, eax
jne 0x140001ee3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ec8
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 0x140002220
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140296380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002240
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002248
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002240
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000229d
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 0x140002294
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002240
add rax, 0x28
cmp rax, r9
jne 0x140002280
xor eax, eax
ret

Function at 0x1400022a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140296380]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002360
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140296380]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000237f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002388
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x6011f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x6011fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x60120d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x6011f5
lea eax, [rcx + 1]
jmp 0x60121b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x60122e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x601214
sub eax, 3
jb 0x60124e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x60129d
sar eax, 1
movsxd rbp, eax
jb 0x601284
jmp 0x60125c
add ebx, ebx
jne 0x60125a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x601284
inc ecx
add ebx, ebx
jne 0x60126a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x601284
call r11
adc ecx, ecx
add ebx, ebx
jne 0x60127d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x60126c
add ecx, 2
jmp 0x601289
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.006011b2
jmp 0x6011fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb0400
mov dl, 0x1c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x6012e9
cmp rsi, rcx
jae 0x6012f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x6012d0
cmp al, 0x8f
ja 0x6012d0
cmp byte [rsi - 2], 0xf
je 0x6012d6
sub al, 0xe8
cmp al, 1
ja 0x6012ba
cmp rsi, rcx
jae 0x6012f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x6012c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x6012f1
lodsb al, byte [rsi]
jmp 0x6012d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1fd000]
mov eax, dword [rdi]
or eax, eax
je 0x60134e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x201000]
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 0x6012fe
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 0x601348
mov qword [rbx], rax
add rbx, 8
jmp 0x60131e
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 0x601388
cmp al, 0xef
ja 0x60137a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x60135a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x601369
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x6013dc
sub rsp, 0xffffffffffffff80
jmp 0x462c20
Function at 0x180001150
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edx, edx
je 0x18000116b
nop word [rax + rax]
xor byte [rcx], al
inc eax
inc rcx
cmp eax, edx
jb 0x180001160
repz ret

Function at 0x180001180
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbp
push rsi
sub rsp, 0x70
xor ebp, ebp
movabs rax, 0x72676f72505c3a43
lea rcx, [r11 - 0x38]
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x48], rbp
movabs rax, 0x505c617461446d61
mov qword [r11 - 0x30], rax
movabs rax, 0x6d5c6567616b6361
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x2e34367865756e65
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [r11 + 8], ebp
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], 0x696e69
mov qword [r11 - 0x10], rbp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800012ca
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r9d, [rbp + 0x40]
xor ecx, ecx
mov r8d, 0x1000
mov edx, eax
mov ebx, eax
call qword [0x1800123e4]
mov rdi, rax
test rax, rax
je 0x1800012ba
lea r9, [rsp + 0x80]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800012a0
mov edx, ebx
mov rcx, rdi
call fcn.180001150
mov edx, dword [rdi]
lea rbx, [rdi + 4]
mov dword [0x180011670], edx
mov r8, rdx
lea rbp, [0x180011674]
mov rdx, rbx
mov rcx, rbp
call fcn.180002860
mov r11d, dword [0x180011670]
mov qword [r11 + rbp], rbx
call section..text
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x4000
mov rcx, rdi
call qword [0x1800123dc]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
add rsp, 0x70
pop rsi
ret

Function at 0x1800012e0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
cmp edx, 1
jne 0x180001333
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, str.WallNet
mov rcx, rax
mov rbx, rax
call fcn.180001f2c
test rax, rax
jne 0x180001324
lea rdx, str.rundll32.exe
mov rcx, rbx
call fcn.180001f2c
test rax, rax
jne 0x180001324
call sym.Install64.dll_installsvc
mov eax, 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret
Function at 0x180004b63
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800100a0]
jne 0x1800026ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1800026b6
repz ret
ror rcx, 0x10
jmp 0x180004abc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800124d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1800125c8]
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 0x180004b41
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, [0x1800124d0]
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 0x180004b63
mov rax, qword [rsp + 0x88]
mov qword [0x1800125c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180012568], rax
mov rax, qword [0x1800125c8]
mov qword [0x180012440], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180012550], rax
mov dword [0x180012430], 0xc0000409
mov dword [0x180012434], 1
mov rax, qword [0x1800100a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800100a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800124c8], eax
mov ecx, 1
call fcn.180007ad8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000c440]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800124c8], 0
jne 0x180004bea
mov ecx, 1
call fcn.180007ad8
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 0x180005c14
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180005a88
Function at 0x18000a858
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.1800030c8
xor ebx, ebx
mov rdi, rax
cmp qword [0x1800131c0], rbx
jne 0x18000a95e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18000aa33
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000aa33
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800131c0], 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 [0x1800131c8], 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 [0x1800131d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1800131e0], rax
test rax, rax
je 0x18000a955
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1800131d8], rax
jmp 0x18000a965
mov rax, qword [0x1800131d8]
jmp 0x18000a96c
mov rax, qword [0x1800131d8]
mov r11, qword [0x1800131e0]
cmp rax, rdi
je 0x18000a9d4
cmp r11, rdi
je 0x18000a9d4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1800131e0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18000a9d4
test rax, rax
je 0x18000a9d4
call rsi
test rax, rax
je 0x18000a9ce
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 0x18000a9ce
test byte [rsp + 0x38], 1
jne 0x18000a9d4
bts ebp, 0x15
jmp 0x18000aa12
mov rcx, qword [0x1800131c8]
cmp rcx, rdi
je 0x18000aa12
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18000aa12
call rax
mov rbx, rax
test rax, rax
je 0x18000aa12
mov rcx, qword [0x1800131d0]
cmp rcx, rdi
je 0x18000aa12
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18000aa12
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800131c0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18000aa33
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18000aa35
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 0x14001ea26
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
push r15
mov rax, 0x8c
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14001ea3a
sub rsp, 0x28
call fcn.1400425b0
mov rdx, qword [rsp + 0x4a8]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140042620
add rsp, 0x10
mov dword [0x1400fa001], 0x4000096
mov dword [0x1400fa001], 0x400009a
push qword [rsp + 0x4a0]
push 0x18
pop rcx
pop rdx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x468], rax
mov dword [0x1400fa001], 0x400009b
cmp qword [rsp + 0x468], 0
je 0x14001ec2c
mov dword [0x1400fa001], 0x400009c
lea rbp, [rsp + 0x30]
mov dword [rbp], 0x438
mov dword [0x1400fa001], 0x400009d
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32FirstW
mov qword [rsp + 0x470], rax
mov dword [0x1400fa001], 0x400009e
cmp qword [rsp + 0x470], 0
je 0x14001ec15
mov dword [0x1400fa001], 0x400009f
push rcx
sub rsp, 0x28
call fcn.140042190
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 1
push 1
push qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.140042190
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.140042190
add rsp, 0x28
pop rcx
push rax
lea rbp, [rsp + 0x68]
lea rax, [rbp + 0x30]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140040cd0
add rsp, 0x20
push rax
call fcn.1400423c0
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14003fa80
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140024274
add rsp, 0x28
pop rax
and rax, rax
je 0x14001ebd3
mov dword [0x1400fa001], 0x40000a0
lea rbp, [rsp + 0x30]
push qword [rbp + 0x18]
pop rax
mov qword [rsp + 0x478], rax
mov dword [0x1400fa001], 0x40000a1
jmp 0x14001ec15
mov dword [0x1400fa001], 0x40000a2
mov dword [0x1400fa001], 0x40000a3
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32NextW
mov qword [rsp + 0x470], rax
mov dword [0x1400fa001], 0x40000a4
jmp 0x14001eaf5
mov dword [0x1400fa001], 0x40000a5
push qword [rsp + 0x468]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400fa001], 0x40000a6
mov dword [0x1400fa001], 0x40000a8
mov rax, qword [rsp + 0x478]
jmp 0x14001ec57
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140042690
add rsp, 0x28
pop rax
add rsp, 0x488
pop r15
pop rbp
ret
Function at 0x14001ff5c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rax, 0xa
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14001ff6b
sub rsp, 0x28
call fcn.1400425b0
mov dword [0x1400fa001], 0x400007f
mov dword [0x1400fa001], 0x4000081
mov qword [rsp + 0x70], 0
mov dword [0x1400fa001], 0x4000083
lea rax, [rsp + 0x40]
mov rax, rax
push rax
pop rcx
call sub.KERNEL32.dll_GetNativeSystemInfo
mov dword [0x1400fa001], 0x4000084
lea rbp, [rsp + 0x40]
movsx r15, word [rbp]
cmp r15, 9
jne 0x1400200d3
mov dword [0x1400fa001], 0x4000085
movabs rax, str.IsWow64Process
push rax
movabs rax, str.kernel32.dll
push rax
pop rcx
pop rdx
call fcn.14001fdfb
mov qword [rsp + 0x28], rax
mov dword [0x1400fa001], 0x4000086
cmp qword [rsp + 0x28], 0
je 0x1400200c9
mov dword [0x1400fa001], 0x4000087
push qword [rsp + 0x90]
push 0
push 0x400
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_OpenProcess
mov qword [rsp + 0x38], rax
mov dword [0x1400fa001], 0x4000088
cmp qword [rsp + 0x38], 0
je 0x1400200bf
mov dword [0x1400fa001], 0x4000089
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x40]
push qword [rsp + 0x38]
pop rcx
pop rdx
pop r8
call fcn.140028e5c
mov dword [0x1400fa001], 0x400008a
push qword [rsp + 0x38]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400fa001], 0x400008b
mov r15, qword [rsp + 0x30]
and r15, r15
jne 0x1400200b5
mov dword [0x1400fa001], 0x400008c
mov qword [rsp + 0x70], 1
mov dword [0x1400fa001], 0x400008d
mov dword [0x1400fa001], 0x400008e
mov dword [0x1400fa001], 0x400008f
mov dword [0x1400fa001], 0x4000090
mov dword [0x1400fa001], 0x4000092
mov rax, qword [rsp + 0x70]
jmp 0x1400200fb
add rsp, 0x78
pop r15
pop rbp
ret