joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002cd80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x78], 0
je 0x14002cdb6
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x14002cdcc
mov eax, 0xc0000141
jmp 0x14002cf9a
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002cdf3
mov eax, 0xc000007b
jmp 0x14002cf9a
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
cmp dword [rax], 0x4550
je 0x14002ce3d
mov eax, 0xc000007b
jmp 0x14002cf9a
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14002f364
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14002ce83
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x1a], 1
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14002b730
jmp 0x14002ce9f
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x1a], 0
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14002b7c8
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
movzx eax, word [rax + 0x16]
and eax, 0x2000
test eax, eax
jne 0x14002cebf
mov dword [rsp + 0x28], 1
jmp 0x14002cec7
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov cl, byte [rsp + 0x28]
mov byte [rax + 0x1b], cl
mov r8d, 1
mov edx, 0xe
mov rcx, qword [rsp + 0x70]
call fcn.14002c580
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14002cf0b
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
je 0x14002cf0b
mov byte [rsp + 0x20], 1
jmp 0x14002cf10
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x70]
mov cl, byte [rsp + 0x20]
mov byte [rax + 0x1c], cl
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x1c]
test eax, eax
je 0x14002cf49
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rax, 0x10
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x4c], eax
mov dword [rsp + 0x24], 0
jmp 0x14002cf6b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jge 0x14002cf98
mov rax, qword [rsp + 0x70]
add rax, 0x108
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.14002bc18
jmp 0x14002cf53
xor eax, eax
add rsp, 0x68
ret
Function at 0x140030bcc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140030600
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140030c26
mov ecx, dword [rsp + 0x30]
call fcn.140089201
cli
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
jmp 0x140030e0f
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
lea rax, [rax + rax + 0x20]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x98], 0
je 0x140030c5a
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
xor eax, eax
cmp eax, 1
je 0x140030df6
mov eax, dword [rsp + 0x34]
mov edx, eax
xor ecx, ecx
push rax
call fcn.140131886
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140030c8a
mov eax, 0xe
jmp 0x140030e0f
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
push rsi
call fcn.1400d4478
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x80000005
jne 0x140030cde
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140094ba1
pop rbx
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
jmp 0x140030c5a
cmp dword [rsp + 0x30], 0
jge 0x140030cfd
mov ecx, dword [rsp + 0x30]
push rdx
call fcn.1400b9cac
mov dword [rsp + 0x38], eax
jmp 0x140030df6
cmp qword [rsp + 0x98], 0
je 0x140030d36
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 0
je 0x140030d36
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx]
cmp dword [rax + 0x10], ecx
jbe 0x140030d36
mov dword [rsp + 0x38], 0xea
jmp 0x140030df6
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x40]
add rcx, 0x18
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x80]
call fcn.140042180
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x50], rax
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rcx], ax
cmp qword [rsp + 0x98], 0
je 0x140030def
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx + rcx + 0x18]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x98]
call fcn.140042180
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0xa0]
mov dword [rcx], eax
jmp 0x140030df6
cmp qword [rsp + 0x40], 0
je 0x140030e0b
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14009fc31
add al, 0x8b
and al, 0x38
mov eax, dword [rsp + 0x38]
add rsp, 0x68
ret
Function at 0x14003ca00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003ca0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003ca1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003ca05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003ca35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003ca22
sub eax, 3
jb 0x14003ca4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003ca86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003ca76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003ca74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003ca63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c9c2
jmp 0x14003ca0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003cad2
cmp rsi, rcx
jae 0x14003cada
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003cab9
cmp al, 0x8f
ja 0x14003cab9
cmp byte [rsi - 2], 0xf
je 0x14003cabf
sub al, 0xe8
cmp al, 1
ja 0x14003caa3
cmp rsi, rcx
jae 0x14003cada
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003caa9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003cada
lodsb al, byte [rsi]
jmp 0x14003cab9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003cb43
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x40ed4]
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 0x14003cae7
jns 0x14003cb1c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003cb26
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 0x14003cb3d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003cb07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x18f]
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 0x14003cb9b
sub rsp, 0xffffffffffffff80
jmp 0x1400242ac
Function at 0x18000a020
Capabilities:
Query or enumerate registry value

Disassembly:
cmp rdx, 0x1000
jb 0x18000a161
push rbx
sub rsp, 0x40
movabs rax, 0xffff800000000000
mov rbx, rdx
test rax, rdx
jne 0x18000a15c
mov qword [rsp + 0x50], rdi
xor edi, edi
mov qword [rdx], rdi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jne 0x18000a157
lea rax, [rsp + 0x38]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.Interface
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000a14c
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000a141
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000a136
cmp dword [rsp + 0x60], 1
jne 0x18000a136
mov edx, dword [rsp + 0x58]
xor ecx, ecx
inc edx
shr edx, 1
inc edx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea rcx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18000a136
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret

Function at 0x140001dc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001e12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001e12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001e12
cmp dword [rcx + 0x84], 0xe
jbe 0x140001e12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001e14
xor al, al
add rsp, 0x28
ret
Function at 0x140002110
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140002141
xor eax, eax
jmp 0x14000228b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14000217e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14000217e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14000228b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140002280
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400021c5
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400021d3
movzx ecx, di
jmp 0x140002227
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002240
sub eax, 1
je 0x140002240
cmp eax, 2
jne 0x140002280
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x140002283
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14000226e
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140002280
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400034d0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002540
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002615
cmp byte [rcx + 0x72], 0
je 0x140002615
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140002611
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400025d6
sub eax, 1
je 0x1400025da
cmp eax, 2
jne 0x140002611
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400034d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002608
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002611
cmp byte [rbx + 0x72], 0
sete al
jmp 0x1400025be
xor al, al
jmp 0x1400025be
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400034d0
add rsp, 0x60
pop rbx
ret

Function at 0x140003e50
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x130dbbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x130dbcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x130dbb5
lea eax, [rcx + 1]
jmp 0x130dbdb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x130dbee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x130dbd4
sub eax, 3
jb 0x130dc0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x130dc5d
sar eax, 1
movsxd rbp, eax
jb 0x130dc44
jmp 0x130dc1c
add ebx, ebx
jne 0x130dc1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x130dc44
inc ecx
add ebx, ebx
jne 0x130dc2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x130dc44
call r11
adc ecx, ecx
add ebx, ebx
jne 0x130dc3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x130dc2c
add ecx, 2
jmp 0x130dc49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0130db72
jmp 0x130dbbd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xefc000]
mov eax, dword [rdi]
or eax, eax
je 0x130dcb9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf4bba8]
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 0x130dc69
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 0x130dcb3
mov qword [rbx], rax
add rbx, 8
jmp 0x130dc89
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 0x130dcfd
cmp al, 0xef
ja 0x130dce5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x130dcc5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x130dcd4
mov eax, dword [rdi]
add rdi, 4
jmp 0x130dcd4
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 0x130dd51
sub rsp, 0xffffffffffffff80
jmp 0x47a260
Function at 0x140002bb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp + 0xc], 0
mov dword [rsp], 0xffffefff
mov dword [rsp + 4], 0
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140002c44
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov dword [rsp + 8], 0
jmp 0x140002c0e
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 8
jge 0x140002c38
mov eax, dword [rsp]
and eax, 1
imul eax, eax, 0xffffffff
mov dword [rsp + 0xc], eax
mov eax, dword [rsp]
shr eax, 1
mov ecx, dword [rsp + 0xc]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp], eax
jmp 0x140002c04
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x140002bd0
mov eax, dword [rsp]
not eax
add rsp, 0x18
ret
Function at 0x140002e20
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x54]
call fcn.140002de0
cmp dword [rsp + 0x54], 0xffffff
jae 0x140002fda
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140002fc9
mov dword [rsp + 0x40], 1
jmp 0x140002fd1
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
jmp 0x140003063
xor eax, eax
cmp eax, 1
je 0x14000305e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000305e
lea rdx, str.IAT_Camouflage_completed._nNow_proceeding_to_hash_the_WinAPIs._n
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x50], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003e80
add rsp, 0x68
ret
Function at 0x140004860
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140f63626
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f6364f
pop rbp
sub rbp, 0x33
sub rbp, 0xf6361c
sub rsp, 0x20
jmp 0x140f6366e
mov rax, 0xf6361c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x91bc3b2
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6368d
jmp 0x140f636a4
cli
cmp ebx, dword [rbx + 0x39]
cmp ecx, dword [rsi - 0x54d4d4e]
xor esi, dword [rbx - 0x46]
mov bl, 0xb2
mov dl, 0xfa
mov bl, 0x5b
cli
jne 0x140f6372c
mov edx, 0xfab2b2b2
jne 0x140f63731
invalid
mov dl, 0xb2
mov dl, 0xfa
mov bl, 0x5b
pop rbx
pop rdx
mov bh, 0xb2
mov dl, 0xb2
pop rbx
invalid