joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbx, rcx
xor r8d, r8d
test rcx, rcx
jne 0x140005d9e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r8
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rax + rcx + 0x88]
add rcx, rbx
mov edi, dword [rcx + 0x1c]
add rdi, rbx
mov r10d, dword [rcx + 0x20]
add r10, rbx
mov qword [rsp + 8], r10
mov r9d, dword [rcx + 0x24]
add r9, rbx
mov qword [rsp + 0x10], r9
mov r11d, dword [rcx + 0x18]
mov dword [rsp], r11d
nop dword [rax]
mov eax, r11d
dec r11d
mov dword [rsp], r11d
test eax, eax
je 0x140005e40
mov eax, dword [r10]
add rax, rbx
mov qword [rsp + 0x18], rax
mov edx, r8d
nop dword [rax]
movsx ecx, byte [rax]
test cl, cl
je 0x140005e16
ror edx, 7
add edx, ecx
inc rax
mov qword [rsp + 0x18], rax
jmp 0x140005e00
cmp esi, edx
jne 0x140005e2c
movzx eax, word [r9]
mov r8d, dword [rdi + rax*4]
add r8, rbx
mov qword [rsp + 0x20], r8
jmp 0x140005e40
add r10, 4
mov qword [rsp + 8], r10
add r9, 2
mov qword [rsp + 0x10], r9
jmp 0x140005de0
jmp 0x140005e4a
movzx eax, byte [r8 + 4]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140005e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbx, rcx
xor r8d, r8d
test rcx, rcx
jne 0x140005e8e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r8
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rax + rcx + 0x88]
add rcx, rbx
mov edi, dword [rcx + 0x1c]
add rdi, rbx
mov r10d, dword [rcx + 0x20]
add r10, rbx
mov qword [rsp + 8], r10
mov r9d, dword [rcx + 0x24]
add r9, rbx
mov qword [rsp + 0x10], r9
mov r11d, dword [rcx + 0x18]
mov dword [rsp], r11d
nop dword [rax]
mov eax, r11d
dec r11d
mov dword [rsp], r11d
test eax, eax
je 0x140005f30
mov eax, dword [r10]
add rax, rbx
mov qword [rsp + 0x18], rax
mov edx, r8d
nop dword [rax]
movsx ecx, byte [rax]
test cl, cl
je 0x140005f06
ror edx, 7
add edx, ecx
inc rax
mov qword [rsp + 0x18], rax
jmp 0x140005ef0
cmp esi, edx
jne 0x140005f1c
movzx eax, word [r9]
mov r8d, dword [rdi + rax*4]
add r8, rbx
mov qword [rsp + 0x20], r8
jmp 0x140005f30
add r10, 4
mov qword [rsp + 8], r10
add r9, 2
mov qword [rsp + 0x10], r9
jmp 0x140005ed0
jmp 0x140005f3a
lea rax, [r8 + 0x12]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140005f50
Capabilities:
Read file via mapping

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14002e020]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov ebx, r15d
nop
mov edx, ebx
lea rcx, [0x140026790]
call fcn.140001040
inc ebx
cmp ebx, 0x186a0
jl 0x140005f70
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], r15d
call fcn.1400053f0
mov r14, rax
test rax, rax
je 0x1400060df
xor r9d, r9d
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x30], r15
lea rcx, str.c:windows_system32_ntdll.dll
mov qword [rsp + 0x88], rsi
mov edx, 0x80000000
mov dword [rsp + 0x28], r15d
lea r8d, [r9 + 1]
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], r15
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
mov r8d, 0x1000002
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rax
mov edx, 0x14044ae
mov rbp, rax
call fcn.140005d70
mov edx, 0x14044ae
mov rcx, rbp
mov edi, eax
call fcn.140005e60
mov ecx, edi
mov rbx, rax
call fcn.14000797d
mov rcx, rbx
call fcn.14000798e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0x48]
mov rcx, rax
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rsi, rax
call fcn.14000795f
mov edx, 0x1130814d
mov rcx, rbp
call fcn.140005d70
mov edx, 0x1130814d
mov rcx, rbp
mov edi, eax
call fcn.140005e60
mov ecx, edi
mov rbx, rax
call fcn.14000797d
mov rcx, rbx
call fcn.14000798e
mov r9d, dword [rsp + 0x48]
mov r8, r14
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x20], r15
call fcn.14000796e
call qword [rsp + 0x40]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140008410
add rsp, 0x60
pop r15
pop r14
pop rbx
ret

Function at 0x1400079a4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140007a28
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001d3e0]
cmp byte [rcx + rax], 0
je 0x140007a28
dec r8
sub rdx, 1
jne 0x140007a0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140008ee0
Capabilities:
Parse pe header

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

Function at 0x14000d0d4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000cf67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cf67
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cf67
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cf67
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cf67
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cf67
cmp dword [rcx + 0xf8], 0
je 0x14000cf67
mov ecx, ebx
call fcn.14000d008
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000cdf8
cmp dword [rbp + 0x20], 0
je 0x14000cfb4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000cfbc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000cf00
Function at 0x14001b210
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001b238
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001b238
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002650
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140039020]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r9d, 0x64
lea r8, [0x14003bc00]
mov rbx, rcx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea rsi, [0x14003bb30]
mov r8, rsi
mov rcx, rbx
lea edx, [r9 + 9]
call qword [sym.imp.USER32.dll_LoadStringW]
xor edi, edi
mov dword [rsp + 0x60], 0x50
lea rax, [0x140002880]
mov dword [rsp + 0x64], 3
mov rcx, rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
lea edx, [rdi + 0x6b]
mov qword [rsp + 0x78], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x1400348e0]
lea edx, [rdi + 0x6c]
mov rcx, qword [rsp + 0x78]
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa0], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rdi
lea r8, [0x14003bc00]
mov qword [rsp + 0x50], rbx
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rdi
mov rdx, rsi
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x80000000
mov qword [0x14003bb20], rbx
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
jne 0x1400027b0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140005f20
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400027c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140002b70
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140039020]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov edi, edx
mov r14, r8
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140002cc6
movzx edx, di
lea r8, [0x140034808]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140002cc6
mov rdx, rax
mov qword [rsp + 0x88], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140002cbf
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140002cbf
mov ecx, edi
mov qword [rsp + 0x70], rbp
call fcn.140005f84
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140008480
mov r9d, edi
mov r8, rsi
mov edx, edi
mov rcx, rbp
call fcn.140002a30
mov edx, 2
mov qword [rsp + 0x30], 0
mov r8d, edx
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov dword [rsp + 0x40], 0
mov rcx, r14
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002c86
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call fcn.140005f40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x70]
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005f20
add rsp, 0x50
pop r14
pop rdi
pop rbx
ret
mov eax, 0xffffffff
jmp 0x140002ca1
mov eax, 0xffffffff
jmp 0x140002ca9
Function at 0x1400030d0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1c0
mov rax, qword [0x140039020]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov r8, qword [rdx + 0x10]
cmp r8, 3
ja 0x14000310d
mov rdx, qword [rdx + 0x18]
jmp 0x1400032a5
mov rcx, rbx
mov rax, qword [rdx + 0x18]
cmp rax, 0x10
jb 0x14000311d
mov rcx, qword [rdx]
cmp byte [r8 + rcx - 1], 0x5c
jne 0x140003172
cmp rax, 0x10
mov rax, r8
jb 0x140003137
lea r9, [r8 - 1]
mov rcx, qword [rdx]
jmp 0x140003147
sub rax, rbx
lea r9, [rdx - 1]
add r9, rax
mov rax, r8
mov rcx, rbx
mov edx, 1
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
add rcx, r9
sub r8, rdx
mov qword [rbx + 0x10], r8
sub r8, r9
inc r8
add rdx, rcx
call fcn.140007dd0
mov rax, qword [rbx + 0x18]
mov rcx, rbx
cmp rax, 0x10
jb 0x14000317e
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x1400031a3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
test byte [rsp + 0x70], 0x10
jne 0x1400032a1
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400031b0
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400032a1
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140001fc0
nop
nop
lea rax, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x68]
cmp r9, 0x10
cmovae rax, r8
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx - 1]
cmp byte [rcx + rax - 1], 0x5c
je 0x140003218
cmp rcx, rdx
jb 0x140003317
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x50]
cmp r9, 0x10
cmovae rax, r8
mov byte [rax + rdx], 0
jmp 0x1400031d0
cmp rcx, rdx
jb 0x140003317
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x50]
cmp r9, 0x10
cmovae rax, r8
mov byte [rax + rdx], 0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140001fc0
mov rdx, rax
mov rcx, rdi
call fcn.1400030d0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000325e
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400032a1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000329b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000330b
call fcn.140005f40
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400032d7
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400032d2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003311
mov rcx, r8
call fcn.140005f40
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140005f20
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1c0
pop rdi
ret
call fcn.14000df68
nop
call fcn.14000df68
nop
call fcn.140002280
int3
Function at 0x140013e68
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013c94
Function at 0x1400019eb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000c3c8]
jne 0x1400013aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400013a6
repz ret
ror rcx, 0x10
jmp 0x140001944
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000d3b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000d4a8]
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 0x1400019c9
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, [0x14000d3b0]
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 0x1400019eb
mov rax, qword [rsp + 0x88]
mov qword [0x14000d4a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000d448], rax
mov rax, qword [0x14000d4a8]
mov qword [0x14000d320], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000d430], rax
mov dword [0x14000d310], 0xc0000409
mov dword [0x14000d314], 1
mov rax, qword [0x14000c3c8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000c3d0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000d3a8], eax
mov ecx, 1
call fcn.1400048c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140009330]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000d3a8], 0
jne 0x140001a72
mov ecx, 1
call fcn.1400048c4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140006d1c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000c3c8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000446c
xor ebx, ebx
cmp qword [0x14000e2d8], rbx
mov rdi, rax
jne 0x140006e2f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140006f06
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140006f06
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000e2d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000e2e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000e2e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000e2f8], rax
test rax, rax
je 0x140006e26
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000e2f0], rax
jmp 0x140006e36
mov rax, qword [0x14000e2f0]
jmp 0x140006e3d
mov rax, qword [0x14000e2f0]
mov r11, qword [0x14000e2f8]
cmp rax, rdi
je 0x140006ea4
cmp r11, rdi
je 0x140006ea4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000e2f8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140006ea4
test rax, rax
je 0x140006ea4
call rsi
test rax, rax
je 0x140006e9e
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140006e9e
test byte [rsp + 0x40], 1
jne 0x140006ea4
bts ebp, 0x15
jmp 0x140006ee4
mov rcx, qword [0x14000e2e0]
cmp rcx, rdi
je 0x140006ee4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006ee4
call rax
mov rbx, rax
test rax, rax
je 0x140006ee4
mov rcx, qword [0x14000e2e8]
cmp rcx, rdi
je 0x140006ee4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006ee4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000e2d8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006f06
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140006f08
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001390
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400072b0
Capabilities:
Access peb ldr_data
Encrypt data using speck
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2d0], xmm6
movabs r12, 0xcbf29ce484222325
movabs r14, 0x1d12a89b9e723ff5
lea rcx, [0x1400ce915]
jmp 0x1403ad384

Function at 0x140008210
Capabilities:
Access peb ldr_data
Check for software breakpoints
Encrypt data using speck
Get kernel32 base address
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movabs r14, 0xcbf29ce484222325
lea rcx, [0x1400ce987]
jmp 0x1403aeef7

Function at 0x140107bea
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rdx
mov r10, rcx
stc
jmp 0x1401b3234
jne 0x1401ec93b
ret
test r8, r8
jmp 0x1401ed62a
je 0x14013599e
sub r8, 1
jmp 0x140135998
movzx ecx, word [r10]
lea r10, [r10 + 2]
cdqe
add r9w, 0x1706
movzx edx, word [r11]
xor r9b, r14b
movsx r9w, r10b
lea r11, [r11 + 2]
bt r9d, r15d
xchg r9w, ax
bsr ax, r15w
lea eax, [rcx - 0x41]
sar r9d, 1
cmp eax, 0x19
movsx r9, r12w
lea r9d, [rcx + 0x20]
lea eax, [rdx - 0x41]
jmp 0x140222050
jne 0x1401ec93b
sub eax, eax
jmp 0x1402462b8
cmova ecx, edx
sub eax, ecx
jmp 0x14028c605
cmova r9d, ecx
cmp eax, 0x19
movzx ax, r15b
setne ch
not cx
lea ecx, [rdx + 0x20]
lahf
movzx rax, ax
not ax
mov eax, r9d
jmp 0x1402180e4
ret
jne 0x14013599e
test r9d, r9d
jmp 0x1401e2930

Function at 0x140109f1d
Capabilities:
Access peb ldr_data

Disassembly:
movzx eax, word [0x1400b8f10]
clc
test ax, ax
jmp 0x14010d69c
je 0x14017dc74
cmp rdx, 0x104
mov r8, r10
movsx r8, r15w
jmp 0x140238e40
cmovb r8, rdx
jmp 0x14015757b
jmp 0x14024f2cd
mov rax, qword gs:[0x30]
rcr r8w, 0xd8
sub r9b, r13b
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
not r9w
mov rax, qword [rax + 0x10]
ror r8b, 0x7c
btc r10w, 0x81
movzx r8d, word [rax + 0x58]
cmp r8, rdx
movsx r11, r8w
cmovae r8, rdx
btr r10, 0x3b
mov r9, qword [rax + 0x60]
shl r11b, cl
ror r10b, 0xa7
movzx r11d, word [r9]
shl r10d, cl
ror r10w, cl
lea r10, [0x1400b8f10]
clc
test r11w, r11w
jmp 0x14026a0b0
inc rax
clc
cmc
test r11w, r11w
jne 0x14026a0ca
sub r8, rax
cmp r10w, cx
test r8, r8
jmp 0x14024a9f4
jne 0x14024f2e6
sub r8, rdx
test r10b, 0x61
test r8, r8
je 0x1401c55ba
mov word [rcx], 0
jmp 0x1401c55ba
cmovb r8, rdx
jmp 0x14024f2c4
inc rdx
cmc
jmp 0x14027a9a0
ret
mov r8d, 0x104
jmp 0x140145a70
je 0x14024aa09
mov word [r10], 0
shrd ax, r13w, 0x84
bt eax, ebx
movzx eax, word [0x1400b8f10]
cmp rdx, 0x104
mov r8d, 0x104
jmp 0x1401b9c3d
test ax, ax
je 0x1401b74cd
sub edx, edx
shr r9b, 0x41
lea r9, [0x1400b8f10]
cmp rdi, 0x77824b81
stc
test r13b, 0xdc
cmp r8, rdx
jmp 0x140290703
je 0x14019843a
sub eax, eax
stc
cmp rbp, r11
test r12w, di
nop word [rax + rax]
clc
cmp r8, r12
cmp r8, rax
je 0x14024a9fa
mov word [r10], r11w
test dil, 0x5e
jmp 0x14027ac18
test ax, ax
jmp 0x1401b74c0
add r10, 2
movzx r11w, r14b
xchg r11b, r11b
movzx r11d, word [r9 + rax*2 + 2]
jmp 0x140198424
je 0x1401b74d6
mov word [rcx], ax
bsr ax, r10w
sal al, cl
cmp r15b, 0x56
add rcx, 2
cbw
bswap rax
movzx eax, word [r9 + rdx*2 + 2]
jmp 0x1401c31b4