joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180055ae0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x180083080]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rcx, qword [rsp + 0x2c0]
call fcn.18000a1d0
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x2c8]
call fcn.18000a1d0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x180055b6e
mov dword [rsp + 0x28], 3
mov rcx, qword [rsp + 0x2c0]
call fcn.18000a2d0
nop
mov rcx, qword [rsp + 0x2c8]
call fcn.18000a2d0
mov eax, dword [rsp + 0x28]
jmp 0x180055d5d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyA]
test eax, eax
je 0x180055ba9
mov dword [rsp + 0x2c], 0x10b
mov rcx, qword [rsp + 0x2c0]
call fcn.18000a2d0
nop
mov rcx, qword [rsp + 0x2c8]
call fcn.18000a2d0
mov eax, dword [rsp + 0x2c]
jmp 0x180055d5d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xd8]
call fcn.18000a440
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xb8]
call fcn.18000a440
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.1800137a0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.18000a1d0
lea rdx, [rsp + 0x160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x98]
call fcn.18000a2d0
nop
lea rcx, [rsp + 0xb8]
call fcn.18000a2d0
nop
lea rcx, [rsp + 0xd8]
call fcn.18000a2d0
nop
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x180055d34
lea rdx, [rsp + 0x18c]
lea rcx, [rsp + 0x138]
call fcn.18000a440
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x118]
call fcn.18000a440
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xf8]
call fcn.1800137a0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.18000a1d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0xf8]
call fcn.18000a2d0
nop
lea rcx, [rsp + 0x118]
call fcn.18000a2d0
nop
lea rcx, [rsp + 0x138]
call fcn.18000a2d0
nop
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180055c5d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x2c0]
call fcn.18000a2d0
nop
mov rcx, qword [rsp + 0x2c8]
call fcn.18000a2d0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.180017b10
add rsp, 0x2b8
ret
Function at 0x180055d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x180083080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0x17
mov byte [rsp + 0x30], 0xc
mov byte [rsp + 0x31], 0xce
mov byte [rsp + 0x32], 0x69
mov byte [rsp + 0x33], 0x94
mov byte [rsp + 0x34], 0x37
mov byte [rsp + 0x35], 0xd8
mov byte [rsp + 0x36], 0xbb
mov byte [rsp + 0x37], 0xae
mov byte [rsp + 0x38], 0x34
mov byte [rsp + 0x39], 0xc9
mov byte [rsp + 0x3a], 0x54
mov byte [rsp + 0x3b], 0xa2
mov byte [rsp + 0x3c], 0x2d
mov byte [rsp + 0x3d], 0xdd
mov byte [rsp + 0x3e], 0x82
mov byte [rsp + 0x3f], 0xa2
mov byte [rsp + 0x40], 0x28
mov byte [rsp + 0x41], 0xd4
mov byte [rsp + 0x42], 0x66
mov byte [rsp + 0x43], 0xa0
mov byte [rsp + 0x44], 0x26
mov byte [rsp + 0x45], 0xf8
mov byte [rsp + 0x46], 0xcf
mov eax, 0x1074
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x180055eb1
mov eax, 0x1074
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [0x180511820]
mov rcx, qword gs:[0x58]
mov edx, 0x1074
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x20]
mov dword [rdx + rax], ecx
mov eax, 0x928
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800051e0
lea rcx, [0x180066b00]
call fcn.180017c50
nop
mov eax, 0x928
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180017b10
add rsp, 0x58
ret
Function at 0x180056660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x180083080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], 0x3a
mov byte [rsp + 0x30], 8
mov byte [rsp + 0x31], 0x8c
mov byte [rsp + 0x32], 0x9b
mov byte [rsp + 0x33], 0x7f
mov byte [rsp + 0x34], 0xd0
mov byte [rsp + 0x35], 0xae
mov byte [rsp + 0x36], 0xcd
mov byte [rsp + 0x37], 0x90
mov byte [rsp + 0x38], 7
mov byte [rsp + 0x39], 0xae
mov byte [rsp + 0x3a], 0x94
mov byte [rsp + 0x3b], 0x68
mov byte [rsp + 0x3c], 0xd5
mov byte [rsp + 0x3d], 0xa0
mov byte [rsp + 0x3e], 0xcc
mov byte [rsp + 0x3f], 0x9a
mov byte [rsp + 0x40], 0x3d
mov byte [rsp + 0x41], 0x97
mov byte [rsp + 0x42], 0xa1
mov byte [rsp + 0x43], 0x5c
mov byte [rsp + 0x44], 0xce
mov byte [rsp + 0x45], 0xa1
mov byte [rsp + 0x46], 0xdb
mov byte [rsp + 0x47], 0x9a
mov byte [rsp + 0x48], 0x2c
mov byte [rsp + 0x49], 0x90
mov byte [rsp + 0x4a], 0xa1
mov byte [rsp + 0x4b], 0x48
mov byte [rsp + 0x4c], 0xd2
mov byte [rsp + 0x4d], 0xbd
mov byte [rsp + 0x4e], 0xcd
mov byte [rsp + 0x4f], 0x90
mov byte [rsp + 0x50], 0x35
mov byte [rsp + 0x51], 0x97
mov byte [rsp + 0x52], 0xab
mov byte [rsp + 0x53], 0x6e
mov byte [rsp + 0x54], 0xd5
mov byte [rsp + 0x55], 0xbc
mov byte [rsp + 0x56], 0xd6
mov byte [rsp + 0x57], 0x9a
mov byte [rsp + 0x58], 0x35
mov byte [rsp + 0x59], 0xbf
mov byte [rsp + 0x5a], 0xad
mov byte [rsp + 0x5b], 0x64
mov byte [rsp + 0x5c], 0xcb
mov byte [rsp + 0x5d], 0xa6
mov byte [rsp + 0x5e], 0xdc
mov byte [rsp + 0x5f], 0x9c
mov byte [rsp + 0x60], 0x3e
mov byte [rsp + 0x61], 0x90
mov byte [rsp + 0x62], 0xa1
mov byte [rsp + 0x63], 0x58
mov byte [rsp + 0x64], 0xde
mov byte [rsp + 0x65], 0xbc
mov byte [rsp + 0x66], 0xcb
mov byte [rsp + 0x67], 0x90
mov byte [rsp + 0x68], 0x36
mov byte [rsp + 0x69], 0xe3
mov eax, 0x118c
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x180056843
mov eax, 0x118c
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [0x180511820]
mov rcx, qword gs:[0x58]
mov edx, 0x118c
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x20]
mov dword [rdx + rax], ecx
mov eax, 0x850
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180007dd0
lea rcx, [0x180066ad0]
call fcn.180017c50
nop
mov eax, 0x850
mov eax, eax
mov ecx, dword [0x180511820]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180017b10
add rsp, 0x88
ret
Function at 0x180056880
Capabilities:
Lock the desktop

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.1800564f0
mov rcx, rax
call fcn.180007d50
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x21]
call fcn.180056660
mov rcx, rax
call fcn.180007d70
xor r9d, r9d
mov rcx, qword [rsp + 0x28]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call fcn.180056970
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180056905
call qword [sym.imp.USER32.dll_LockWorkStation]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x18005695a
cmp dword [rsp + 0x40], 0
je 0x18005694e
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x22]
call fcn.1800563d0
mov rcx, rax
call fcn.180007d30
mov rdx, rax
lea rcx, [0x180511450]
call fcn.180013400
lea rdx, [0x180013750]
mov rcx, rax
call fcn.180009f80
nop
mov ecx, 0x3f0
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x30
pop rdi
ret

Function at 0x1800569e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x180056a51
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
nop
jmp 0x180056ab0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180056ab0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x180056ad0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x180056b2e
mov dword [rsp + 0x28], 0x14
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
nop
jmp 0x180056ba4
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x180056ba4
mov dword [rsp + 0x28], 0x14
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x68
ret
Function at 0x180057690
Capabilities:
Open clipboard

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1800576ad
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x180058160
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x58], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1800581bd
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x180058305
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x18006a780]
mov r8d, 1
xor edx, edx
lea rcx, [0x18006a790]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180058200
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x180058305
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea r8, [rsp + 0x48]
lea rdx, [0x18006a760]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180058238
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x180058305
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea r8, [rsp + 0x50]
lea rdx, [0x18006a770]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180058270
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x180058305
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov qword [rsp + 0x60], rcx
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
call qword [rax + 0x68]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1800582b6
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x180058305
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1800582fd
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r8, [rsp + 0x34]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x48]
nop
jmp 0x180058305
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rsp + 0x34]
add rsp, 0x78
ret

Function at 0x180059060
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
add rsp, 0x38
ret
Function at 0x18005ab20
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rsp + 0xc8], 0
je 0x18005ac20
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x30]
call fcn.18000a440
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
call fcn.18000a440
mov qword [rsp + 0x50], rax
mov r8d, 0x8000000
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.18005ae70
nop
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov eax, dword [rsp + 0xc0]
mov edx, eax
mov rcx, qword [rsp + 0xb8]
call fcn.180003540
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0xa8
ret

Function at 0x18005b950
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.18005cd00
mov dword [rsp + 0x70], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.18005cd00
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18005ba27
cmp dword [rsp + 0x100], 0
je 0x18005ba00
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x50]
add rsp, 0xe8
ret
Function at 0x18005ba90
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x180083080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x70]
call fcn.18000a550
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x18005bbb5
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xffffffff
je 0x18005bba9
mov eax, dword [rsp + 0x40]
inc eax
mov eax, eax
mov ecx, eax
call fcn.180017b74
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005bb94
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x58], eax
jne 0x18005bb94
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.18000a2a0
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180017b30
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.18000a380
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x70]
call fcn.18000a2d0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180017b10
add rsp, 0xa8
ret
Function at 0x14001a540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001a7a2
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x1400402e0]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a60a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001a629
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001a740
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a670
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001a673
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015870
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.1400181a0
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001a660
jmp 0x14001a747
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x14001a5c0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x140032320
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x140032354
movsxd rax, ecx
lea rdx, [0x140047210]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14003fde0]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
test rdx, rdx
jne 0x140032383
mov r8d, 0xa
lea rdx, str.Select_Key
jmp 0x14003239a
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140032390
lea rcx, [rsp + 0x38]
call fcn.140037b60
cmp ebx, 1
jne 0x1400323c0
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rsp + 0x38]
call fcn.140037b60
mov dword [rsp + 0x30], 0x42fa0000
mov dword [rsp + 0x34], 0x41c80000
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.140024790
test al, al
je 0x140032411
test ebx, ebx
jne 0x140032411
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140032451
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003244c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003244c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400390c4
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038cb0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400399e0
Capabilities:
Parse pe header

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