joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bff50
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0xa0], rcx
mov byte [rbp + 0x77], 0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jne 0x5bff8a
mov byte [rbp + 0x77], 1
jmp 0x5c0164
nop
lea rcx, [rbp + 0x78]
xor edx, edx
xor r8, r8
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x5c0164
nop
mov rcx, qword [rbp + 0x78]
mov edx, 0x8003
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x5c014e
nop
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0xa0]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 8]
mov r8d, eax
xor r9, r9
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x5c0141
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0xa0]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 8]
mov edx, eax
lea r8, [rbp + 0x88]
lea r9, [rbp + 0x70]
mov byte [rsp + 0x20], 2
call fcn.00572fa0
nop
call fcn.00409650
mov ecx, 0x10129
call fcn.00409680
movsxd rax, eax
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x58], rax
mov rcx, qword [rbp + 0x80]
mov edx, 2
xor r8, r8
lea r9, [rbp + 0x4c]
mov dword [rsp + 0x20], 0
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x5c0134
mov rcx, qword [rbp + 0x80]
mov edx, 2
lea r8, [rbp + 0x60]
lea r9, [rbp + 0x4c]
mov dword [rsp + 0x20], 0
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x5c0134
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
call fcn.004fd8e0
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
lea rdx, [rbp + 0x70]
mov r8d, 4
call fcn.004fc3f0
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x88]
movsxd r8, dword [rbp + 0x70]
call fcn.004fc3f0
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
lea rdx, [rbp + 0x50]
mov r8d, 0x20
call fcn.004fc3f0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov rcx, rax
xor edx, edx
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x48]
mov byte [rbp + 0x77], 1
nop
mov rcx, qword [rbp + 0x88]
call fcn.00409080
nop
mov rcx, qword [rbp + 0x80]
call sub.advapi32.dll_CryptDestroyHash
nop
mov rcx, qword [rbp + 0x78]
xor edx, edx
call sub.advapi32.dll_CryptReleaseContext
jmp 0x5c0164
movzx rax, byte [rbp + 0x77]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x5c01f0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0xb0], rcx
mov byte [rbp + 0x7f], 0
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jne 0x5c022a
mov byte [rbp + 0x7f], 1
jmp 0x5c0458
nop
lea rcx, [rbp + 0x80]
xor edx, edx
xor r8, r8
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x5c0458
nop
mov rcx, qword [rbp + 0x80]
mov edx, 0x8003
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x5c043f
nop
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
xor edx, edx
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x48]
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
lea rdx, [rbp + 0x78]
mov r8d, 4
call fcn.004fb180
cmp dword [rbp + 0x78], 0x40000000
jge 0x5c0432
movsxd rcx, dword [rbp + 0x78]
call fcn.00409050
mov qword [rbp + 0x90], rax
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x90]
movsxd r8, dword [rbp + 0x78]
call fcn.004fb180
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
lea rdx, [rbp + 0x54]
mov r8d, 0x20
call fcn.004fb180
mov rax, qword [rbp + 0x54]
cmp rax, qword [rbp + 0x5c]
jne 0x5c0425
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x78]
lea r8, [rbp + 0x98]
lea r9, [rbp + 0x74]
mov dword [rsp + 0x20], 0
call fcn.00573160
nop
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x98]
mov r8d, dword [rbp + 0x74]
xor r9, r9
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x5c0418
mov rcx, qword [rbp + 0x88]
mov edx, 2
xor r8, r8
lea r9, [rbp + 0x50]
mov dword [rsp + 0x20], 0
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x5c0418
mov rcx, qword [rbp + 0x88]
mov edx, 2
lea r8, [rbp + 0x40]
lea r9, [rbp + 0x50]
mov dword [rsp + 0x20], 0
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x5c0418
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
call fcn.004fd8e0
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x98]
movsxd r8, dword [rbp + 0x74]
call fcn.004fc3f0
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
xor edx, edx
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x48]
mov byte [rbp + 0x7f], 1
mov dword [rbp + 0x78], 0
movsxd rax, dword [rbp + 0x78]
movsxd rcx, dword [rbp + 0x78]
movzx rax, byte [rax + rbp + 0x64]
cmp al, byte [rcx + rbp + 0x40]
je 0x5c040d
mov byte [rbp + 0x7f], 0
jmp 0x5c0417
add dword [rbp + 0x78], 1
cmp dword [rbp + 0x78], 0x10
jne 0x5c03f3
nop
nop
mov rcx, qword [rbp + 0x98]
call fcn.00409080
nop
mov rcx, qword [rbp + 0x90]
call fcn.00409080
nop
mov rcx, qword [rbp + 0x88]
call sub.advapi32.dll_CryptDestroyHash
nop
mov rcx, qword [rbp + 0x80]
xor edx, edx
call sub.advapi32.dll_CryptReleaseContext
jmp 0x5c0458
movzx rax, byte [rbp + 0x7f]
lea rsp, [rbp + 0xa0]
pop rbp
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
cmpsd dword [rsi], dword [rdi]
sub al, 0xed
jg 0x140020a05
mov bh, 0x3e
xchg ebx, eax
push rsp
mov dh, 0xa0
pushfq
sal esi, 1
cmpsb byte [rsi], byte [rdi]
or byte [rdx + 0x4a], bl
test byte [r11], bpl
iretd
invalid
mov ah, 7
sbb eax, 0xf6bf1682
adc edx, ecx
push 0xffffffffc939e65e
pop rdx
pop rsi
pop rbp
call rcx
insb byte [rdi], dx
pop rbp
cmc
fdiv qword [rsi + rbp*8]
movabs eax, dword [0x90e6d41074959261]
adc dword [rbp + 0x32], esi
xchg byte [edx + 0x46cb91aa], dl
fsubr dword [rdi + 4]
cmpsb byte [rsi], byte [rdi]
sbb bl, byte [rax]
leave
jg 0x1400209e6
mov bh, 0x2a
jbe 0x140020a8d
cmp dword [rdx + 0x23d8f5d5], esp
invalid
pop rbp
invalid
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
in al, dx
mov ebp, 0xd80c527f
retf
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140012e30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001126c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x140011890
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400210a2]
call fcn.140011375
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x379
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400118e2
lea rcx, str.Failed_to_allocate_memory._n
call fcn.140011195
mov eax, 1
jmp 0x14001190f
mov r8d, 0x379
lea rdx, section..data
mov rcx, qword [rbp + 8]
call fcn.1400111b3
call qword [rbp + 8]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014180
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400141a0
xor al, al
jmp 0x140014221
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400141b3
xor al, al
jmp 0x140014221
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400141dd
xor al, al
jmp 0x140014221
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400141f1
xor al, al
jmp 0x140014221
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014203
xor al, al
jmp 0x140014221
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001421f
xor al, al
jmp 0x140014221
mov al, 1
add rsp, 0x38
ret
Function at 0x18000a120
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x18000a1e2
mov rax, qword [rcx + 0x118]
test rax, rax
je 0x18000a18a
nop word [rax + rax]
mov rcx, rax
mov qword [rbx + 0x120], rax
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
jne 0x18000a160
mov rcx, qword [rbx + 0x120]
lea rdx, [rbx + 0x128]
call fcn.18000a690
jmp 0x18000a1e2
mov eax, dword [rcx + 0x134]
test eax, eax
je 0x18000a1a0
cmp qword [rcx + 0x128], 0
je 0x18000a1e2
jmp 0x18000a1ad
mov byte [0x180082e28], 0
mov eax, dword [rcx + 0x134]
test eax, eax
je 0x18000a1db
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x18000a1e2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rdx, rbx
lea rcx, [0x18000a710]
mov dword [rbx + 0x110], eax
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x18000a1e2
mov byte [0x180082e28], 0
mov rcx, qword [rbx + 0x120]
mov r9d, edi
mov r8, rsi
mov rdx, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_MessageBoxA]

Function at 0x18000b1f0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x180078228]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
mov ecx, eax
cmp byte [rsp + rcx + 0x30], 0
je 0x18000b25f
cmp byte [rsp + rcx + 0x31], 0
je 0x18000b25d
cmp byte [rsp + rcx + 0x32], 0
je 0x18000b258
cmp byte [rsp + rcx + 0x33], 0
je 0x18000b253
add rcx, 4
add eax, 4
cmp rcx, 0x100
jl 0x18000b225
jmp 0x18000b25f
add eax, 3
jmp 0x18000b25f
add eax, 2
jmp 0x18000b25f
inc eax
mov r9d, eax
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call fcn.180001af0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180034520
add rsp, 0x140
pop rbx
ret

Function at 0x18000b290
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x180078228]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor ecx, ecx
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rbx, rdx
lea edx, [rcx + 0x23]
test r8b, r8b
jne 0x18000b2c8
lea edx, [rcx + 0x1c]
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor eax, eax
mov ecx, eax
cmp byte [rsp + rcx + 0x30], 0
je 0x18000b30f
cmp byte [rsp + rcx + 0x31], 0
je 0x18000b30d
cmp byte [rsp + rcx + 0x32], 0
je 0x18000b308
cmp byte [rsp + rcx + 0x33], 0
je 0x18000b303
add rcx, 4
add eax, 4
cmp rcx, 0x100
jl 0x18000b2d5
jmp 0x18000b30f
add eax, 3
jmp 0x18000b30f
add eax, 2
jmp 0x18000b30f
inc eax
mov r9d, eax
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call fcn.180001af0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180034520
add rsp, 0x140
pop rbx
ret
Function at 0x18000b7f0
Capabilities:
Check internet connectivity via wininet
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test r9, r9
je 0x18000b82b
mov rcx, qword [rcx + 0xc8]
mov r9d, 4
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x18000b8a3
xor edx, edx
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x18000b886
mov rcx, qword [rbx + 0xc8]
lea rdx, str.open
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x18000b886
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x18000b8a3
mov rcx, qword [rbx + 0xc8]
xor r9d, r9d
mov r8, rdi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rbx, qword [rsp + 0x40]
xor al, al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18000b940
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push r13
push r14
sub rsp, 0x58
mov ecx, 0xd
mov r13, rdx
xor r14b, r14b
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x18000baab
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18000baa0
mov ecx, 0xd
mov qword [rsp + 0x48], r12
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r12, rax
test rax, rax
je 0x18000ba9b
mov rcx, rax
mov qword [rsp + 0x78], rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rax, rax
je 0x18000ba96
mov qword [rsp + 0x70], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x50], rdi
mov rdi, rbx
mov qword [rsp + 0x40], r15
cmp word [rax + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x18000b9c0
xor r15d, r15d
lea r9d, [rdi + 1]
mov qword [rsp + 0x38], r15
mov r8, rbp
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], r15d
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x80], eax
test eax, eax
jle 0x18000ba7e
lea edx, [rax + 1]
mov qword [rsp + 0x88], rsi
movsxd rcx, edx
call fcn.1800345ac
mov rsi, rax
mov qword [rsp + 0x38], r15
mov eax, dword [rsp + 0x80]
lea r9d, [rdi + 1]
mov qword [rsp + 0x30], r15
mov r8, rbp
mov dword [rsp + 0x28], eax
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x18000ba6e
mov r14b, 1
test rsi, rsi
je 0x18000ba5e
inc rbx
cmp byte [rsi + rbx], r15b
jne 0x18000ba52
mov r15d, ebx
mov r9d, r15d
mov r8, rsi
xor edx, edx
mov rcx, r13
call fcn.180001af0
mov rcx, rsi
call fcn.180034480
mov rsi, qword [rsp + 0x88]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov r12, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_CloseClipboard]
test r14b, r14b
jne 0x18000babf
xor r9d, r9d
lea r8, [0x18006b7f8]
xor edx, edx
mov rcx, r13
call fcn.180001af0
movzx eax, r14b
add rsp, 0x58
pop r14
pop r13
ret
Function at 0x180030600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rcx + 0x13c8]
jmp fcn.1800335c0
Function at 0x1800347f8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180034883
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180034883
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180034883
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x18003487f
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180034879
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x180034879
test rdx, rdx
je 0x18003487f
cmp dword [rdx + 0x24], 0
jge 0x180034875
xor al, al
jmp 0x180034889
mov al, 1
jmp 0x180034889
add rdx, 0x28
jmp 0x18003484b
xor al, al
jmp 0x180034889
xor al, al
jmp 0x180034889
add rsp, 0x18
ret
Function at 0x45d6e0
Capabilities:
Get session user name

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.ADVAPI32.dll_GetUserNameW
mov esi, dword [rsp + 0x20]
test rsi, rsi
je 0x45d73b
lea r14, [rsi + rsi]
mov rax, qword [0x005f7f18]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r14
call fcn.0044f650
mov rdi, rax
test rax, rax
jne 0x45d740
mov ecx, 2
mov rdx, r14
call fcn.00578c70
ud2
mov edi, 2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.ADVAPI32.dll_GetUserNameW
test eax, eax
je 0x45d791
mov eax, dword [rsp + 0x20]
lea r8, [rax - 1]
test rax, rax
cmove r8, rax
mov rcx, rbx
mov rdx, rdi
call fcn.00521530
test rsi, rsi
je 0x45d784
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.0044f660
mov rax, rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.005ab3f4
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x24]
mov qword [rsp + 0x28], rax
lea rax, [fcn.0059c640]
mov qword [rsp + 0x30], rax
lea rax, [0x005b75b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rdx, [0x005b75d0]
lea rcx, [rsp + 0x38]
call fcn.00587e80
ud2

Function at 0x45d840
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
xor ecx, ecx
xor edx, edx
call sub.KERNEL32.dll_GetComputerNameExW
mov esi, dword [rsp + 0x20]
test rsi, rsi
je 0x45d89d
lea r14, [rsi + rsi]
mov rax, qword [0x005f7f18]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r14
call fcn.0044f650
mov rdi, rax
test rax, rax
jne 0x45d8a2
mov ecx, 2
mov rdx, r14
call fcn.00578c70
ud2
mov edi, 2
lea r8, [rsp + 0x20]
xor ecx, ecx
mov rdx, rdi
call sub.KERNEL32.dll_GetComputerNameExW
test eax, eax
je 0x45d8eb
mov r8d, dword [rsp + 0x20]
mov rcx, rbx
mov rdx, rdi
call fcn.00521530
test rsi, rsi
je 0x45d8de
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.0044f660
mov rax, rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.005ab3f4
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x24]
mov qword [rsp + 0x28], rax
lea rax, [fcn.0059c640]
mov qword [rsp + 0x30], rax
lea rax, str.Failed_to_get_computer_name:
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rdx, [0x005b7628]
lea rcx, [rsp + 0x38]
call fcn.00587e80
ud2
Function at 0x45d9c0
Capabilities:
Check os version

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
call sub.KERNEL32.dll_GetVersion
mov rdi, rax
mov rax, qword [0x005f7f18]
movzx eax, byte [rax]
mov ecx, 8
mov edx, 1
call fcn.0044f650
test rax, rax
je 0x45db69
movabs rcx, 0x2073776f646e6957
mov qword [rax], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 8
mov qword [rsp + 0x30], 8
cmp dil, 5
je 0x45da7d
movzx eax, dil
cmp eax, 6
jne 0x45daa5
mov rax, rdi
shr rax, 8
test al, al
je 0x45dad3
movzx eax, al
cmp eax, 1
je 0x45dafe
cmp eax, 2
jne 0x45db1d
and edi, 0xffff0000
cmp edi, 0x23f00000
jne 0x45db2e
lea rcx, [rsp + 0x20]
mov edx, 2
call fcn.0045d100
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov word [rcx + rax], 0x3031
jmp 0x45da9c
lea rcx, [rsp + 0x20]
mov edx, 2
call fcn.0045d100
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov word [rcx + rax], 0x5058
add rax, 2
jmp 0x45db4e
lea rcx, [rsp + 0x20]
mov edx, 7
call fcn.0045d100
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov dword [rcx + rax + 3], 0x6e776f6e
mov dword [rcx + rax], 0x6e6b6e55
add rax, 7
jmp 0x45db4e
lea rcx, [rsp + 0x20]
mov edx, 5
call fcn.0045d100
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov byte [rcx + rax + 4], 0x61
mov dword [rcx + rax], 0x74736956
add rax, 5
jmp 0x45db4e
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.0045d100
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov byte [rcx + rax], 0x37
jmp 0x45db4b
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.0045d100
jmp 0x45db3d
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.0045d100
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov byte [rcx + rax], 0x38
inc rax
mov qword [rsp + 0x30], rax
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 8
call fcn.00578c70
ud2

Function at 0x45f250
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rcx, qword [rsp + 0x28]
test eax, eax
je 0x45f287
call sub.ole32.dll_CoTaskMemFree
mov byte [rsi + 0x18], 2
jmp 0x45f2b9
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.00521530
mov rcx, qword [rsp + 0x28]
call sub.ole32.dll_CoTaskMemFree
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x50
pop rsi
ret