joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180054460
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180080040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180054533
cmp byte [rcx + 0x71], 0
je 0x180054533
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18005452f
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_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800544f4
sub eax, 1
je 0x1800544f8
cmp eax, 2
jne 0x18005452f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180065620
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180054526
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 0x18005452f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800544dc
xor al, al
jmp 0x1800544dc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180065620
add rsp, 0x60
pop rbx
ret

Function at 0x180061a60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov r14, rcx
call fcn.180012e70
mov rax, qword [0x1800812e0]
mov r8, qword [rax + 0x4008]
mov rsi, qword [r8 + 0x1b0]
call fcn.180012f70
movsxd r9, dword [rsi]
mov edi, eax
mov r10, qword [rsi + 8]
mov rdx, r9
shl rdx, 4
add rdx, r10
test r9, r9
je 0x180061ae1
nop word [rax + rax]
mov rcx, r9
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r10 + rax*8], edi
jae 0x180061ad9
lea r10, [r10 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r10, 0x10
add r9, rax
jmp 0x180061adc
mov r9, rcx
test r9, r9
jne 0x180061ab0
cmp r10, rdx
je 0x180061b69
cmp dword [r10], edi
jne 0x180061b69
cmp dword [r10 + 8], 0
je 0x180061b69
mov qword [rsp + 0x40], rbp
lea rcx, [0x18006ace0]
mov rdx, rbx
mov qword [rsp + 0x48], r15
call fcn.180034830
xor r15d, r15d
lea rbx, [0x180070530]
lea rbp, [0x1800707c8]
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180061b35
mov dword [r14], r15d
jmp 0x180061b47
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180061b54
mov eax, dword [rbx]
mov dword [r14], eax
xor r8d, r8d
mov edx, edi
mov rcx, rsi
call fcn.1800062a0
add rbx, 4
cmp rbx, rbp
jne 0x180061b20
mov r15, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
jmp 0x180061b93
movsxd rax, dword [r14]
lea rcx, [0x1800707d0]
mov rdx, rbx
mov rcx, qword [rcx + rax*8]
call fcn.180034830
test al, al
je 0x180061b93
mov r8d, 1
mov edx, edi
mov rcx, rsi
call fcn.1800062a0
mov rax, qword [0x1800812e0]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rax + 0x4008]
dec dword [rcx + 0x100]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x180066750
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18006678a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18006678f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800667d8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18006a8e0]
cmp byte [rcx + rax], 0
je 0x1800667d8
dec r8
sub rdx, 1
jne 0x1800667be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140002020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x38], 0x6e
mov byte [rsp + 0x39], 0x74
mov byte [rsp + 0x3a], 0x64
mov byte [rsp + 0x3b], 0x6c
mov byte [rsp + 0x3c], 0x6c
mov byte [rsp + 0x3d], 0x2e
mov byte [rsp + 0x3e], 0x64
mov byte [rsp + 0x3f], 0x6c
mov byte [rsp + 0x40], 0x6c
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x48], 0x52
mov byte [rsp + 0x49], 0x74
mov byte [rsp + 0x4a], 0x6c
mov byte [rsp + 0x4b], 0x47
mov byte [rsp + 0x4c], 0x65
mov byte [rsp + 0x4d], 0x74
mov byte [rsp + 0x4e], 0x4e
mov byte [rsp + 0x4f], 0x74
mov byte [rsp + 0x50], 0x56
mov byte [rsp + 0x51], 0x65
mov byte [rsp + 0x52], 0x72
mov byte [rsp + 0x53], 0x73
mov byte [rsp + 0x54], 0x69
mov byte [rsp + 0x55], 0x6f
mov byte [rsp + 0x56], 0x6e
mov byte [rsp + 0x57], 0x4e
mov byte [rsp + 0x58], 0x75
mov byte [rsp + 0x59], 0x6d
mov byte [rsp + 0x5a], 0x62
mov byte [rsp + 0x5b], 0x65
mov byte [rsp + 0x5c], 0x72
mov byte [rsp + 0x5d], 0x73
mov byte [rsp + 0x5e], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000211a
xor eax, eax
jmp 0x140002152
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x28]
call qword [rsp + 0x20]
cmp dword [rsp + 0x28], 6
jbe 0x14000213b
mov eax, 1
jmp 0x140002152
cmp dword [rsp + 0x28], 6
jne 0x140002150
cmp dword [rsp + 0x2c], 2
jb 0x140002150
mov eax, 1
jmp 0x140002152
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x78
ret

Function at 0x140002170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0x33
mov byte [rsp + 0x32], 0x64
mov byte [rsp + 0x33], 0x39
mov byte [rsp + 0x34], 0x2e
mov byte [rsp + 0x35], 0x64
mov byte [rsp + 0x36], 0x6c
mov byte [rsp + 0x37], 0x6c
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400021d0
xor eax, eax
jmp 0x140002249
mov byte [rsp + 0x40], 0x44
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], 0x72
mov byte [rsp + 0x43], 0x65
mov byte [rsp + 0x44], 0x63
mov byte [rsp + 0x45], 0x74
mov byte [rsp + 0x46], 0x33
mov byte [rsp + 0x47], 0x44
mov byte [rsp + 0x48], 0x43
mov byte [rsp + 0x49], 0x72
mov byte [rsp + 0x4a], 0x65
mov byte [rsp + 0x4b], 0x61
mov byte [rsp + 0x4c], 0x74
mov byte [rsp + 0x4d], 0x65
mov byte [rsp + 0x4e], 0x39
mov byte [rsp + 0x4f], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140002241
xor eax, eax
jmp 0x140002249
mov ecx, dword [rsp + 0x70]
call qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x68
ret
Function at 0x140002260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x40], 0x64
mov byte [rsp + 0x41], 0x33
mov byte [rsp + 0x42], 0x64
mov byte [rsp + 0x43], 0x39
mov byte [rsp + 0x44], 0x2e
mov byte [rsp + 0x45], 0x64
mov byte [rsp + 0x46], 0x6c
mov byte [rsp + 0x47], 0x6c
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400022c3
xor eax, eax
jmp 0x14000236b
mov byte [rsp + 0x50], 0x44
mov byte [rsp + 0x51], 0x69
mov byte [rsp + 0x52], 0x72
mov byte [rsp + 0x53], 0x65
mov byte [rsp + 0x54], 0x63
mov byte [rsp + 0x55], 0x74
mov byte [rsp + 0x56], 0x33
mov byte [rsp + 0x57], 0x44
mov byte [rsp + 0x58], 0x43
mov byte [rsp + 0x59], 0x72
mov byte [rsp + 0x5a], 0x65
mov byte [rsp + 0x5b], 0x61
mov byte [rsp + 0x5c], 0x74
mov byte [rsp + 0x5d], 0x65
mov byte [rsp + 0x5e], 0x39
mov byte [rsp + 0x5f], 0x45
mov byte [rsp + 0x60], 0x78
mov byte [rsp + 0x61], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000233e
xor eax, eax
jmp 0x14000236b
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov ecx, dword [rsp + 0x80]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140002366
xor eax, eax
jmp 0x14000236b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x78
ret

Function at 0x140002380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0x64
mov byte [rsp + 0x32], 0x72
mov byte [rsp + 0x33], 0x61
mov byte [rsp + 0x34], 0x77
mov byte [rsp + 0x35], 0x2e
mov byte [rsp + 0x36], 0x64
mov byte [rsp + 0x37], 0x6c
mov byte [rsp + 0x38], 0x6c
mov byte [rsp + 0x39], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400023f6
mov eax, 0x8876086c
jmp 0x140002485
mov byte [rsp + 0x40], 0x44
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], 0x72
mov byte [rsp + 0x43], 0x65
mov byte [rsp + 0x44], 0x63
mov byte [rsp + 0x45], 0x74
mov byte [rsp + 0x46], 0x44
mov byte [rsp + 0x47], 0x72
mov byte [rsp + 0x48], 0x61
mov byte [rsp + 0x49], 0x77
mov byte [rsp + 0x4a], 0x43
mov byte [rsp + 0x4b], 0x72
mov byte [rsp + 0x4c], 0x65
mov byte [rsp + 0x4d], 0x61
mov byte [rsp + 0x4e], 0x74
mov byte [rsp + 0x4f], 0x65
mov byte [rsp + 0x50], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000246f
mov eax, 0x8876086c
jmp 0x140002485
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x68
ret
Function at 0x1400024a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x40], 0x64
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], 0x6e
mov byte [rsp + 0x43], 0x70
mov byte [rsp + 0x44], 0x75
mov byte [rsp + 0x45], 0x74
mov byte [rsp + 0x46], 0x2e
mov byte [rsp + 0x47], 0x64
mov byte [rsp + 0x48], 0x6c
mov byte [rsp + 0x49], 0x6c
mov byte [rsp + 0x4a], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000251f
mov eax, 0x80070005
jmp 0x1400025d7
mov byte [rsp + 0x50], 0x44
mov byte [rsp + 0x51], 0x69
mov byte [rsp + 0x52], 0x72
mov byte [rsp + 0x53], 0x65
mov byte [rsp + 0x54], 0x63
mov byte [rsp + 0x55], 0x74
mov byte [rsp + 0x56], 0x49
mov byte [rsp + 0x57], 0x6e
mov byte [rsp + 0x58], 0x70
mov byte [rsp + 0x59], 0x75
mov byte [rsp + 0x5a], 0x74
mov byte [rsp + 0x5b], 0x43
mov byte [rsp + 0x5c], 0x72
mov byte [rsp + 0x5d], 0x65
mov byte [rsp + 0x5e], 0x61
mov byte [rsp + 0x5f], 0x74
mov byte [rsp + 0x60], 0x65
mov byte [rsp + 0x61], 0x45
mov byte [rsp + 0x62], 0x78
mov byte [rsp + 0x63], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400025a7
mov eax, 0x80070005
jmp 0x1400025d7
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x78
ret
Function at 0x1400025f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x40], 0x64
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], 0x6e
mov byte [rsp + 0x43], 0x70
mov byte [rsp + 0x44], 0x75
mov byte [rsp + 0x45], 0x74
mov byte [rsp + 0x46], 0x38
mov byte [rsp + 0x47], 0x2e
mov byte [rsp + 0x48], 0x64
mov byte [rsp + 0x49], 0x6c
mov byte [rsp + 0x4a], 0x6c
mov byte [rsp + 0x4b], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140002674
mov eax, 0x80070005
jmp 0x140002727
mov byte [rsp + 0x50], 0x44
mov byte [rsp + 0x51], 0x69
mov byte [rsp + 0x52], 0x72
mov byte [rsp + 0x53], 0x65
mov byte [rsp + 0x54], 0x63
mov byte [rsp + 0x55], 0x74
mov byte [rsp + 0x56], 0x49
mov byte [rsp + 0x57], 0x6e
mov byte [rsp + 0x58], 0x70
mov byte [rsp + 0x59], 0x75
mov byte [rsp + 0x5a], 0x74
mov byte [rsp + 0x5b], 0x38
mov byte [rsp + 0x5c], 0x43
mov byte [rsp + 0x5d], 0x72
mov byte [rsp + 0x5e], 0x65
mov byte [rsp + 0x5f], 0x61
mov byte [rsp + 0x60], 0x74
mov byte [rsp + 0x61], 0x65
mov byte [rsp + 0x62], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400026f7
mov eax, 0x80070005
jmp 0x140002727
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x78
ret

Function at 0x140003210
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x48], 2
jbe 0x140003264
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x20]
lea rdx, section..data
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x68
ret

Function at 0x140003280
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x40], 2
jbe 0x1400032bb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [section..data]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x68
ret
Function at 0x140004890
Capabilities:
Set global application hook

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [0x140028bac], 0
je 0x1400048b7
mov eax, dword [0x140028bac]
jmp 0x140004985
mov rcx, qword [0x140028bd8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400048d8
call fcn.140003120
test eax, eax
jne 0x1400048d8
xor eax, eax
jmp 0x140004985
xor edx, edx
mov rcx, qword [0x140028bd8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x140001fa0]
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x140028c00], rax
cmp qword [0x140028c00], 0
jne 0x14000491a
xor eax, eax
jmp 0x140004985
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140028bd8]
call qword [sym.imp.USER32.dll_PostMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140004967
cmp dword [rsp + 0x30], 0
jne 0x14000494f
jmp 0x140004967
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14000492f
mov rcx, qword [0x140028c00]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [0x140028c00], 0
mov eax, dword [0x140028bac]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x68
ret
Function at 0x1400051c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x50]
call fcn.1400015c0
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14000d700
call fcn.14000d6d4
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
add eax, 8
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x20], 0x61
mov byte [rsp + 0x21], 0x62
mov byte [rsp + 0x22], 0x63
mov byte [rsp + 0x23], 0x64
mov byte [rsp + 0x24], 0x65
mov byte [rsp + 0x25], 0x66
mov byte [rsp + 0x26], 0x67
mov byte [rsp + 0x27], 0x68
mov byte [rsp + 0x28], 0x69
mov byte [rsp + 0x29], 0x6a
mov byte [rsp + 0x2a], 0x6b
mov byte [rsp + 0x2b], 0x6c
mov byte [rsp + 0x2c], 0x6d
mov byte [rsp + 0x2d], 0x6e
mov byte [rsp + 0x2e], 0x6f
mov byte [rsp + 0x2f], 0x70
mov byte [rsp + 0x30], 0x71
mov byte [rsp + 0x31], 0x72
mov byte [rsp + 0x32], 0x73
mov byte [rsp + 0x33], 0x74
mov byte [rsp + 0x34], 0x76
mov byte [rsp + 0x35], 0x77
mov byte [rsp + 0x36], 0x78
mov byte [rsp + 0x37], 0x79
mov byte [rsp + 0x38], 0x75
mov byte [rsp + 0x39], 0x41
mov byte [rsp + 0x3a], 0x42
mov byte [rsp + 0x3b], 0x43
mov byte [rsp + 0x3c], 0x44
mov byte [rsp + 0x3d], 0x45
mov byte [rsp + 0x3e], 0x46
mov byte [rsp + 0x3f], 0x47
mov dword [rsp + 0x40], 0
jmp 0x1400052c6
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jge 0x1400052fa
call fcn.14000d6d4
cdq
and edx, 0x1f
add eax, edx
and eax, 0x1f
sub eax, edx
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x4c]
movzx edx, byte [rsp + rax + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400019a0
jmp 0x1400052bc
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
call fcn.140001560
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x50]
call fcn.140001820
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x88
ret

Function at 0x1400079b0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140007a02
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x48
ret
Function at 0x140007f10
Capabilities:
Read file via mapping

Disassembly:
sub rsp, 0x258
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x30], 0
mov ecx, 7
call fcn.140005f00
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.140006ec0
mov ecx, 4
call fcn.1400060d0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006ec0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
mov r8d, 4
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [0x14002a338], rax
cmp qword [0x14002a338], 0
jne 0x140007fa5
xor al, al
jmp 0x14000806d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140007fc6
mov rcx, qword [0x14002a338]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14000806d
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [0x14002a338]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor eax, 0x8638
mov rcx, qword [rsp + 0x30]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea r9, [rsp + 0x140]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x14002a330], rax
cmp qword [0x14002a330], 0
jne 0x140008040
mov rcx, qword [0x14002a338]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14000806d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000806b
mov rcx, qword [0x14002a330]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14002a338]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14000806d
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x258
ret

Function at 0x1400082d0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140028048]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14000830a
jmp 0x140008383
lea r8, [rsp + 0x40]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x140008378
mov dword [rsp + 0x48], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + rax + 0x4c], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x54], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008d90
add rsp, 0x68
ret

Function at 0x14000f2d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f104