joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180041e00
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, [0x1800668f0]
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 0x180041e57
cmp word [rdx], r13w
jne 0x180041e57
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180041e5c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180041f81
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180041fa2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180041e95
mov rdx, r9
mov word [rbx], cx
jmp 0x180041ebc
cmp r9, r8
jae 0x180041ecc
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 0x180041e76
jmp 0x180041f81
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 0x180041f76
cmp dword [rsp + 0x80], esi
je 0x180041f76
lea r8, [0x1800668f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180041f4e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180041f1e
mov word [rbx], r13w
jmp 0x180041f7e
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 0x180041f2b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180041f7e
cmp word [rsp + 0x70], r13w
jne 0x180041f5b
cmp rbx, r14
je 0x180041f18
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180042a68
cmp word [rsp + 0x70], r13w
je 0x180041f81
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, [0x1800668f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180041f7b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180041f81
Function at 0x180046d58
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18003ad80
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180046df9
cmp ebx, dword [rsp + 0x30]
je 0x180046df2
test esi, esi
je 0x180046df2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180046dcd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180046dda
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180046db7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180046dde
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180046dfb
mov eax, 1
jmp 0x180046dfb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18004adf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18004ae18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18004ae18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4d4a90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d5b70
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d5492
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d552a
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d550e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d5502
cmp qword [rbp - 0x10], 0
je 0x2fc4d5502
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d54c8
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d552b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5630
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d5658
mov eax, 0
jmp 0x2fc4d56a6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d5681
mov eax, 0
jmp 0x2fc4d56a6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d56a1
mov eax, 0
jmp 0x2fc4d56a6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d56ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d572a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d5721
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d5721
mov rax, qword [rbp - 8]
jmp 0x2fc4d573f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d56f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d1c30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d2d10
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2632
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d26ca
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d26ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d26a2
cmp qword [rbp - 0x10], 0
je 0x2fc4d26a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2668
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d26cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d27d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d27f8
mov eax, 0
jmp 0x2fc4d2846
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d2821
mov eax, 0
jmp 0x2fc4d2846
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2841
mov eax, 0
jmp 0x2fc4d2846
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d284c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d28ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d28c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d28c1
mov rax, qword [rbp - 8]
jmp 0x2fc4d28df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d2894
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x360039d8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov eax, dword [0x3601c020]
mov r11d, dword [0x3601c024]
mov r9d, dword [rcx]
mov r10d, dword [rcx + 4]
mov rbx, rdx
xor edx, edx
add r11d, eax
mov r8, rcx
mov rsi, rdx
lea edi, [rdx + 0x20]
mov eax, r10d
and esi, 3
mov ecx, r10d
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, dword [rbx + rsi*4]
add eax, edx
add ecx, r10d
add edx, r11d
xor ecx, eax
mov esi, edx
add r9d, ecx
mov eax, r9d
mov ecx, r9d
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edx
shr rax, 0xb
add ecx, r9d
and eax, 3
mov eax, dword [rbx + rax*4]
add eax, edx
xor ecx, eax
add r10d, ecx
sub rdi, 1
jne 0x36003a0c
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [r8], r9d
mov dword [r8 + 4], r10d
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
xor r9d, r9d
mov rsi, rdx
mov dword [rax - 0x20], 0x80
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rax - 0x28], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x36004609
xor eax, eax
jmp 0x3600464c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [rsp + 0x60], 0
movsxd rcx, eax
mov dword [rsi], eax
call fcn.36010b00
mov r8d, dword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x3600465c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
and qword [r11 - 0x28], 0
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
mov rbx, r8
mov dword [r11 + 0x20], r9d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x360046d1
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 4]
lea rax, [rsp + 0x88]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x60
pop rbx
ret
Function at 0x36005778
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbp, r8
mov edi, edx
mov rsi, rcx
test rcx, rcx
je 0x360058a1
test edx, edx
je 0x360058a1
and qword [rax - 0x20], 0
and dword [rax - 0x38], 0
mov ebx, 1
lea rcx, [rax - 0x20]
mov r9d, ebx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x360057e9
lea rcx, [rsp + 0x38]
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 8
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov rcx, qword [rsp + 0x38]
xor eax, eax
mov qword [rsp + 0x30], rax
test rcx, rcx
je 0x3600581a
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
xor ebx, ebx
test rax, rax
je 0x36005890
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x60], ebx
and dword [rsp + 0x20], ebx
lea edx, [rbx + 4]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x78], edx
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x60], 0x10
jne 0x3600587a
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x20], ebx
lea r9, [rsp + 0x60]
lea edx, [rbx + 2]
mov r8, rbp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x3600589d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
jmp 0x360058a3
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x36005c78
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
mov rbx, rcx
lea rcx, [rax - 0x38]
mov byte [rax - 0x38], 0x6e
mov byte [rax - 0x37], 0x74
mov byte [rax - 0x36], 0x64
mov byte [rax - 0x35], 0x6c
mov byte [rax - 0x34], 0x6c
mov byte [rax - 0x33], 0
call qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov byte [rsp + 0x30], 0x4e
mov byte [rsp + 0x31], 0x74
mov byte [rsp + 0x32], 0x43
mov byte [rsp + 0x33], 0x72
mov byte [rsp + 0x34], 0x65
mov byte [rsp + 0x35], 0x61
mov byte [rsp + 0x36], 0x74
mov byte [rsp + 0x37], 0x65
mov byte [rsp + 0x38], 0x54
mov byte [rsp + 0x39], 0x68
mov byte [rsp + 0x3a], 0x72
mov byte [rsp + 0x3b], 0x65
mov byte [rsp + 0x3c], 0x61
mov byte [rsp + 0x3d], 0x64
mov byte [rsp + 0x3e], 0x45
mov byte [rsp + 0x3f], 0x78
mov byte [rsp + 0x40], 0
call qword [rbx]
mov qword [rbx + 0x70], rax
add rsp, 0x50
pop rbx
ret

Function at 0x36006a84
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword gs:[0x30]
mov r11d, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
xor edx, edx
lea r9, [rax + 0x20]
mov r8, qword [r9]
cmp r8, r9
je 0x36006b13
lea rcx, [r8 - 0x10]
cmp rcx, rdx
je 0x36006b0a
cmp r11d, edx
je 0x36006b0f
movzx ebx, word [rcx + 0x58]
mov rdi, qword [rcx + 0x60]
mov r10d, edx
shr ebx, 1
mov esi, edx
je 0x36006b05
movzx eax, word [rdi]
cmp ax, dx
je 0x36006b05
cmp ax, 0x61
jb 0x36006aee
mov ebp, 0xffdf
and ax, bp
imul r10d, r10d, 0x1003f
movzx eax, ax
inc esi
add r10d, eax
add rdi, 2
cmp esi, ebx
jb 0x36006ad8
cmp r10d, r11d
je 0x36006b0f
mov r8, qword [r8]
jmp 0x36006ab4
mov rdx, qword [rcx + 0x30]
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rax, rdx
ret
Function at 0x3600974c
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
and dword [rsp + 0x48], 0
mov rax, qword [0x3601c018]
mov qword [rcx], rax
mov dword [rsp + 0x48], 1
mov edx, 0x10
mov dword [rsp + 0x50], edx
call fcn.36007074
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rcx, rbx
call fcn.360071d0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rbx]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x360097c0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
and dword [rsp + 0x48], 0
mov rax, qword [0x3601c018]
mov qword [rcx], rax
mov dword [rsp + 0x48], 1
mov edx, 0x1f4
mov dword [rsp + 0x50], edx
call fcn.36007074
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rcx, rbx
call fcn.360071d0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rbx]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x36009834
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
movsxd rbp, r8d
mov r12, rdx
mov rdi, rcx
and dword [rax + 0x20], 0
test rdx, rdx
je 0x36009a16
test r8d, r8d
je 0x36009a16
and dword [rax + 0x10], 0
lea rdx, [rbp + rdx - 4]
mov r8d, 4
lea rcx, [rax + 0x10]
call fcn.36010b20
mov eax, dword [rsp + 0x78]
shr eax, 0x10
mov ecx, 0xd8a9
xor ax, cx
je 0x360098ae
lea rdx, [0x36001570]
mov rcx, rdi
call fcn.36009574
nop
mov rax, rdi
jmp 0x36009a26
movzx esi, word [rsp + 0x78]
xor esi, 0x95f4
jl 0x36009a01
mov eax, 0x66666667
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jg 0x36009a01
mov ebx, ebp
sub ebx, esi
sub ebx, 4
lea eax, [rbx + rsi + 4]
cmp eax, ebp
je 0x360098ff
lea rdx, [0x36001570]
mov rcx, rdi
call fcn.36009574
nop
mov rax, rdi
jmp 0x36009a26
movsxd rbp, esi
mov rcx, rbp
call fcn.36010b00
mov qword [rsp + 0x28], rax
test ebx, ebx
js 0x3600994f
movsxd r10, ebx
add r10, r12
lea r8, [r10 - 1]
mov r9, r8
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
mov rdx, r8
sub rdx, rcx
test esi, esi
jle 0x3600994f
mov ecx, esi
mov al, byte [r9]
xor byte [r10], al
dec r9
inc r10
cmp r9, rdx
cmove r9, r8
sub rcx, 1
jne 0x36009936
mov rax, qword [0x3601c018]
mov qword [rsp + 0x20], rax
movsxd rbx, ebx
add rbx, r12
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.36007074
mov rcx, rax
mov r8, rbp
mov rdx, rbx
call fcn.36010b20
lea rcx, [rsp + 0x20]
call fcn.360071d0
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rbx - 8], eax
cdqe
mov byte [rax + rbx], 0
lea rsi, [rbx - 0xc]
cmp dword [rsi], 0
jl 0x360099ae
mov qword [rdi], rbx
lock add dword [rsi], 1
jmp 0x360099c3
mov rax, qword [0x3601c018]
mov qword [rdi], rax
mov rdx, rbx
mov rcx, rdi
call fcn.36008eac
mov dword [rsp + 0x88], 1
cmp rsi, qword [0x3601c010]
je 0x360099ed
or eax, 0xffffffff
lock xadd dword [rsi], eax
dec eax
test eax, eax
jg 0x360099ed
mov rcx, rsi
call fcn.36010af8
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x360099fc
call fcn.36010af0
mov rax, rdi
jmp 0x36009a26
lea rdx, [0x36001570]
mov rcx, rdi
call fcn.36009574
nop
mov rax, rdi
jmp 0x36009a26
lea rdx, [0x36001570]
call fcn.36009574
nop
mov rax, rdi
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x3600d5f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov r8d, edx
test rcx, rcx
je 0x3600d69b
mov r11d, 0x5a4d
mov r10d, 0x4550
cmp word [rcx], r11w
jne 0x3600d69b
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r10d
jne 0x3600d657
lea rdx, [rax + 4]
mov r9d, 0x8664
cmp word [rdx], r9w
jne 0x3600d657
mov r9d, 0x20b
cmp word [rax + 0x18], r9w
jne 0x3600d657
cmp dword [rax + 0x84], 0x10
jne 0x3600d657
test rdx, rdx
je 0x3600d657
mov edx, r8d
call fcn.3600c334
jmp 0x3600d69d
cmp word [rcx], r11w
jne 0x3600d69b
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r10d
jne 0x3600d69b
lea rdx, [rax + 4]
mov r9d, 0x14c
cmp word [rdx], r9w
jne 0x3600d69b
mov r9d, 0x10b
cmp word [rax + 0x18], r9w
jne 0x3600d69b
cmp dword [rax + 0x74], 0x10
jne 0x3600d69b
test rdx, rdx
je 0x3600d69b
mov edx, r8d
call fcn.3600c460
jmp 0x3600d69d
xor eax, eax
add rsp, 0x28
ret
Function at 0x3600ec28
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp rcx, rbx
je 0x3600ed60
mov r10d, 0x5a4d
mov r9d, 0x4550
cmp word [rcx], r10w
jne 0x3600eca1
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r9d
jne 0x3600eca1
lea rcx, [rax + 4]
mov r8d, 0x8664
cmp word [rcx], r8w
jne 0x3600eca1
mov r8d, 0x20b
cmp word [rax + 0x18], r8w
jne 0x3600eca1
cmp dword [rax + 0x84], 0x10
jne 0x3600eca1
cmp rcx, rbx
je 0x3600eca1
cmp edx, ebx
mov rcx, rdi
lea edx, [rbx + 2]
je 0x3600ec9a
call fcn.3600d774
jmp 0x3600ed03
call fcn.3600c28c
jmp 0x3600ed03
cmp word [rdi], r10w
jne 0x3600ed60
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
cmp dword [rax], r9d
jne 0x3600ed60
lea rcx, [rax + 4]
mov r8d, 0x14c
cmp word [rcx], r8w
jne 0x3600ed60
mov r8d, 0x10b
cmp word [rax + 0x18], r8w
jne 0x3600ed60
cmp dword [rax + 0x74], 0x10
jne 0x3600ed60
cmp rcx, rbx
je 0x3600ed60
cmp edx, ebx
mov rcx, rdi
mov edx, 2
je 0x3600ecfe
call fcn.3600d8d8
jmp 0x3600ed03
call fcn.3600c3b8
mov r11, rax
cmp rax, rbx
je 0x3600ed60
mov ecx, 0x28
lea rax, [rax - 0x28]
mov r8d, 0x6ce2e355
cmp dword [rax], r8d
je 0x3600ed62
dec rcx
inc rax
cmp rcx, rbx
jne 0x3600ed1a
cmp r11, rdi
jb 0x3600ed60
mov rdx, r11
cmp dword [rdx], r8d
jne 0x3600ed4d
mov eax, 0xce21
cmp word [rdx + 4], ax
jne 0x3600ed4d
mov eax, 0x47c2
cmp word [rdx + 6], ax
je 0x3600ed6d
inc ebx
mov rcx, r11
dec rdx
movsxd rax, ebx
sub rcx, rax
cmp rcx, rdi
jae 0x3600ed32
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rdx
jmp 0x3600ed62

Function at 0x3600ed74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x250
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, rdx
mov rbx, rcx
and dword [r11 + 0x20], 0
mov edx, r8d
mov rcx, rax
call fcn.3600ec28
test rax, rax
jne 0x3600edb7
lea rcx, [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rax, [rsp + 0x30]
mov byte [rsp + 0x20], 0x47
mov byte [rsp + 0x21], 0x6c
mov byte [rsp + 0x22], 0x6f
mov byte [rsp + 0x23], 0x62
mov byte [rsp + 0x24], 0x61
mov byte [rsp + 0x25], 0x6c
mov byte [rsp + 0x26], 0x5c
mov byte [rsp + 0x27], 0x25
mov byte [rsp + 0x28], 0x53
mov byte [rsp + 0x29], 0
mov r8d, 0xff
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov r11, qword [0x3601c018]
mov qword [rbx], r11
mov dword [rsp + 0x278], 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.36009694
mov rax, rbx
add rsp, 0x250
pop rbx
ret