joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
loope 0x14003f6e2
invalid
rcl byte [rax], 0x83
movsb byte [rdi], byte [rsi]
jmp 0x14003f69e
js 0x14003f63c
jns 0x14003f67c
in al, dx
outsd dx, dword [rsi]
invalid
sub al, 0x2a
add edx, dword [rbp - 0x7d8b42fd]
invalid
fidivr dword [rax + 0x42]
hlt
movsd dword [rdi], dword [rsi]
js case.0x140007272.8
imul edx, edi, 0xffffff84
lea rbx, [r10 + 0x53]
lea ebx, [rdx + 0x53]
sahf
pop rbp
stc
pop rsp
in eax, 7
in eax, 7
in eax, 7
adc dword [rdi + 0x2ec238bc], eax
fldpi
pop rbp
fdivr dword [rdx]
invalid
mov ecx, 0x6253f15f
push rbx
invalid
cmp byte [rbx], dh
and eax, 0x2d38b00c
invalid
invalid
test byte [rbx + 0x7c9713d1], ah
loope 0x14003f76a
invalid
invalid
Function at 0x14096c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14096c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14096c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14096c06f
add dl, dl
jne 0x14096c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14096c0f6
xor eax, eax
add dl, dl
jne 0x14096c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14096c1ad
add dl, dl
jne 0x14096c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14096c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14096c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14096c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14096c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14096c07e
mov eax, 1
add dl, dl
jne 0x14096c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14096c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14096c0fb
sub eax, ebx
mov ebx, 1
jne 0x14096c14c
mov ecx, 1
add dl, dl
jne 0x14096c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14096c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14096c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14096c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14096c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14096c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14096c15d
cmp eax, 0x7d00
jae 0x14096c19b
cmp eax, 0x500
jb 0x14096c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14096c07e
cmp eax, 0x7f
ja 0x14096c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14096c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14096c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14096c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10001060
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
xor ebx, ebx
mov rbp, rcx
lea rsi, [rsp + 0x58]
cmp byte [rdx], bl
je 0x100010d6
lea rdi, [rdx + 1]
test ebx, ebx
jne 0x1000109c
mov rcx, qword [rsi]
call sub.ntdll.dll_strlen
add rsi, 8
mov rbx, rax
cmp byte [rdi - 1], 0x25
jne 0x100010cc
mov al, byte [rdi]
cmp al, 0x64
je 0x100010c5
cmp al, 0x78
je 0x100010c5
cmp al, 0x73
jne 0x100010bc
mov rcx, qword [rsi]
call sub.ntdll.dll_strlen
add ebx, eax
jmp 0x100010c8
cmp al, 0x63
jne 0x100010c8
add ebx, 1
jmp 0x100010c8
add ebx, 0xc
add rsi, 8
add rdi, 1
cmp byte [rdi - 1], 0
jne 0x10001089
xor ecx, ecx
lea eax, [rbx + 1]
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rbx, rax
je 0x10001111
mov rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.ntdll.dll_vsprintf]
test rbp, rbp
je 0x10001111
mov dword [rbp], eax
mov rax, rbx
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x10001120
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov edi, edx
xor ecx, ecx
lea edx, [rdi + r8]
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rbx, rax
je 0x10001159
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.ntdll.dll_memcpy
mov rax, rbx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
call sub.ntdll.dll_strlen
xor r8d, r8d
lea edx, [rax + 1]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x10001120

Function at 0x10001188
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov ebp, edx
xor ebx, ebx
lea rdx, [rsp + 0x20]
lea r8d, [rbx + 0x30]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x10001202
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x10001202
lea r9d, [rbx + 0x40]
mov rdx, rbp
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rbx, rax
je 0x10001202
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov r11d, edi
mov rdx, rsi
cmp r11, qword [rsp + 0x38]
mov rcx, rbx
cmova edi, dword [rsp + 0x38]
mov r8d, edi
call sub.ntdll.dll_memcpy
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10001220
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov r8d, edx
mov ebx, ecx
rdtsc
shl rdx, 0x20
or rax, rdx
cmp ecx, r8d
mov rdi, rax
je 0x10001247
sub r8d, ecx
xor edx, edx
div r8d
add ebx, edx
xor ecx, ecx
lea edx, [rbx + 1]
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov r11, rax
je 0x100012cc
test ebx, ebx
je 0x100012c5
mov r9, rax
mov r10d, ebx
test dil, 1
je 0x10001293
mov eax, 0xcccccccd
mul edi
shr edx, 3
mov al, dl
shl al, 2
add dl, al
mov al, dil
add dl, dl
sub al, dl
add al, 0x30
mov byte [r9], al
jmp 0x100012b9
mov eax, 0x4ec4ec4f
mov r8b, dil
and r8b, 2
mul edi
shl r8b, 4
shr edx, 3
or r8b, 0x41
mov al, 0x1a
imul dl
sub r8b, al
add r8b, dil
mov byte [r9], r8b
rol edi, 1
add r9, 1
sub r10, 1
jne 0x1000126e
mov eax, ebx
mov byte [rax + r11], 0
mov rax, r11
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x100012d8
Capabilities:
Enumerate processes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x150
xor edx, edx
mov rsi, rcx
mov ebx, 0xffffffff
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
test rax, rax
mov rdi, rax
je 0x10001352
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32First
jmp 0x10001345
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10001338
mov ebx, dword [rsp + 0x28]
cmp ebx, 0xffffffff
jne 0x10001349
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10001314
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x150
pop rdi
pop rsi
pop rbx
ret
Function at 0x10001474
Capabilities:
Allocate or change rwx memory
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
xor edi, edi
mov dword [rsp + 0x70], edi
call fcn.100013e4
cmp rax, rdi
mov rsi, rax
je 0x100015ae
lea rax, [rsp + 0x70]
lea edx, [rdi + 1]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edx, dword [rsp + 0x70]
lea r9d, [rdi + 0x40]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp rax, rdi
mov rbp, rax
je 0x100015a5
mov r8d, dword [rsp + 0x70]
xor edx, edx
mov rcx, rax
call sub.ntdll.dll_memset
mov r9d, dword [rsp + 0x70]
lea r11, [rsp + 0x70]
lea edx, [rdi + 1]
mov r8, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp eax, edi
je 0x10001594
mov rbx, qword [rbp]
lea eax, [rdi + 4]
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x80], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
lea r8, str.InstallDate
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [rbx + 0x14]
mov r11d, dword [rsp + 0x78]
mov r9d, dword [rbx + 0xc]
lea r8, str.d_X_X_X_X
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x10]
lea rcx, [0x10003070]
mov edx, 0x103
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll__snprintf]
mov edi, 1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x100015bc
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rsi, rcx
lea rcx, str.explorer.exe
xor ebx, ebx
mov qword [rsp + 0x68], rbx
call fcn.100012d8
xor edx, edx
mov r8d, eax
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp rax, rbx
mov rdi, rax
je 0x10001786
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ntdll.dll_ZwOpenProcessToken]
mov rcx, qword [rsp + 0x60]
lea r11, [rsp + 0x130]
lea r9d, [rbx + 4]
lea r8, [rsp + 0x128]
lea edx, [rbx + 0xc]
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp eax, ebx
jl 0x10001772
lea r8, [rsp + 0x70]
lea rcx, [rbx - 1]
mov edx, 0xf01ff
call qword [sym.imp.ntdll.dll_ZwOpenProcessToken]
mov rcx, qword [rsp + 0x70]
lea r11, [rsp + 0x138]
mov qword [rsp + 0x28], r11
lea r8, section..data
xor r9d, r9d
mov edx, 0xf01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntdll.dll_ZwDuplicateToken]
mov rcx, qword [rsp + 0x138]
lea r9d, [rbx + 4]
lea r8, [rsp + 0x128]
lea edx, [rbx + 0xc]
call qword [sym.imp.ntdll.dll_ZwSetInformationToken]
lea r8d, [rbx + 0x60]
lea rcx, [rsp + 0x98]
xor edx, edx
mov dword [rsp + 0x90], 0x68
call sub.ntdll.dll_memset
mov rdx, qword [rsp + 0x138]
lea r11, str.winsta0default
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0xa0], r11
call sub.USERENV.dll_CreateEnvironmentBlock
cmp eax, ebx
je 0x10001759
mov rcx, qword [rsp + 0x138]
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x90]
mov r8, rsi
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp eax, ebx
je 0x10001753
mov rcx, qword [rsp + 0x80]
mov ebx, 1
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x10001759
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_ZwClose]
mov eax, ebx
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x10001794
Capabilities:
Allocate or change rwx memory
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rbp, rcx
xor ecx, ecx
mov edx, 0x104
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rdi, rax
je 0x10001838
mov edx, 0xa
lea ecx, [rdx - 5]
call fcn.10001220
test rax, rax
mov rsi, rax
je 0x10001825
mov ebx, 0x103
mov rdx, rdi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r8, [0x1000226d]
test rbp, rbp
cmovne r8, rbp
sub ebx, eax
movsxd rcx, eax
mov qword [rsp + 0x20], r8
lea r8, str._s_s
movsxd rdx, ebx
add rcx, rdi
mov r9, rsi
call qword [sym.imp.ntdll.dll__snprintf]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10001838
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x10001844
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call fcn.10001474
movsxd r11, dword [rsi + 0x3c]
mov eax, dword [r11 + rsi + 8]
xor ebx, ebx
mov dword [0x1000329c], eax
movsx eax, byte [rsi + 0x24]
mov dword [0x10003294], eax
movsx eax, byte [rsi + 0x25]
mov dword [0x10003298], eax
cmp byte [rsi + 0x26], bl
je 0x100018ac
lea rdi, [0x10003190]
lea rdx, [rsi + 0x27]
lea r8d, [rbx + 0x17]
mov rcx, rdi
call sub.ntdll.dll_memcpy
mov cl, bl
add ebx, 1
add cl, byte [rsi + 0x26]
xor byte [rdi], cl
add rdi, 1
cmp ebx, 0x15
jl 0x10001895
mov al, 1
jmp 0x100018ae
xor al, al
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x100018b8
Capabilities:
Check mutex on windows
Create thread
Delete file
Move file

Disassembly:
push rbx
sub rsp, 0x140
cmp edx, 1
mov rbx, rcx
jne 0x1000194d
lea rdx, [rsp + 0x30]
mov r8d, 0x103
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rbx
call fcn.10001844
test al, al
jne 0x100018ee
xor eax, eax
jmp 0x10001952
lea r8, [0x10003070]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100018ea
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrAddRefDll]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
lea r8, [0x10001cd0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x140
pop rbx
ret
Function at 0x10001988
Capabilities:
Allocate or change rwx memory
Read data from internet
Receive data

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
mov esi, 0x1000
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
mov r8d, 0x3000
xor ecx, ecx
lea r9d, [rbx + 0x40]
mov rdx, rsi
mov dword [rsp + 0x58], esi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov qword [rdi], rax
je 0x10001a03
mov r8d, esi
mov edx, ebx
lea r9, [rsp + 0x58]
add rdx, qword [rdi]
sub r8d, ebx
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10001a03
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x10001a03
add ebx, eax
cmp ebx, esi
jne 0x100019fd
mov rcx, qword [rdi]
add esi, 0x1000
mov edx, esi
call fcn.10001188
mov qword [rdi], rax
cmp qword [rdi], 0
jne 0x100019bf
cmp qword [rdi], 0
mov eax, 0xffffffff
cmovne eax, ebx
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x10001a18
Capabilities:
Connect to http server
Create http request
Parse url

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2d0
mov rbx, rdx
xor edx, edx
mov rdi, r8
mov rsi, rcx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x68]
call sub.ntdll.dll_memset
lea rcx, [0x1000226d]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
mov qword [rbx], rax
je 0x10001b44
mov ecx, 0x104
lea rax, [rsp + 0xb0]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x1c0]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x90], ecx
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x40], 0x68
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
movzx r8d, word [rsp + 0x64]
mov rcx, qword [rbx]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0xb0]
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetConnectA]
test rax, rax
mov qword [rbx + 8], rax
je 0x10001b3c
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x84000100
lea r8, [rsp + 0x1c0]
xor r9d, r9d
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
test rax, rax
mov qword [rbx + 0x10], rax
je 0x10001b3c
mov eax, 1
jmp 0x10001b46
mov rcx, rbx
call fcn.1000195c
xor eax, eax
add rsp, 0x2d0
pop rdi
pop rsi
pop rbx
ret
Function at 0x10001ddc
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x58
xor ebx, ebx
mov esi, r9d
mov r9, qword [rsp + 0xb0]
mov ebp, r8d
mov r12, rdx
mov qword [rsp + 0x30], rbx
lea r13d, [rbx + 1]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov r8d, r13d
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x10001e6a
neg esi
mov rcx, rax
sbb r9d, r9d
xor r8d, r8d
xor edx, edx
not r9d
and r9d, 2
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, r12
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
cmp eax, ebx
cmovne ebx, r13d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400035e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000363d
lea rbx, [0x140054090]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003624
cmp r10, 2
jb 0x140003624
cmp byte [r9], r8b
jne 0x140003624
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003600
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000367f
lea rbx, [0x140054090]
cmp r8b, 0x23
jne 0x140003663
cmp byte [r9], r8b
jne 0x140003663
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003650
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003840
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000386f
mov r8d, 0x79f
lea rdx, str.C:UserszDesktop100__loaderimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000387b
mov qword [rdi], 0
lea rdx, [0x1400538e8]
mov rcx, rbx
call fcn.140003690
mov rbx, rax
test rax, rax
jne 0x14000389d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003976
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003976
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003976
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003976
cmp rsi, 0xffffffffffffffff
je 0x140003976
mov rax, qword [0x1400b0090]
test rax, rax
je 0x140003913
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003976
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140003963
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400b0090]
test rax, rax
je 0x140003958
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000397f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003971
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003981
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400065a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xd0], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x1400065d7
mov r8d, 0x711
lea rdx, str.C:UserszDesktop100__loaderimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xd8]
lea rdx, [0x140054090]
movsxd r8, dword [rbx + 0xd0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x1400b0090]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140006656
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001f000
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret