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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx ebx, byte [rcx]
mov rsi, rdx
mov rdi, rcx
test bl, bl
je 0x1400b22cd
mov qword [rsp + 0x30], rbp
lea rbp, [0x140000000]
nop dword [rax]
movzx edx, byte [rsi]
test dl, dl
je 0x1400b22c8
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400b2242
cdqe
mov ecx, dword [rbp + rax*4 + 0xb22fc]
add rcx, rbp
jmp rcx
mov bl, 0x41
jmp case.default.0x1400b2242
mov bl, 0x42
jmp case.default.0x1400b2242
mov bl, 0x43
jmp case.default.0x1400b2242
mov bl, 0x44
jmp case.default.0x1400b2242
mov bl, 0x45
jmp case.default.0x1400b2242
mov bl, 0x46
jmp case.default.0x1400b2242
mov bl, 0x47
jmp case.default.0x1400b2242
mov bl, 0x48
jmp case.default.0x1400b2242
mov bl, 0x49
jmp case.default.0x1400b2242
mov bl, 0x4a
jmp case.default.0x1400b2242
mov bl, 0x4b
jmp case.default.0x1400b2242
mov bl, 0x4c
jmp case.default.0x1400b2242
mov bl, 0x4d
jmp case.default.0x1400b2242
mov bl, 0x4e
jmp case.default.0x1400b2242
mov bl, 0x4f
jmp case.default.0x1400b2242
mov bl, 0x50
jmp case.default.0x1400b2242
mov bl, 0x51
jmp case.default.0x1400b2242
mov bl, 0x52
jmp case.default.0x1400b2242
mov bl, 0x53
jmp case.default.0x1400b2242
mov bl, 0x54
jmp case.default.0x1400b2242
mov bl, 0x55
jmp case.default.0x1400b2242
mov bl, 0x56
jmp case.default.0x1400b2242
mov bl, 0x57
jmp case.default.0x1400b2242
mov bl, 0x58
jmp case.default.0x1400b2242
mov bl, 0x59
jmp case.default.0x1400b2242
mov bl, 0x5a
movzx ecx, dl
call fcn.1400b2520
cmp bl, al
jne 0x1400b22c8
movzx ebx, byte [rdi + 1]
inc rdi
inc rsi
test bl, bl
jne 0x1400b2220
mov rbp, qword [rsp + 0x30]
movzx ecx, byte [rdi]
call fcn.1400b2520
movzx ecx, byte [rsi]
movzx ebx, al
call fcn.1400b2520
mov rsi, qword [rsp + 0x40]
xor ecx, ecx
cmp bl, al
mov rbx, qword [rsp + 0x38]
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400b2370
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx ebx, byte [rcx]
mov rsi, r8
mov r14, rdx
mov rdi, rcx
test bl, bl
je 0x1400b2465
lea rbp, [0x140000000]
nop word [rax + rax]
movzx edx, byte [r14]
test dl, dl
je 0x1400b2465
test rsi, rsi
je 0x1400b246a
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400b23dc
cdqe
mov ecx, dword [rbp + rax*4 + 0xb24ac]
add rcx, rbp
jmp rcx
mov bl, 0x41
jmp case.default.0x1400b23dc
mov bl, 0x42
jmp case.default.0x1400b23dc
mov bl, 0x43
jmp case.default.0x1400b23dc
mov bl, 0x44
jmp case.default.0x1400b23dc
mov bl, 0x45
jmp case.default.0x1400b23dc
mov bl, 0x46
jmp case.default.0x1400b23dc
mov bl, 0x47
jmp case.default.0x1400b23dc
mov bl, 0x48
jmp case.default.0x1400b23dc
mov bl, 0x49
jmp case.default.0x1400b23dc
mov bl, 0x4a
jmp case.default.0x1400b23dc
mov bl, 0x4b
jmp case.default.0x1400b23dc
mov bl, 0x4c
jmp case.default.0x1400b23dc
mov bl, 0x4d
jmp case.default.0x1400b23dc
mov bl, 0x4e
jmp case.default.0x1400b23dc
mov bl, 0x4f
jmp case.default.0x1400b23dc
mov bl, 0x50
jmp case.default.0x1400b23dc
mov bl, 0x51
jmp case.default.0x1400b23dc
mov bl, 0x52
jmp case.default.0x1400b23dc
mov bl, 0x53
jmp case.default.0x1400b23dc
mov bl, 0x54
jmp case.default.0x1400b23dc
mov bl, 0x55
jmp case.default.0x1400b23dc
mov bl, 0x56
jmp case.default.0x1400b23dc
mov bl, 0x57
jmp case.default.0x1400b23dc
mov bl, 0x58
jmp case.default.0x1400b23dc
mov bl, 0x59
jmp case.default.0x1400b23dc
mov bl, 0x5a
movzx ecx, dl
call fcn.1400b2520
cmp bl, al
jne 0x1400b2465
movzx ebx, byte [rdi + 1]
inc rdi
dec rsi
inc r14
test bl, bl
jne 0x1400b23b0
test rsi, rsi
jne 0x1400b2471
mov eax, 1
jmp 0x1400b248e
movzx ecx, byte [rdi]
call fcn.1400b2520
movzx ecx, byte [r14]
movzx ebx, al
call fcn.1400b2520
xor ecx, ecx
cmp bl, al
sete cl
mov eax, ecx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400b2520
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400b253f
lea r8, [0x140000000]
cdqe
mov edx, dword [r8 + rax*4 + 0xb2594]
add rdx, r8
jmp rdx
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
movzx eax, cl
ret
Function at 0x1400b2600
Capabilities:
Parse pe header

Disassembly:
mov r10, rcx
cmp r8, 1
jb 0x1400b26d7
sub r10, rdx
lea r11, [0x140000000]
nop word [rax + rax]
movsx r9d, byte [rdx]
lea eax, [r9 - 0x61]
cmp eax, 0x19
ja case.default.0x1400b263e
cdqe
mov ecx, dword [r11 + rax*4 + 0xb26d8]
add rcx, r11
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400b263e
mov r9b, 0x42
jmp case.default.0x1400b263e
mov r9b, 0x43
jmp case.default.0x1400b263e
mov r9b, 0x44
jmp case.default.0x1400b263e
mov r9b, 0x45
jmp case.default.0x1400b263e
mov r9b, 0x46
jmp case.default.0x1400b263e
mov r9b, 0x47
jmp case.default.0x1400b263e
mov r9b, 0x48
jmp case.default.0x1400b263e
mov r9b, 0x49
jmp case.default.0x1400b263e
mov r9b, 0x4a
jmp case.default.0x1400b263e
mov r9b, 0x4b
jmp case.default.0x1400b263e
mov r9b, 0x4c
jmp case.default.0x1400b263e
mov r9b, 0x4d
jmp case.default.0x1400b263e
mov r9b, 0x4e
jmp case.default.0x1400b263e
mov r9b, 0x4f
jmp case.default.0x1400b263e
mov r9b, 0x50
jmp case.default.0x1400b263e
mov r9b, 0x51
jmp case.default.0x1400b263e
mov r9b, 0x52
jmp case.default.0x1400b263e
mov r9b, 0x53
jmp case.default.0x1400b263e
mov r9b, 0x54
jmp case.default.0x1400b263e
mov r9b, 0x55
jmp case.default.0x1400b263e
mov r9b, 0x56
jmp case.default.0x1400b263e
mov r9b, 0x57
jmp case.default.0x1400b263e
mov r9b, 0x58
jmp case.default.0x1400b263e
mov r9b, 0x59
jmp case.default.0x1400b263e
mov r9b, 0x5a
mov byte [r10 + rdx], r9b
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400b26d7
dec r8
jne 0x1400b2620
ret
Function at 0x1400b8d60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x138
call qword [sym.imp.msvcrt.dll_getenv]
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400b8da5
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400b8da5
lea rcx, [rsp + 0x20]
call qword [case.0x1400a36e7.0]
add rsp, 0x138
ret
xor eax, eax
add rsp, 0x138
ret

Function at 0x1400ba9f0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.DLL_CryptAcquireContextA]
test eax, eax
je 0x1400baa4c
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.DLL_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
test eax, eax
jne 0x1400baa5c
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400be440
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
lea r8, [rsp + 0x38]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WSOCK32.DLL_ioctlsocket]
add rsp, 0x28
ret
Function at 0x1400be4c0
Capabilities:
Resolve dns

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
lea r9, [rsp + 0x68]
mov ebx, r13d
mov r15d, r13d
call qword [sym.imp.WS2_32.DLL_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x1400be684
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x60], rdi
test rsi, rsi
je 0x1400be664
mov qword [rsp + 0x50], rbp
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1400be51d
lea ebp, [rax + 0xe]
jmp 0x1400be529
cmp eax, 0x17
jne 0x1400be5d1
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], r13
je 0x1400be5d1
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400be5d1
cmp rax, rbp
jb 0x1400be5d1
mov ecx, 0x30
call qword [sub.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400be60c
mov ecx, dword [rsi]
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0x10], ebp
mov dword [rax + 0xc], ecx
mov rcx, rbp
mov qword [rax + 0x20], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
call qword [sub.msvcrt.dll_malloc]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400be5fb
mov rdx, qword [rsi + 0x20]
mov r8, rbp
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400be5be
call qword [case.0x1400a36e7.0]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x1400be5e0
test rbx, rbx
cmove rbx, rdi
test r15, r15
je 0x1400be5ce
mov qword [r15 + 0x28], rdi
mov r15, rdi
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400be510
jmp 0x1400be612
mov rcx, qword [rdi + 0x20]
mov r14d, 8
call qword [sub.msvcrt.dll_free]
mov rcx, rdi
call qword [sub.msvcrt.dll_free]
jmp 0x1400be612
mov rcx, rdi
mov r14d, 8
call qword [sub.msvcrt.dll_free]
jmp 0x1400be612
mov r14d, 8
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test rcx, rcx
je 0x1400be627
call qword [sym.imp.WS2_32.DLL_freeaddrinfo]
test r14d, r14d
je 0x1400be65f
test rbx, rbx
je 0x1400be65a
mov rcx, qword [rbx + 0x20]
call qword [sub.msvcrt.dll_free]
mov rcx, qword [rbx + 0x18]
call qword [sub.msvcrt.dll_free]
mov rdi, qword [rbx + 0x28]
mov rcx, rbx
call qword [sub.msvcrt.dll_free]
mov rbx, rdi
test rdi, rdi
jne 0x1400be631
mov rbx, r13
jmp 0x1400be673
test rbx, rbx
jne 0x1400be673
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WSOCK32.DLL_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov qword [r12], rbx
mov eax, r14d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x1400c0650
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rdi, r8
cmp dword [rcx + 8], 2
mov rsi, rdx
jne 0x1400c069a
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1400c068a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rsi
call rax
jmp 0x1400c06e4
cmp qword [rbx + 0x10], 0
jne 0x1400c06cf
mov rcx, qword [rcx + 0x10]
lea rdx, [0x1400dd784]
call qword [sym.imp.msvcrt.dll_fopen]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400c06cf
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
mov rdi, rax
test rax, rax
jne 0x1400c0708
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400c06ff
call qword [sym.imp.msvcrt.dll_fclose]
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1400c2910
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WSOCK32.DLL_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1400c294a
lea edx, [rax + 0x2e]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1400c2948
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c4c90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
mov r14, rdx
add rax, 0x18
add rcx, rax
call qword [sub.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400c4cd2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400c4d15
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add r14, qword [rdi + 0x10]
mov rcx, r14
call qword [rbx + 0x10]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400c4d71
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
dec rbp
jne 0x1400c4d30
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400c4db3
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400ea6d2]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400ea6d3]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400c4d80
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140011e30
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea r14, [rsp + 0x68]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
lea rdx, str.SoftwareClassesApplications
mov rsi, qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call rsi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 1
lea rdx, str.SoftwareClassesApplicationscrashreporter.exe
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call rsi
test eax, eax
jne 0x140011f7e
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.IsHostApp
mov rsi, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor r8d, r8d
xor r9d, r9d
call rsi
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.NoOpenWith
xor r8d, r8d
xor r9d, r9d
call rsi
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.NoStartPage
xor r8d, r8d
xor r9d, r9d
call rsi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
call r15
movsxd rcx, dword [rax]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
call r15
cmp dword [rax], 0
jg 0x140011fe5
xor esi, esi
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]

Function at 0x140012960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov r12, rdx
movzx edx, cx
cmp byte [0x14002f470], 1
jne 0x140012a1b
mov r8d, 5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov ecx, 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
mov rcx, rax
mov rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
or byte [rdi + 0xa], 0x40
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov rdx, rdi
mov r8, r12
mov r9, r14
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rdi, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, rdi
jmp 0x140012a32
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov r8, r12
mov r9, r14
call qword [sym.imp.USER32.dll_DialogBoxParamW]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140014370
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r8, qword [rdx + 0x10]
cmp qword [rcx + 0x10], r8
jne 0x1400143d6
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
jbe 0x1400143a5
mov rcx, qword [rsi]
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x1400143b2
mov rdx, qword [rdi]
call sub.VCRUNTIME140.dll_memcmp
mov bl, 1
test eax, eax
jne 0x1400143d6
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140027320
mov eax, ebx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
call fcn.1400123c0
cmp qword [rsp + 0x58], 7
mov rbx, r14
jbe 0x1400143f6
mov rbx, qword [rsp + 0x40]
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.1400123c0
cmp qword [rsp + 0x38], 7
mov rcx, rdi
jbe 0x140014416
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, 1
sete bl
mov rcx, rdi
call section..text
mov rcx, r14
call section..text
jmp 0x1400143bd

Function at 0x140016340
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x850
mov r14d, r9d
mov rsi, r8
mov r15, rdx
mov r12, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x848], rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov rcx, r12
mov edx, 0x31
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14001639d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rsp + 0x40]
mov rcx, r12
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x1400163c2
mov rdx, qword [rsi]
lea r9, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
xor ebp, ebp
test eax, eax
je 0x140016466
lea rdi, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea r9, [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x140016466
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
sub eax, ecx
js 0x140016466
mov ebp, dword [rsp + 0x8b0]
test ebp, ebp
jne 0x140016420
mov ebp, dword [r15 + 8]
sub ebp, ecx
sub ebp, dword [r15]
add ebp, eax
test r14b, r14b
je 0x140016435
mov edx, dword [r15]
mov r9d, dword [r15 + 8]
sub edx, ebp
mov dword [r15], edx
jmp 0x140016443
mov r9d, dword [r15 + 8]
add r9d, ebp
mov dword [r15 + 8], r9d
mov edx, dword [r15]
mov r8d, dword [r15 + 4]
mov eax, dword [r15 + 0xc]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov rcx, r12
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rsi
call section..text
mov rcx, qword [rsp + 0x848]
xor rcx, rsp
call fcn.140027320
mov eax, ebp
add rsp, 0x850
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400164a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov byte [r8], 0
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400164f9
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400164f9
xor edi, edi
jmp 0x14001654e
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor edi, edi
lea r9, [rsp + 0x44]
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140016543
cmp dword [rsp + 0x44], 4
jne 0x140016543
cmp dword [rsp + 0x34], 1
sete byte [rsi]
mov dil, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140027320
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x4013a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0040c008]
jne 0x40102a
rol rcx, 0x10
test cx, 0xffff
jne 0x401026
repz ret
ror rcx, 0x10
jmp 0x401300
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0040d160]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0040d258]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x401385
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x0040d160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x4013a7
mov rax, qword [rsp + 0x88]
mov qword [0x0040d258], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0040d1f8], rax
mov rax, qword [0x0040d258]
mov qword [0x0040d0d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0040d1e0], rax
mov dword [0x0040d0c0], 0xc0000409
mov dword [0x0040d0c4], 1
mov rax, qword [0x0040c008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0040c010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0040d158], eax
mov ecx, 1
call fcn.00403180
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00409260]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0040d158], 0
jne 0x40142e
mov ecx, 1
call fcn.00403180
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret