joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005a42
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14005ff50
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14005ff92
xor eax, eax
jmp 0x14005ffe0
lea rdx, str.GetNativeSystemInfo
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14005ffb5
xor eax, eax
jmp 0x14005ffe0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x38]
cmp eax, 9
je 0x14005ffd4
movzx eax, word [rsp + 0x38]
cmp eax, 6
jne 0x14005ffdb
mov eax, 0x40
jmp 0x14005ffe0
mov eax, 0x20
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f83f0]
call fcn.14000849f
mov rax, rdi
add rsp, 0x80
pop rdi
ret

Function at 0x140005c4f
Capabilities:
Read file on windows

Disassembly:
jmp 0x14018f9d0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x80], 0x100000
jbe 0x14018fa24
mov dword [rsp + 0x80], 0x100000
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14018fa60
mov byte [rsp + 0x50], 1
jmp 0x14018fa65
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x44]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14024cf40]
call fcn.14000849f
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x60
pop rdi
ret

Function at 0x140005f15
Capabilities:
Clear file content

Disassembly:
jmp 0x14005b700
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x14005b72d
xor al, al
jmp 0x14005b76b
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
cmp qword [rax], 0xffffffffffffffff
jne 0x14005b73f
xor al, al
jmp 0x14005b76b
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14005b75e
mov dword [rsp + 0x20], 1
jmp 0x14005b766
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x1400062c6
Capabilities:
Check os version

Disassembly:
jmp 0x1401352e0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rdi, rsp
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x180]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x180]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0x180]
mov byte [rax], 0
mov dword [rsp + 0x30], 0x114
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x154], eax
cmp dword [rsp + 0x154], 0
je 0x140135408
cmp dword [rsp + 0x34], 6
jb 0x140135408
mov rax, qword [rsp + 0x180]
mov byte [rax], 1
mov rax, qword [rsp + 0x180]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140229b70]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x170
pop rdi
ret

Function at 0x1400062e9
Capabilities:
Get file size

Disassembly:
jmp 0x14018f030
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rsp
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0xffffffffffffffff
jne 0x14018f088
mov r8d, 0x52
lea rdx, [0x14024c900]
lea rcx, [0x14024c990]
call fcn.1400070db
xor eax, eax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0xffffffffffffffff
jne 0x14018f097
xor al, al
jmp 0x14018f0e4
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x14018f0cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14018f0cb
xor al, al
jmp 0x14018f0e4
mov eax, dword [rsp + 0x24]
shl rax, 0x20
mov ecx, dword [rsp + 0x34]
add rax, rcx
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14024cb18]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x50
pop rdi
ret

Function at 0x1400065d2
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400eb1b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140006762
Capabilities:
Delete directory

Disassembly:
jmp 0x14005c910
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x90]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14005c96a
mov al, 1
jmp 0x14005c9cf
lea rcx, [rsp + 0x28]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c9bb
lea rcx, [rsp + 0x28]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14005c9bb
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x60]
jmp 0x14005c9cf
mov byte [rsp + 0x61], 0
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x61]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f69e0]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x80
pop rdi
ret

Function at 0x140006866
Capabilities:
Parse pe header

Disassembly:
jmp 0x140156e90
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140156eb4
xor eax, eax
jmp 0x140156f02
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x140156edc
xor eax, eax
jmp 0x140156f02
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x140156efd
xor eax, eax
jmp 0x140156f02
mov eax, 1
add rsp, 0x28
ret
Function at 0x140006bea
Capabilities:
Copy file

Disassembly:
jmp 0x14005c760
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rdi, rsp
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140004fac
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140004fac
xor r8d, r8d
mov rcx, qword [rsp + 0xc0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14005c7eb
mov al, 1
jmp 0x14005c8ce
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x38]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c819
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x78]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xf8]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c842
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14005c8a9
lea rcx, [rsp + 0x78]
call fcn.140004fac
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x38]
call fcn.140004fac
xor r8d, r8d
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14005c8a9
mov byte [rsp + 0xb0], 1
lea rcx, [rsp + 0x78]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x38]
call fcn.1400073ce
movzx eax, byte [rsp + 0xb0]
jmp 0x14005c8ce
mov byte [rsp + 0xb1], 0
lea rcx, [rsp + 0x78]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x38]
call fcn.1400073ce
movzx eax, byte [rsp + 0xb1]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f68d8]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0xe0
pop rdi
ret

Function at 0x140006cf8
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140078570
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140077e80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400785af
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1402ab010]
jmp 0x1400785be
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x1400073e2
Capabilities:
Get common file path

Disassembly:
jmp 0x14005cde0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6e0
mov rdi, rsp
mov ecx, 0x1b8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6f0]
mov qword [rsp + 0x6d0], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x6d8], rax
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.1400026b7
call fcn.140005100
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000467e
nop
lea rcx, [0x140285a50]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x14005ce8a
lea rdx, [0x140285a50]
mov rcx, qword [rsp + 0x6f0]
call fcn.140003bf2
mov byte [rsp + 0x6b0], 1
lea rcx, [rsp + 0x28]
call fcn.140002595
movzx eax, byte [rsp + 0x6b0]
jmp 0x14005cfec
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x20c
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x264], eax
cmp dword [rsp + 0x264], 0
jbe 0x14005cfd2
cmp dword [rsp + 0x264], 0x104
ja 0x14005cfd2
mov eax, 2
imul rax, rax, 0x105
mov qword [rsp + 0x6b8], rax
cmp qword [rsp + 0x6b8], 0x20c
jae 0x14005cef5
jmp 0x14005cefa
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x6b8]
mov word [rsp + rcx + 0x50], ax
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
mov r8d, 0x208
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [rsp + 0x6a4], eax
cmp dword [rsp + 0x6a4], 0x208
ja 0x14005cf54
cmp dword [rsp + 0x6a4], 0
jne 0x14005cf68
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x6f0]
call fcn.140005731
jmp 0x14005cfb6
mov eax, dword [rsp + 0x6a4]
shl rax, 1
mov qword [rsp + 0x6c0], rax
cmp qword [rsp + 0x6c0], 0x412
jae 0x14005cf8a
jmp 0x14005cf8f
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x6c0]
mov word [rsp + rcx + 0x280], ax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x6f0]
call fcn.140005731
mov byte [rsp + 0x6c8], 1
lea rcx, [rsp + 0x28]
call fcn.140002595
movzx eax, byte [rsp + 0x6c8]
jmp 0x14005cfec
mov byte [rsp + 0x6c9], 0
lea rcx, [rsp + 0x28]
call fcn.140002595
movzx eax, byte [rsp + 0x6c9]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f6b48]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x6d8]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x6e0
pop rdi
ret
Function at 0x1400076e9
Capabilities:
Parse pe header

Disassembly:
jmp 0x14006a790
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14006a7b0
xor al, al
jmp 0x14006a831
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14006a7c3
xor al, al
jmp 0x14006a831
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14006a7ed
xor al, al
jmp 0x14006a831
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14006a801
xor al, al
jmp 0x14006a831
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14006a813
xor al, al
jmp 0x14006a831
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14006a82f
xor al, al
jmp 0x14006a831
mov al, 1
add rsp, 0x38
ret
Function at 0x1400076f3
Capabilities:
Delete file

Disassembly:
jmp 0x14005cb40
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov rdi, rsp
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14005cba8
mov al, 1
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001faa
nop
lea rcx, [rsp + 0x28]
call fcn.1400029c3
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400073ce
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14005cbe9
xor al, al
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001faa
nop
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140002266
movzx eax, al
test eax, eax
jne 0x14005cc24
mov dword [rsp + 0xf8], 1
jmp 0x14005cc2f
mov dword [rsp + 0xf8], 0
movzx eax, byte [rsp + 0xf8]
mov byte [rsp + 0xe8], al
lea rcx, [rsp + 0x50]
call fcn.1400073ce
movzx eax, byte [rsp + 0xe8]
test eax, eax
je 0x14005cc5b
xor al, al
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14005cc81
mov al, 1
jmp 0x14005cd42
lea rcx, [rsp + 0x88]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x120]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005cce4
lea rcx, [rsp + 0x88]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14005cce4
mov byte [rsp + 0xe9], 1
lea rcx, [rsp + 0x88]
call fcn.1400073ce
movzx eax, byte [rsp + 0xe9]
jmp 0x14005cd42
mov rcx, qword [rsp + 0x120]
call fcn.140004fac
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140001faa
nop
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0xb8]
call fcn.140002266
nop
lea rcx, [rsp + 0xb8]
call fcn.1400073ce
mov byte [rsp + 0xea], 0
lea rcx, [rsp + 0x88]
call fcn.1400073ce
movzx eax, byte [rsp + 0xea]
jmp 0x14005cd42
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f6b00]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x110
pop rdi
ret
Function at 0x140007cf2
Capabilities:
Query environment variable

Disassembly:
jmp 0x14011f0d0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x480
mov rdi, rsp
mov ecx, 0x120
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x490]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov byte [rsp + 0x24], 0
mov rcx, qword [rsp + 0x498]
call fcn.14000485e
mov rdx, qword [rsp + 0x498]
mov ecx, dword [rsp + 0x490]
call fcn.14000702c
mov byte [rsp + 0x24], al
jmp 0x14011f13a
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14011f1ae
cmp dword [rsp + 0x490], 0x1a
jne 0x14011f1ae
mov rcx, qword [rsp + 0x498]
call fcn.14000485e
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov r8d, 0x207
lea rdx, [rsp + 0x50]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x498]
call fcn.140005731
mov rcx, qword [rsp + 0x498]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x14011f1ae
mov byte [rsp + 0x24], 1
movzx eax, byte [rsp + 0x24]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140221c50]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x480
pop rdi
ret
Function at 0x140007db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140115070
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1401150bb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x1401150e7
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20
jae 0x1401150d6
jmp 0x1401150db
call fcn.140005038
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x40], 0
jmp 0x1401150b1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
test eax, eax
je 0x14011513c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
movzx eax, byte [rsp + rax + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1401150e7
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
je 0x14011518a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x14011517b
mov rax, qword [rsp + 0x28]
jmp 0x14011518c
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14011513c
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x78
ret

Function at 0x140007dba
Capabilities:
Terminate process

Disassembly:
jmp 0x140089a10
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140089a3d
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140008094
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140007ee1
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401900f0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
mov rdi, rsp
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [rsp + 0x160], 0x100000
jbe 0x140190159
mov dword [rsp + 0x160], 0x100000
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401901a1
mov dword [rsp + 0x108], 0
jmp 0x1401901ac
mov dword [rsp + 0x108], 0x80004005
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x150]
cmp qword [rax + 0x30], 0
je 0x140190360
lea rcx, [rsp + 0x54]
call fcn.1400029aa
movzx eax, al
test eax, eax
jne 0x140190360
mov eax, dword [rsp + 0x160]
cmp dword [rsp + 0x34], eax
jae 0x140190360
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x78], 0
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x150]
call fcn.1400062e9
movzx eax, al
test eax, eax
jne 0x140190225
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x150]
call fcn.140001e38
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400044f3
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x110]
mov r9, rdx
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rax + 0x30]
mov dword [rsp + 0x94], eax
lea rcx, [rsp + 0x94]
call fcn.1400029aa
movzx eax, al
test eax, eax
jne 0x1401902d7
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x54], eax
jmp 0x140190360
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb4]
mov r8d, dword [rsp + 0x160]
mov rdx, rax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140190332
mov dword [rsp + 0x128], 0
jmp 0x14019033d
mov dword [rsp + 0x128], 0x80004005
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0xb4]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1401901ca
mov rax, qword [rsp + 0x168]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
mov eax, dword [rsp + 0x54]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14024d660]
call fcn.14000849f
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x140
pop rdi
ret
Function at 0x140007f8b
Capabilities:
Create directory

Disassembly:
jmp 0x14005ca00
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x90]
call fcn.140004fac
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14005ca5c
mov al, 1
jmp 0x14005cac3
lea rcx, [rsp + 0x28]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005caaf
lea rcx, [rsp + 0x28]
call fcn.140004fac
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14005caaf
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x60]
jmp 0x14005cac3
mov byte [rsp + 0x61], 0
lea rcx, [rsp + 0x28]
call fcn.1400073ce
movzx eax, byte [rsp + 0x61]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f6a70]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x80
pop rdi
ret

Function at 0x14000815c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140078510
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140077e40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140078545
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1402ab010]
jmp 0x14007854f
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret

Function at 0x14000830f
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400fa0c0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1400f9260
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400fa0fb
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1400fa101
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret