joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ff20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402ccf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.004093a0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045dde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402ca0
cmp byte [0x00616994], 0
je 0x45ff35
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45cf00
jmp 0x402ca0

Function at 0x45ff40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00616c60]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00616994], 0
je 0x45ff75
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00616ee0]
aesenc xmm0, xmmword [0x00616ef0]
aesenc xmm0, xmmword [0x00616f00]
movq rax, xmm0
ret
jmp 0x4095a0

Function at 0x45ff80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00616c60]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00616994], 0
je 0x45ffb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00616ee0]
aesenc xmm0, xmmword [0x00616ef0]
aesenc xmm0, xmmword [0x00616f00]
movq rax, xmm0
ret
jmp 0x409600

Function at 0x461900
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00616e60]
mov qword [rsp + 8], rdx
lea r8d, [0x006169ac]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045fe80
add rsp, 0x30
ret

Function at 0x4627e0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
call fcn.0045c8e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x462880
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
call fcn.0045ca20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret

Function at 0x462940
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0xa0], rbp
lea rbp, [rsp + 0xa0]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
call fcn.0045cb60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
Function at 0x1800014d0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x268
mov rax, qword [0x180021e40]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x180001520
lea rcx, [rsp + 0x40]
call fcn.180001540
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180007a70
add rsp, 0x268
ret

Function at 0x180001540
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov rax, qword [0x180021e40]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea rcx, section..data
call fcn.180007160
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0x4d0]
mov r8, qword [rsp + 0x28]
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
call fcn.180001a40
mov rcx, qword [rsp + 0x28]
call fcn.180007260
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x18000167b
lea rcx, [0x180021018]
call fcn.180007160
mov qword [rsp + 0x38], rax
lea rcx, [0x180021028]
call fcn.180007160
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
and eax, 0x10
test eax, eax
je 0x18000163e
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x7c]
call fcn.18000b380
test eax, eax
je 0x18000163c
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x7c]
call fcn.18000b380
test eax, eax
je 0x18000163c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x180001648
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180001601
mov rcx, qword [rsp + 0x30]
call fcn.180007260
mov rcx, qword [rsp + 0x38]
call fcn.180007260
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.180007a70
add rsp, 0x4c8
ret
Function at 0x1800016a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub rsp, 0x298
mov rax, qword [0x180021e40]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0
lea rcx, [0x180021040]
call fcn.180007160
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x108
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180001801
lea rcx, [0x1800210b0]
call fcn.180007160
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0
jmp 0x180001736
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800017ec
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800017e7
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800017dc
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000172c
mov rcx, qword [rsp + 0x50]
call fcn.180007260
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call fcn.180007260
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180007a70
add rsp, 0x298
ret

Function at 0x180001830
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
lea rcx, [0x1800210d0]
call fcn.180007160
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x28]
call fcn.180007260
lea rcx, [0x1800210f8]
call fcn.180007060
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
call fcn.180007260
cmp qword [rsp + 0x38], 0
je 0x1800018c7
lea rcx, [rsp + 0x48]
call qword [rsp + gethostname]
mov dword [rsp + 0x24], 0
jmp 0x1800018da
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x180001e60
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180001efe
cmp dword [rsp + 0x24], 1
jle 0x180001efe
lea rcx, [0x180021268]
call fcn.180007160
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 1
jmp 0x180001ec2
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x180001ef4
movsxd rax, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + rax*8]
call fcn.18000b380
test eax, eax
jne 0x180001ef2
mov dword [rsp + 0x28], 1
jmp 0x180001ef4
jmp 0x180001eb8
mov rcx, qword [rsp + 0x30]
call fcn.180007260
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x180001f10
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, dword [rsp + 0x30]
not eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0xc], 0
je 0x180001faa
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov dword [rsp + 4], 0
jmp 0x180001f77
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 8
jae 0x180001fa8
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x180001f92
mov dword [rsp + 8], 0xedb88320
jmp 0x180001f9a
mov dword [rsp + 8], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 8]
mov dword [rsp], eax
jmp 0x180001f6d
jmp 0x180001f2b
mov eax, dword [rsp]
not eax
add rsp, 0x18
ret

Function at 0x180001ff0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x180002013
jmp 0x180002053
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x1800020c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180002053
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x48
ret
Function at 0x180002ff0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x180021e40]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x290]
call fcn.180005b80
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.18000b400
cmp rax, 2
jb 0x180003236
lea rcx, [0x180021550]
call fcn.180007160
mov qword [rsp + 0x40], rax
mov r8d, 2
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.18000b41c
test eax, eax
jne 0x18000322c
mov rax, qword [rsp + 0x38]
add rax, 4
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.180005b80
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.18000b400
test rax, rax
jbe 0x18000322c
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x208
jae 0x1800030c6
jmp 0x1800030cb
call fcn.180007b9c
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0x60], ax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0x22
jne 0x180003154
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x180003110
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x18000314f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x22
je 0x18000314f
movsxd rax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx + rax*2]
mov word [rsp + rcx*2 + 0x60], ax
jmp 0x180003106
jmp 0x1800031e3
mov dword [rsp + 0x20], 0
jmp 0x180003168
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x1800031e3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0xd
je 0x1800031e3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0xa
je 0x1800031e3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 9
je 0x1800031e3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x20
je 0x1800031e3
movsxd rax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx + rax*2]
mov word [rsp + rcx*2 + 0x60], ax
jmp 0x18000315e
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x208
jae 0x1800031fd
jmp 0x180003202
call fcn.180007b9c
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x60], ax
lea rcx, [rsp + 0x60]
call fcn.18000b400
test rax, rax
jbe 0x18000322c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call fcn.180007260
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180007a70
add rsp, 0x288
ret
Function at 0x1800034f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x80]
call fcn.180005a50
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180003655
mov rcx, qword [rsp + 0x60]
call fcn.180002890
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18000364b
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0x80000000
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x180003641
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x40000000
ja 0x180003636
mov eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.180005d60
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180003636
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000362c
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jne 0x18000362c
cmp qword [rsp + 0x88], 0
je 0x180003620
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
jmp 0x180003636
mov rcx, qword [rsp + 0x50]
call fcn.180005d90
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call fcn.180005d90
mov rcx, qword [rsp + 0x60]
call fcn.180005d90
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1800040f0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x70]
call fcn.180005a50
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1800041ee
mov rcx, qword [rsp + 0x58]
call fcn.180002890
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800041e4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x1800041da
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800041cf
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x44], eax
jne 0x1800041cf
mov dword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call fcn.180005d90
mov rcx, qword [rsp + 0x58]
call fcn.180005d90
mov eax, dword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x180004b70
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, [0x1800218a0]
call fcn.180007160
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, qword [rsp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180004c27
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180004c1c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0x89
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 0
jmp 0x180004bef
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x180004c06
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004be5
cmp dword [rsp + 0x20], 0
je 0x180004c1c
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.180005650
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
call fcn.180007260
add rsp, 0x48
ret
Function at 0x180006260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0
jmp 0x180006290
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
jae 0x18000636b
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
inc al
mov rcx, qword [rsp + 0x40]
mov byte [rcx], al
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 2]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 1]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov byte [rcx + 1], al
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 1]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 2]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx]
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx + rcx + 2]
mov rdx, rax
call fcn.180006470
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 2]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 1]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx + 2]
add eax, ecx
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx + 2]
xor eax, ecx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x180006283
add rsp, 0x38
ret
Function at 0x180007790
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
cmp dword [0x180022908], 0
je 0x1800077ea
jmp 0x1800079d3
cmp qword [0x180022910], 0
jne 0x180007821
lea rcx, [0x180021d50]
call fcn.180007160
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180022910], rax
mov rcx, qword [rsp + 0x20]
call fcn.180007260
cmp qword [0x180022918], 0
jne 0x18000785f
lea rcx, [0x180021d78]
call fcn.180007060
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [0x180022910]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180022918], rax
mov rcx, qword [rsp + 0x28]
call fcn.180007260
cmp qword [0x180022920], 0
jne 0x180007896
lea rcx, [0x180021d90]
call fcn.180007160
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180022920], rax
mov rcx, qword [rsp + 0x30]
call fcn.180007260
cmp qword [0x180022928], 0
jne 0x1800078d4
lea rcx, [0x180021db0]
call fcn.180007060
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [0x180022920]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180022928], rax
mov rcx, qword [rsp + 0x38]
call fcn.180007260
cmp qword [0x180022930], 0
jne 0x180007912
lea rcx, [0x180021dc8]
call fcn.180007060
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x180022920]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180022930], rax
mov rcx, qword [rsp + 0x40]
call fcn.180007260
cmp qword [0x180022938], 0
jne 0x180007950
lea rcx, [0x180021de8]
call fcn.180007060
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x180022920]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180022938], rax
mov rcx, qword [rsp + 0x48]
call fcn.180007260
cmp qword [0x180022940], 0
jne 0x180007987
lea rcx, [0x180021e00]
call fcn.180007160
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180022940], rax
mov rcx, qword [rsp + 0x50]
call fcn.180007260
cmp qword [0x180022948], 0
jne 0x1800079c5
lea rcx, [0x180021e20]
call fcn.180007060
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x180022940]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180022948], rax
mov rcx, qword [rsp + 0x58]
call fcn.180007260
mov eax, dword [0x180022908]
inc eax
mov dword [0x180022908], eax
add rsp, 0x68
ret