joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400023fe
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x6a3b7bb1
call fcn.140001eae
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002950
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400085d0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400085d0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400029c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000f074]
mov rbx, rcx
test esi, esi
jle 0x140002af0
mov rax, qword [0x14000f078]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002a0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002a95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400029f0
mov rcx, rbx
call fcn.140003410
mov rdi, rax
test rax, rax
je 0x140002b12
mov rax, qword [0x14000f078]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003550
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000f078]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002af7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002a8e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002aa0
add dword [0x14000f074], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000f078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002a8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002950
nop dword [rax]
xor esi, esi
jmp 0x140002a18
mov rax, qword [0x14000f078]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002950
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002950
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140003080
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000f0e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000f0c0]
test rbx, rbx
je 0x1400030dc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400030d3
test rsi, rsi
je 0x1400030d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400030b8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140003410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003430
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003438
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003430
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000348d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003484
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003430
add rax, 0x28
cmp rax, r9
jne 0x140003470
xor eax, eax
ret

Function at 0x140003490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a760]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400034af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400034b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400034af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003550
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a760]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000356f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003578
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002fb0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002ffa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002ffa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002ffa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002ffa
cmp dword [rcx + 0x84], 0xe
jbe 0x140002ffa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002ffc
xor al, al
add rsp, 0x28
ret
Function at 0x180001500
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.180015f90
sub rsp, rax
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor edi, edi
mov rbx, rcx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], edi
cmp dword [rcx + 0x10], edi
je 0x180001684
mov dword [rcx + 0x10], edi
cmp dword [rcx + 0xc], edi
jne 0x180001684
movzx eax, word [rcx + 0x814]
lea r9, [rsp + 0x30]
add ax, 0x18
mov word [rsp + 0x3e], dx
mov word [rsp + 0x48], ax
lea r8d, [rdi + 0x10]
mov eax, dword [rcx + 8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx]
mov dword [rsp + 0x40], 0x3000005
mov dword [rsp + 0x44], 0x10
mov word [rsp + 0x4a], di
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x38], edi
mov word [rsp + 0x3c], di
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180001684
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
lea r8d, [rdi + 8]
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180001684
mov r8d, dword [rbx + 0x814]
lea rdx, [rbx + 0x14]
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180001684
inc dword [rbx + 8]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x1000
call fcn.180004790
mov rcx, qword [rbx]
lea r9, [rsp + 0x34]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180001684
cmp word [rsp + 0x50], 5
jne 0x180001684
cmp byte [rsp + 0x52], 2
jne 0x180001684
cmp byte [rsp + 0x53], 3
jne 0x180001684
movzx edi, word [rsp + 0x58]
cmp edi, dword [rsp + 0x34]
jne 0x180001684
cmp word [rsp + 0x64], 0
jne 0x180001684
add edi, 0xffffffe8
cmp edi, 0x800
ja 0x180001684
mov r8d, edi
lea rcx, [rbx + 0x818]
lea rdx, [rsp + 0x68]
call fcn.180004bf0
xor eax, eax
mov dword [rbx + 0x1018], edi
jmp 0x180001689
mov eax, 1
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.180003340
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800020e0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
lea rcx, [0x18001f648]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, 2
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1800021e6
xor edx, edx
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x38]
lea r9, [0x18001fe90]
mov qword [rsp + 0x20], rax
lea rcx, [0x18001fe80]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x1800021d9
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
jns 0x180002180
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x1800021d9
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ebx, eax
test eax, eax
js 0x1800021a9
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800021b9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800021c9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1800021d9
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180003340
add rsp, 0x50
pop rdi
ret

Function at 0x180002200
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edx, 2
mov qword [rsp + 0x30], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x180002289
xor edx, edx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x30]
lea r9, [0x18001fe90]
mov qword [rsp + 0x20], rax
lea rcx, [0x18001fe80]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x18000227c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0xb0]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test rcx, rcx
je 0x18000227c
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180003340
add rsp, 0x48
ret
Function at 0x1800022a0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edx, 2
mov qword [rsp + 0x30], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x18000235e
xor edx, edx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x30]
lea r9, [0x18001fe90]
mov qword [rsp + 0x20], rax
lea rcx, [0x18001fe80]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x180002351
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0xc0]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 2]
call qword [rax + 0xc0]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0xc0]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test rcx, rcx
je 0x180002351
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180003340
add rsp, 0x48
ret
Function at 0x180002b40
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rcx, str.Global_Block_Rule
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, 2
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
js 0x180002bdb
xor edx, edx
lea rax, [rsp + 0x38]
lea r9, [0x18001fe90]
mov qword [rsp + 0x20], rax
lea rcx, [0x18001fe80]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x180002bdb
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x180002bdb
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test rdi, rdi
je 0x180002be9
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180002bf9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180002c09
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180003340
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x180002c30
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180002cb2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.EnableLUA
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x180002cc9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180003340
add rsp, 0x58
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180003340
add rsp, 0x58
ret
Function at 0x18000d05c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000d07c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180009148
or eax, 0xffffffff
jmp 0x18000d07e
xor eax, eax
add rsp, 0x28
ret
Function at 0x180001540
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x268
mov rax, qword [0x180026250]
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 0x180001590
lea rcx, [rsp + 0x40]
call fcn.1800015b0
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180009540
add rsp, 0x268
ret

Function at 0x180001830
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub rsp, 0x298
mov rax, qword [0x180026250]
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, [0x1800240f0]
call fcn.180007d50
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 0x180001991
lea rcx, [0x180024160]
call fcn.180007d50
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0
jmp 0x1800018c6
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 0x18000197c
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 0x180001977
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 0x18000196c
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 0x1800018bc
mov rcx, qword [rsp + 0x50]
call fcn.180007e50
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call fcn.180007e50
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180009540
add rsp, 0x298
ret
Function at 0x1800019c0
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, [0x180024188]
call fcn.180007d50
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.180007e50
lea rcx, [0x1800241b0]
call fcn.180007c50
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.180007e50
cmp qword [rsp + 0x38], 0
je 0x180001a57
lea rcx, [rsp + 0x48]
call qword [rsp + gethostname]
mov dword [rsp + 0x24], 0
jmp 0x180001a6a
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 0x180001d20
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 0x180001dba
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 0x180001d87
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 8
jae 0x180001db8
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x180001da2
mov dword [rsp + 8], 0xedb88320
jmp 0x180001daa
mov dword [rsp + 8], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 8]
mov dword [rsp], eax
jmp 0x180001d7d
jmp 0x180001d3b
mov eax, dword [rsp]
not eax
add rsp, 0x18
ret

Function at 0x180001e00
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 0x180001e23
jmp 0x180001e63
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x180001ed0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180001e63
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x48
ret
Function at 0x180002e00
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x180026250]
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.180006770
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.18000ced0
cmp rax, 2
jb 0x180003046
lea rcx, [0x180025a20]
call fcn.180007d50
mov qword [rsp + 0x40], rax
mov r8d, 2
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.18000cf5c
test eax, eax
jne 0x18000303c
mov rax, qword [rsp + 0x38]
add rax, 4
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.180006770
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.18000ced0
test rax, rax
jbe 0x18000303c
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x208
jae 0x180002ed6
jmp 0x180002edb
call fcn.18000966c
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 0x180002f64
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x180002f20
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 0x180002f5f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x22
je 0x180002f5f
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 0x180002f16
jmp 0x180002ff3
mov dword [rsp + 0x20], 0
jmp 0x180002f78
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 0x180002ff3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0xd
je 0x180002ff3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0xa
je 0x180002ff3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 9
je 0x180002ff3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x20
je 0x180002ff3
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 0x180002f6e
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x208
jae 0x18000300d
jmp 0x180003012
call fcn.18000966c
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x60], ax
lea rcx, [rsp + 0x60]
call fcn.18000ced0
test rax, rax
jbe 0x18000303c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call fcn.180007e50
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180009540
add rsp, 0x288
ret
Function at 0x180003300
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.180006640
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180003465
mov rcx, qword [rsp + 0x60]
call fcn.1800026a0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18000345b
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 0x180003451
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 0x180003446
mov eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.180006950
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180003446
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 0x18000343c
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jne 0x18000343c
cmp qword [rsp + 0x88], 0
je 0x180003430
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 0x180003446
mov rcx, qword [rsp + 0x50]
call fcn.180006980
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call fcn.180006980
mov rcx, qword [rsp + 0x60]
call fcn.180006980
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret