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

Disassembly:
call fcn.1434bd2e7
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 0x1434bd191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1434bd177
add dl, dl
jne 0x1434bd19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1434bd1fe
xor eax, eax
add dl, dl
jne 0x1434bd1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1434bd2b5
add dl, dl
jne 0x1434bd1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1434bd1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1434bd1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1434bd1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1434bd1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1434bd186
mov eax, 1
add dl, dl
jne 0x1434bd20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1434bd21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1434bd203
sub eax, ebx
mov ebx, 1
jne 0x1434bd254
mov ecx, 1
add dl, dl
jne 0x1434bd236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1434bd243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1434bd22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1434bd186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1434bd270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1434bd27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1434bd265
cmp eax, 0x7d00
jae 0x1434bd2a3
cmp eax, 0x500
jb 0x1434bd29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1434bd186
cmp eax, 0x7f
ja 0x1434bd2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1434bd186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1434bd2da
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 0x1434bd186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002750
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x608]
sub rsp, 0x6e0
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
xor r14d, r14d
xor edx, edx
mov r8d, 0x11c
lea rcx, [rbp + 0x60]
call fcn.140014730
lea rcx, [0x140055630]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400027c8
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400027c8
lea rcx, [rbp + 0x60]
call rax
lea r8, [rbp - 0x60]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov esi, eax
mov rbx, r14
mov rdi, r14
mov r12d, 0x1000
test eax, eax
je 0x140002817
mov ecx, esi
cmp rsi, r12
jb 0x1400027fe
call fcn.1400065b0
jmp 0x140002803
call fcn.140011594
mov rbx, rax
lea rdi, [rax + rsi]
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140014730
sub rdi, rbx
mov qword [rsp + 0x20], rbx
mov r9d, edi
mov r8d, dword [rbp - 0x60]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [0x1400558ac]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x40]
movzx edx, word [rax + 0xe]
mov ecx, dword [rax + 8]
and ecx, 0xffff0000
cmp ecx, 0xa0000
jb 0x1400030d1
cmp edx, 0x4a61
jb 0x1400030d1
cmp edx, 0x585d
jb 0x1400028a3
call fcn.1400025dc
test al, al
je 0x1400028a3
lea rcx, str.ERROR:_Your_windows_version_is_Windows_11_22H2_or_higher_version__please_use_older_versions_of_windows._n_n
jmp 0x1400030d8
test rbx, rbx
je 0x1400028d4
cmp rdi, r12
jb 0x1400028c9
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000314e
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400112f0
jmp 0x140f72aef
lea rcx, str.ERROR:_Your_windows_version_is_old__you_must_use_minimum_windows_10_x64_20h1_version_or_higher_version._n_n
call fcn.1400011c8
lea rcx, str.pause
call fcn.14001d874
test rbx, rbx
je 0x140003116
cmp rdi, r12
jb 0x14000310b
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000314e
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400112f0
xor eax, eax
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.1400112d0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14001f0c0
nop
call fcn.1400056cc
nop
call fcn.140011400
nop
call fcn.14001f0c0
nop
call fcn.14001f0c0
nop
call fcn.14001f0c0
nop
call fcn.14001f0c0
int3
Function at 0x14002d388
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14003a910
sub rsp, rax
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140027020
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002d3d7
mov rax, rbp
jmp 0x14002d4df
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xce0830]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002e2d4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xce0830]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002d4db
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002d4db
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002e2d4
test rax, rax
js 0x14002d4db
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002d4db
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002d4cd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002d4cd
cmp byte [rcx], 0xd
jne 0x14002d4b3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002d4c2
cmp byte [rcx + 1], 0xa
jne 0x14002d4c2
inc rcx
jmp 0x14002d4c2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5c650]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002d495
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002d4df
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400112d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d674
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, [0x140ce0830]
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 0x14002d6cb
cmp word [rdx], r13w
jne 0x14002d6cb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002d6d0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002d7f5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002d816
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002d709
mov rdx, r9
mov word [rbx], cx
jmp 0x14002d730
cmp r9, r8
jae 0x14002d740
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 0x14002d6ea
jmp 0x14002d7f5
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 0x14002d7ea
cmp dword [rsp + 0x80], esi
je 0x14002d7ea
lea r8, [0x140ce0830]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002d7c2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002d792
mov word [rbx], r13w
jmp 0x14002d7f2
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 0x14002d79f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002d7f2
cmp word [rsp + 0x70], r13w
jne 0x14002d7cf
cmp rbx, r14
je 0x14002d78c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002e2dc
cmp word [rsp + 0x70], r13w
je 0x14002d7f5
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, [0x140ce0830]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002d7ef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002d7f5
Function at 0x14001cb60
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x14001cbe0
Capabilities:
Parse pe header

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

Function at 0x14001cca0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x130
mov rax, qword [0x140021bb8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, rcx
mov rdi, rdx
movzx ecx, r8w
sub ecx, 2
je 0x14000235e
sub ecx, 4
je 0x140002342
sub ecx, 0xb
je 0x1400022ed
sub ecx, 5
je 0x14000226d
sub ecx, 1
je 0x140002224
sub ecx, 1
je 0x14000235e
cmp ecx, 4
je 0x1400021ef
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14000e6b0
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop rdi
ret
lea rcx, [rsp + 0x30]
call fcn.14000bfe8
test eax, eax
je 0x140002213
mov ecx, eax
call fcn.14000b6f8
mov rdx, rax
lea rcx, str.Unable_to_spawn_debugger___s_n
jmp 0x1400022e6
lea rdx, [rsp + 0x30]
lea rcx, str.Debugger_spawned__connect_with_n______s__n
jmp 0x1400022e6
mov rax, qword [rdx]
mov rcx, rdi
or edx, 0xffffffff
mov rax, qword [rax + 0xb0]
call qword [0x140011380]
cmp eax, 0x800700aa
jne 0x140002252
lea rcx, str.Engine_is_busy__try_again_n
call fcn.140002b34
jmp 0x140002354
test eax, eax
je 0x140002354
mov edx, eax
lea rcx, str.Unable_to_show_version_information__0x_X_n
call fcn.140002b34
jmp 0x140002354
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, qword [0x140026658]
mov rcx, rbx
mov rax, qword [rax + 0x128]
call qword [0x140011380]
mov r8d, dword [rsp + 0x20]
mov rcx, rbx
mov rax, qword [rbx]
xor r8d, 8
mov rdx, qword [0x140026658]
mov dword [rsp + 0x20], r8d
mov rax, qword [rax + 0x130]
call qword [0x140011380]
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rsp + 0x20]
mov rax, qword [rax + 0x58]
call qword [0x140011380]
test byte [rsp + 0x20], 8
lea rax, [0x140012050]
lea rdx, [0x140012054]
cmovne rdx, rax
lea rcx, [0x140012058]
call fcn.140002b34
jmp 0x140002354
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, qword [0x140026658]
mov rcx, rbx
mov rax, qword [rax + 0x128]
call qword [0x140011380]
mov r8d, dword [rsp + 0x20]
mov rcx, rbx
mov rax, qword [rbx]
btc r8d, 0x1d
mov rdx, qword [0x140026658]
mov dword [rsp + 0x20], r8d
mov rax, qword [rax + 0x130]
call qword [0x140011380]
mov rax, qword [rdi]
mov edx, dword [rsp + 0x20]
mov rax, qword [rax + 0x58]
jmp 0x14000234b
mov rax, qword [rdx]
xor edx, edx
mov rax, qword [rax + 0x20]
mov rcx, rdi
call qword [0x140011380]
mov eax, 1
jmp 0x1400021ce
test rbx, rbx
je 0x140002385
mov eax, dword [0x140026794]
mov rcx, rbx
mov r8, qword [rbx]
neg eax
sbb edx, edx
neg edx
mov rax, qword [r8 + 0xd0]
add edx, 3
call qword [0x140011380]
lea rcx, str.quit:_n
call fcn.140002b34
call fcn.1400043c0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
Function at 0x140002714
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x140028410]
xor esi, esi
mov ebx, r8d
mov rdi, rcx
test eax, eax
je 0x140002805
dec eax
cmp eax, 1
ja 0x140002884
or r9, 0xffffffffffffffff
inc r9
cmp word [rcx + r9*2], si
jne 0x140002748
cmp r9d, 0x1fe
jle 0x1400027bf
lea ecx, [r9 - 1]
mov eax, 0x80808081
mul ecx
shr edx, 8
lea ebx, [rdx + 1]
mov rax, qword [0x140026648]
lea rcx, str._.ws
mov r8, rdi
mov edx, 0x1fe
call qword [0x140011380]
cmp eax, 0x80000003
jne 0x1400027ad
mov rcx, qword [0x140026660]
test rcx, rcx
je 0x1400027ad
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x20]
call qword [0x140011380]
add rdi, 0x3fc
sub rbx, 1
jne 0x14000276c
jmp 0x140002884
mov rax, qword [0x140026648]
mov rdx, rcx
lea rcx, [0x140012284]
call qword [0x140011380]
cmp eax, 0x80000003
jne 0x140002884
mov rcx, qword [0x140026660]
test rcx, rcx
je 0x140002884
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x20]
call qword [0x140011380]
jmp 0x140002884
cmp qword [0x140026620], rsi
je 0x14000287e
and bx, 0xf
and dx, 0xf
shl bx, 4
or bx, dx
cmp byte [0x140022607], sil
je 0x140002855
cmp byte [0x14002260c], sil
je 0x140002855
cmp bx, word [0x140021bd4]
je 0x140002855
mov ecx, 0xfffffff5
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call fcn.14000c774
mov word [0x140021bd4], bx
or r9, 0xffffffffffffffff
inc r9
cmp word [rdi + r9*2], si
jne 0x140002859
movzx edx, byte [0x14002260c]
lea rax, [rsp + 0x58]
mov r8, rdi
mov qword [rsp + 0x20], rax
call fcn.140001d40
jmp 0x140002884
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140002f30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov ebx, ecx
test rdx, rdx
je 0x140002fef
cmp dword [0x140028410], edi
jne 0x140002f6e
cmp byte [0x140022609], dil
jne 0x140002f6e
call fcn.140001fb8
mov rdx, qword [rsp + 0x68]
mov r8, rdx
lea rsi, [0x140024610]
mov rcx, rsi
lea r9, [rsp + 0x70]
mov edx, 0x1000
call qword [sym.imp.msvcrt.dll__vsnwprintf]
test eax, eax
js 0x140002f96
cmp eax, 0x1000
jne 0x140002f9d
mov word [0x14002660e], di
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140002fa1
mov rdx, rsi
mov dword [rsp + 0x30], eax
call fcn.140003fe4
mov rax, qword [0x140026620]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140002fe6
movzx edx, byte [0x14002260c]
lea rax, [rsp + 0x30]
mov r9d, dword [rsp + 0x30]
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.140001d40
jmp 0x140002fef
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.140002e94
int3
Function at 0x140003ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_KitsCeip
mov rcx, 0xffffffff80000002
mov ebx, 1
call qword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x140003d04
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREWow6432NodeMicrosoftWindows_KitsCeip
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003d4e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.OptIn
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140003d4e
cmp dword [rsp + 0x40], 4
jne 0x140003d4e
cmp dword [rsp + 0x48], ebx
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140003d5e
call qword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegCloseKey]
movzx eax, bl
mov dword [0x140021bd0], eax
add rsp, 0x30
pop rbx
ret
Function at 0x14000bc58
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x14000bc60
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x14000bfe8
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140021bb8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r14, rcx
lea rdx, [rbp - 0x5f]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetModuleFileNameA]
xor edi, edi
test eax, eax
jne 0x14000c07f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x14000c042
mov ecx, 0x80004005
jmp 0x14000c056
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14000e6b0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov byte [rbp - 0x60], 0x22
lea rax, [rbp - 0x60]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], dil
jne 0x14000c08b
lea rax, [rbp - 0x60]
dec rax
add rcx, rax
jmp 0x14000c0bb
mov al, byte [rcx]
sub al, 0x2f
cmp al, 0x2d
ja 0x14000c0b8
movabs rdx, 0x200000000801
bt rdx, rax
jb 0x14000c0c4
dec rcx
lea rax, [rbp - 0x60]
cmp rcx, rax
jae 0x14000c0a0
inc rcx
lea rax, [rbp - 0x60]
cmp rcx, rax
jbe 0x14000c103
lea rax, [rbp + 0xa6]
lea rsi, [rcx - 1]
sub eax, ecx
je 0x14000c103
mov ecx, 1
cmp eax, ecx
ja 0x14000c0eb
lea ecx, [rax - 1]
mov ebx, ecx
lea rdx, [0x140019f48]
mov r8d, ecx
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov byte [rbx + rsi], dil
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
lea r8, [0x140019f4c]
mov edx, 0x20
mov r9d, eax
lea rcx, [rsp + 0x78]
call fcn.14000b52c
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rsi, str.npipe:icfenable_pipecdb_pipe
lea rax, [0x140019f50]
mov ecx, 1
mov qword [rsp + 0x38], rax
lea r9, str.start__d
lea rax, str.cdb.exe__server
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140019f74]
lea rax, [rbp - 0x60]
lea rdx, str.cmd.exe
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll__spawnlp]
test rax, rax
jns 0x14000c18d
mov eax, 0x8007000e
jmp 0x14000c058
test r14, r14
jne 0x14000c199
xor eax, eax
jmp 0x14000c058
mov ebx, 0x10
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x50], ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetComputerNameExW]
test eax, eax
jne 0x14000c1d6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, str._error__d_
mov edx, ebx
mov r9d, eax
lea rcx, [rsp + 0x58]
call fcn.14000b6a8
jmp 0x14000c204
cmp dword [rsp + 0x50], edi
jne 0x14000c1f2
mov r8d, ebx
lea rdx, str._____
lea rcx, [rsp + 0x58]
call fcn.14000b57c
jmp 0x14000c204
mov eax, dword [rsp + 0x50]
add rax, rax
cmp rax, 0x20
jae 0x14000c232
mov word [rsp + rax + 0x58], di
lea rax, [rsp + 0x58]
mov r9, rsi
lea r8, str._remote__hs_server_s
mov qword [rsp + 0x20], rax
mov edx, 0x78
mov rcx, r14
call fcn.14000b6a8
test eax, eax
sete dil
mov eax, edi
jmp 0x14000c058
call fcn.14000e968
int3
Function at 0x14000c3dc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
movsxd r8, dword [0x14000003c]
lea rbx, [0x140000000]
add r8, rbx
mov r9, rcx
sub r9, rbx
mov r11, rdx
mov eax, dword [r8 + 0x50]
cmp r9, rax
jb 0x14000c40b
mov ecx, 5
int 0x29
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
movzx r10d, word [r8 + 6]
add rcx, rax
xor edx, edx
test r10d, r10d
je 0x14000c442
mov r8d, dword [rcx + 0xc]
cmp r9, r8
jb 0x14000c437
mov eax, dword [rcx + 8]
add eax, r8d
cmp r9, rax
jb 0x14000c449
inc edx
add rcx, 0x28
cmp edx, r10d
jb 0x14000c423
mov ecx, 5
int 0x29
test dword [rcx + 0x24], 0x20000000
je 0x14000c459
mov ecx, 5
int 0x29
mov eax, dword [rcx + 8]
mov dword [r11], eax
mov eax, dword [rcx + 0xc]
add rax, rbx
mov rbx, qword [rsp + 8]
ret

Function at 0x14000c9e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
cmp dword [rcx + 0x28], 0
je 0x14000cab9
lea rsi, [0x14002b050]
mov qword [rsp + 0x40], rsi
call fcn.14000c474
test al, al
jne 0x14000ca21
mov ecx, 0x22
int 0x29
and dword [rbx + 0x2c], 0
mov r8d, dword [rbx + 8]
shl r8, 3
xor edx, edx
mov rcx, qword [rbx + 0x18]
call sub.msvcrt.dll_memset
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_FreeLibrary]
and qword [rbx + 0x20], 0
and dword [rbx + 0x28], 0
lea rcx, [0x140028440]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov rax, qword [0x140028438]
test rax, rax
jne 0x14000ca70
call fcn.14000c3c8
mov ecx, 0xe
int 0x29
sub rax, 1
mov qword [0x140028438], rax
jne 0x14000caac
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14000c3dc
mov edx, dword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov r8d, dword [0x140028430]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
test eax, eax
jne 0x14000caac
lea ecx, [rax + 0x22]
int 0x29
lea rcx, [0x140028440]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret