joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016c84
Capabilities:
Delete file

Disassembly:
sub rsp, 0x48
lea rcx, str.PcmInfo_Helper
call fcn.140021bcc
test eax, eax
je 0x140016ca9
mov edx, 1
lea rcx, str.PcmInfo_Helper
call fcn.140021e88
and qword [rsp + 0x30], 0
lea rdx, str.c:windows_system32PcmInfo_Helper.sys
mov dword [rsp + 0x28], 3
lea rcx, str.PcmInfo_Helper
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call fcn.140021a08
test eax, eax
jne 0x140016cfa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1400a06e8]
mov r8d, eax
mov ecx, 4
call fcn.1400191e0
xor eax, eax
jmp 0x140016d2b
lea rcx, str.PcmInfo_Helper
call fcn.140021d00
test eax, eax
jne 0x140016d19
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.zccm:_InstallStartDriver:
jmp 0x140016ce9
lea rcx, str.c:windows_system32PcmInfo_Helper.sys
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
add rsp, 0x48
ret

Function at 0x140016d30
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
lea rdx, str.AgentModuleNoExit
call fcn.14003a760
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140016d58
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
lea rdx, [0x1400a01e0]
call fcn.14003a760
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140016d80
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
lea rdx, str._IsDev
call fcn.14003a760
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140016dd0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
lea rdx, str.DriverNoRandom
call fcn.14003a760
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140016df8
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
lea rdx, str.NoDriver
call fcn.14003a760
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140016e20
Capabilities:
Check os version

Disassembly:
sub rsp, 0xc8
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x90
call fcn.14003a5c0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ecx, ecx
test eax, eax
je 0x140016e6b
cmp dword [rsp + 0x24], 6
ja 0x140016e62
jne 0x140016e67
cmp dword [rsp + 0x28], 2
jbe 0x140016e67
mov ecx, 1
mov eax, ecx
jmp 0x140016e6d
xor eax, eax
add rsp, 0xc8
ret
Function at 0x140018520
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x10], 0
mov ebp, r9d
and dword [rax + 0x10], 0
mov rsi, r8
and dword [rax - 0x18], 0
test rdx, rdx
je 0x1400185f8
test r8, r8
je 0x1400185f8
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400185f8
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x140018577
and dword [rbx], 0
neg dword [rsp + 0x88]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
sbb r9d, r9d
xor r8d, r8d
and r9d, 0x100
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400185fb
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400185fb
mov eax, dword [rsp + 0x78]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x58], eax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
jne 0x1400185e9
test rbx, rbx
je 0x1400185e9
mov ecx, dword [rsp + 0x58]
mov dword [rbx], ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1400185fb
or eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140018a30
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.c:windows_system32PcmInfo_Helper.sys
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor r9d, r9d
lea r8, str.c:windows_system32PcmInfo_Helper.sys
lea rdx, [0x14009d324]
mov ecx, 0x9e60
call fcn.140015a30
test eax, eax
jne 0x140018a7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.zccm:_UnpackResFile:
lea ecx, [rbx + 4]
call fcn.1400191e0
jmp 0x140018a83
mov ebx, 1
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001919c
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x1400191d5
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x1400191cf
shr ax, 8
cmp al, 2
jne 0x1400191cf
mov eax, 1
jmp 0x1400191d7
call qword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
add rsp, 0x1c8
ret
Function at 0x1400191e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x80
cmp dword [0x1400c51f0], 0
je 0x14001933a
cmp byte [rdx], 0
je 0x14001922a
xor eax, eax
cmp byte [rax + rdx], 0x5e
jne 0x140019221
mov byte [rax + rdx], 0x20
mov rdx, qword [rbp + 0x38]
inc rax
cmp byte [rax + rdx], 0
jne 0x140019213
xor ecx, ecx
lea r15, [rbp + 0x40]
call fcn.140060dd4
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x28]
call fcn.14006bb40
mov rcx, qword [rbp + 0x38]
call fcn.140045e50
add eax, 0x42
movsxd rcx, eax
call fcn.1400607d0
mov rcx, qword [rbp + 0x38]
lea rdx, str.ZCCM:___02d__02d__02d:_02d:_02d__s__s_s_n
mov r8d, dword [rbp - 0x18]
mov rsi, rax
mov r9d, dword [rbp - 0x1c]
lea rax, [0x14009d610]
mov qword [rsp + 0x48], rax
inc r8d
mov qword [rsp + 0x40], rcx
mov ecx, dword [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp - 0x24]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp - 0x20]
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400055a4
mov ecx, 1
call fcn.140061e10
mov rbx, rax
call fcn.14000559c
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov r8, rsi
mov rdx, rbx
mov rdi, rax
mov rcx, qword [rax]
call fcn.14005f180
mov ecx, 1
call fcn.140061e10
mov rcx, rax
call fcn.14006b394
mov ecx, 0x1000
call fcn.1400607d0
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
mov rbx, rax
call fcn.14003a5c0
mov rcx, qword [rdi]
mov r9, rsi
or rcx, 1
mov qword [rsp + 0x28], r15
and qword [rsp + 0x20], 0
or r8, 0xffffffffffffffff
mov rdx, rbx
call fcn.14005f790
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call fcn.1400607c8
mov rcx, rsi
call fcn.1400607c8
add rsp, 0x80
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140019348
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rbx, rdx
test rdx, rdx
je 0x140019365
and dword [rdx], 0
test rdi, rdi
je 0x14001936e
and dword [r8], 0
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x10000000
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
or rcx, 0xffffffffffffffff
mov rsi, rax
cmp rax, rcx
jne 0x1400193ab
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400193e0
lea rdx, [rsp + 0x5c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rsi
mov dword [rsp + 0x58], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x1400193d1
mov eax, dword [rsp + 0x5c]
mov dword [rdi], eax
test rbx, rbx
je 0x1400193dc
mov dword [rbx], 1
mov eax, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400193f0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
xor ebx, ebx
mov ebp, r8d
mov qword [rax - 0x28], rbx
mov rsi, r9
mov r14, rdx
mov dword [rax - 0x30], 0x10000000
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 3]
mov dword [rax - 0x38], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
or rcx, 0xffffffffffffffff
mov rdi, rax
cmp rax, rcx
jne 0x14001944b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14001949d
mov edx, dword [rsp + 0x80]
test edx, edx
je 0x140019465
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test rsi, rsi
mov dword [rsp + 0x40], ebx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
cmovne r9, rsi
mov r8d, ebp
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140019492
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x14001a114
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call fcn.140016b94
lea rdx, str.ZCCM:_hello___r_n
mov ecx, 4
call fcn.1400191e0
call fcn.140009a9c
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.1400164c8
xor eax, eax
add rsp, 0x28
ret
Function at 0x14001adf8
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
or qword [rsp], 0xffffffffffffffff
mov rbx, r8
or qword [rsp + 8], 0xffffffffffffffff
mov rdi, rdx
or qword [rsp + 0x10], 0xffffffffffffffff
xor r8d, r8d
or qword [rsp + 0x18], 0xffffffffffffffff
xor edx, edx
or qword [rsp + 0x20], 0xffffffffffffffff
xor r11d, r11d
or qword [rbp - 0x29], 0xffffffffffffffff
xor esi, esi
or qword [rbp - 0x21], 0xffffffffffffffff
mov r10, rcx
or qword [rbp - 0x19], 0xffffffffffffffff
mov r9d, 3
or qword [rbp - 0x11], 0xffffffffffffffff
or qword [rbp - 9], 0xffffffffffffffff
or qword [rbp - 1], 0xffffffffffffffff
or qword [rbp + 7], 0xffffffffffffffff
or qword [rbp + 0xf], 0xffffffffffffffff
or qword [rbp + 0x17], 0xffffffffffffffff
or qword [rbp + 0x1f], 0xffffffffffffffff
or qword [rbp + 0x27], 0xffffffffffffffff
or qword [rbp + 0x2f], 0xffffffffffffffff
or qword [rbp + 0x37], 0xffffffffffffffff
or qword [rbp + 0x3f], 0xffffffffffffffff
or qword [rbp + 0x47], 0xffffffffffffffff
or qword [rbp + 0x4f], 0xffffffffffffffff
mov dword [rsp + 0x28], 0x3effffff
mov dword [rbp - 0x7d], 0x3fffffff
mov dword [rbp - 0x79], 0x37363534
mov dword [rbp - 0x75], 0x3b3a3938
mov dword [rbp - 0x71], 0xffff3d3c
mov dword [rbp - 0x6d], 0xfffffeff
mov dword [rbp - 0x69], 0x20100ff
mov dword [rbp - 0x65], 0x6050403
mov dword [rbp - 0x61], 0xa090807
mov dword [rbp - 0x5d], 0xe0d0c0b
mov dword [rbp - 0x59], 0x1211100f
mov dword [rbp - 0x55], 0x16151413
mov qword [rbp - 0x51], 0xffffffffff191817
mov dword [rbp - 0x49], 0x1c1b1aff
mov dword [rbp - 0x45], 0x201f1e1d
mov dword [rbp - 0x41], 0x24232221
mov dword [rbp - 0x3d], 0x28272625
mov dword [rbp - 0x39], 0x2c2b2a29
mov dword [rbp - 0x35], 0x302f2e2d
mov qword [rbp - 0x31], 0xffffffffff333231
cmp qword [rcx + 0x10], rdx
jbe 0x14001afb3
xor ecx, ecx
cmp qword [r10 + 0x18], 0x10
jb 0x14001af40
mov rax, qword [r10]
jmp 0x14001af43
mov rax, r10
movsx rax, byte [rcx + rax]
mov cl, byte [rsp + rax]
cmp cl, 0xff
je 0x14001afa9
cmp cl, 0xfe
jne 0x14001af5a
xor cl, cl
dec r9d
shl r8d, 6
inc r11d
movzx eax, cl
or r8d, eax
cmp r11d, 4
jne 0x14001afa9
lea eax, [rdx + r9]
cmp eax, dword [rbx]
ja 0x14001afd0
mov ecx, r8d
mov eax, edx
shr ecx, 0x10
mov byte [rdx + rdi], cl
inc edx
cmp r9d, 1
jbe 0x14001af95
mov ecx, r8d
mov eax, edx
shr ecx, 8
mov byte [rdx + rdi], cl
inc edx
cmp r9d, 2
jbe 0x14001afa3
mov eax, edx
mov byte [rdx + rdi], r8b
inc edx
xor r8d, r8d
xor r11d, r11d
inc esi
mov ecx, esi
cmp rcx, qword [r10 + 0x10]
jb 0x14001af34
mov dword [rbx], edx
mov al, 1
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
xor al, al
jmp 0x14001afb7
Function at 0x14001ce1c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0x40
xor edi, edi
mov esi, r8d
mov r13, r9
mov r12, rdx
mov r15b, cl
cmp dword [rsp + 0x80], edi
je 0x14001cf83
test r8d, r8d
je 0x14001cf83
mov ebx, dword [rsp + 0x90]
test ebx, ebx
je 0x14001cf83
mov rcx, qword [rsp + 0x88]
mov r8d, ebx
xor edx, edx
call fcn.14003a5c0
test r15b, r15b
je 0x14001ce88
lea eax, [rsi + rsi]
jmp 0x14001ce8c
mov eax, esi
shr eax, 1
cmp ebx, eax
jb 0x14001cf83
lea ecx, [rsi + 2]
call fcn.140037e70
mov rbp, rax
test rax, rax
je 0x14001cf83
mov r8, rsi
mov rdx, r12
mov rcx, rax
call fcn.14003a170
mov byte [rsi + rbp], dil
lea eax, [rsi + 1]
mov ebx, 1
mov byte [rax + rbp], dil
test r15b, r15b
jne 0x14001cef3
mov rdx, qword [rsp + 0x88]
mov rcx, rbp
call fcn.14001b6ec
test al, al
je 0x14001cf78
mov r9, qword [rsp + 0x88]
mov r8d, esi
shr r8d, 1
jmp 0x14001cef9
mov r9, rbp
mov r8d, esi
mov r10d, edi
test r8d, r8d
je 0x14001cf22
mov eax, r10d
xor edx, edx
div dword [rsp + 0x80]
add r10d, ebx
movsxd rax, edx
mov cl, byte [rax + r13]
xor byte [r9], cl
add r9, rbx
cmp r10d, r8d
jb 0x14001cf01
test r15b, r15b
je 0x14001cf75
mov r8d, esi
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.14001b264
cmp qword [rsp + 0x38], 0x10
lea rdx, [rsp + 0x20]
mov r8, qword [rsp + 0x30]
cmovae rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
call fcn.14003a170
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14001cf75
mov rcx, qword [rsp + 0x20]
inc rdx
mov r8, rbx
call fcn.140004554
mov dil, bl
mov rdx, rbx
mov rcx, rbp
call fcn.140037e68
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r13
pop r12
ret
Function at 0x14001e2bc
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov r14, r9
mov r13d, r8d
mov r15, rdx
mov rbx, rcx
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edx, edx
mov rcx, rbx
call fcn.140033104
mov rdi, rax
test rax, rax
jne 0x14001e31f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateZip_failed__error_d__r_n
lea ecx, [rdi + 1]
call fcn.1400191e0
jmp 0x14001e441
test r14, r14
je 0x14001e34c
mov rdx, r14
mov rcx, rdi
call fcn.140033820
test eax, eax
je 0x14001e34c
mov r8d, eax
lea rdx, str.AZipAddFolder_failed__zresult_d__r_n
mov ecx, 1
call fcn.1400191e0
jmp 0x14001e3f5
xor ebp, ebp
lea ebx, [rbp + 1]
test r13d, r13d
je 0x14001e3f2
mov rsi, r15
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14003a5c0
mov rcx, qword [rsi]
call fcn.140045e50
test rax, rax
je 0x14001e3e3
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e3e3
mov rcx, qword [rsi]
call fcn.14002132c
test rax, rax
je 0x14001e425
lea rcx, [rsp + 0x30]
mov edx, 0x103
test r14, r14
je 0x14001e3c0
mov r9, r14
mov qword [rsp + 0x20], rax
lea r8, str._s_s
call fcn.14001a150
jmp 0x14001e3cf
mov r9, rax
lea r8, [0x14009ef1c]
call fcn.14001a150
mov r8, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400337ec
test eax, eax
jne 0x14001e40b
add ebp, ebx
add rsi, 8
cmp ebp, r13d
jb 0x14001e35d
mov r12d, ebx
mov rcx, rdi
call fcn.1400337b0
mov rcx, rdi
test al, al
je 0x14001e43c
call fcn.140032ecc
jmp 0x14001e441
movsxd r9, ebp
lea rdx, str.ZipAdd_failed__zresult_d_file_s__r_n
mov r8d, eax
mov ecx, ebx
mov r9, qword [r15 + r9*8]
call fcn.1400191e0
jmp 0x14001e3f5
movsxd r8, ebp
lea rdx, str.fGetFileNameFromFullPathA_return_NULL__file_s__r_n
mov ecx, ebx
mov r8, qword [r15 + r8*8]
call fcn.1400191e0
jmp 0x14001e3f5
call fcn.140026be8
lea r11, [rsp + 0x140]
mov eax, r12d
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001e468
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov esi, ecx
lea r8, [rax + 0x10]
xor edi, edi
xor ecx, ecx
and dword [rax + 0x10], edi
xor edx, edx
call qword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ecx, dword [rsp + 0x38]
call fcn.140037e70
lea r8, [rsp + 0x38]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov rbp, rax
test rax, rax
je 0x14001e51e
mov edi, 1
test esi, esi
jne 0x14001e4c9
test dword [rbx + 0x18], 0x100000
jne 0x14001e4e0
jmp 0x14001e4d6
cmp esi, edi
jne 0x14001e4e0
test dword [rbx + 0x18], 0x100000
je 0x14001e4e0
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
and dword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
mov rcx, rbx
call fcn.1400383d4
mov ecx, dword [rsp + 0x38]
call fcn.140037e70
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x14001e4ba
test rbx, rbx
je 0x14001e52b
mov rcx, rbx
call fcn.1400383d4
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e868
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov r15, r8
mov rsi, rdx
mov r12, rcx
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0x40]
mov r14d, r9d
call fcn.14003a5c0
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x104
call fcn.14003a5c0
mov rcx, r15
call fcn.140004e8c
mov r8, r12
lea rdx, str._s.
lea rcx, [rbp + 0x80]
call fcn.1400055a4
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
test rsi, rsi
je 0x14001ea16
mov rcx, rsi
call fcn.14007ef6c
jmp 0x14001ea16
lea rdx, [0x1400a0914]
lea rcx, [rsp + 0x6c]
call fcn.140061a70
test eax, eax
je 0x14001ea16
lea rdx, [0x1400a0a48]
lea rcx, [rsp + 0x6c]
call fcn.140061a70
test eax, eax
je 0x14001ea16
test r14d, r14d
je 0x14001e94d
test byte [rsp + 0x40], 0x10
jne 0x14001ea16
jmp 0x14001e958
test byte [rsp + 0x40], 0x10
je 0x14001ea16
lea rcx, [rsp + 0x6c]
call fcn.14007ef6c
test rsi, rsi
je 0x14001e982
cmp byte [rsi], 0
je 0x14001e982
mov rdx, rsi
lea rcx, [rsp + 0x6c]
call fcn.14003a760
test rax, rax
je 0x14001ea16
mov ecx, 0x104
call fcn.140037e70
xor edx, edx
mov r8d, 0x104
mov rcx, rax
mov rbx, rax
call fcn.14003a5c0
lea r9, [rsp + 0x6c]
mov r8, r12
lea rdx, str._s_s
mov rcx, rbx
call fcn.1400055a4
and qword [rsp + 0x30], 0
cmp byte [rbx], 0
mov qword [rsp + 0x38], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x20], 0
jne 0x14001e9d3
xor eax, eax
jmp 0x14001e9db
mov rcx, rbx
call fcn.140045e50
mov r8, rax
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140004d8c
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140009638
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14001ea16
mov rcx, qword [rsp + 0x20]
inc rdx
mov r8d, 1
call fcn.140004554
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001e909
test rdi, rdi
je 0x14001ea3a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x290]
mov eax, 1
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001ea60
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
mov r12, r8
mov r15d, r9d
mov rsi, rdx
mov r13, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x140
call fcn.14003a5c0
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x104
call fcn.14003a5c0
mov r8d, r15d
xor edx, edx
shl r8, 3
mov rcx, r12
xor r14d, r14d
call fcn.14003a5c0
mov r8, r13
lea rdx, str._s.
lea rcx, [rbp + 0x60]
call fcn.1400055a4
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
test rsi, rsi
je 0x14001eb80
mov rcx, rsi
call fcn.14007ef6c
jmp 0x14001eb80
cmp dword [rbp + 0x1c0], 0
je 0x14001eb13
test byte [rsp + 0x20], 0x10
jne 0x14001eb80
jmp 0x14001eb1a
test byte [rsp + 0x20], 0x10
je 0x14001eb80
cmp r14d, r15d
jae 0x14001eb96
lea rcx, [rsp + 0x4c]
call fcn.14007ef6c
test rsi, rsi
je 0x14001eb45
cmp byte [rsi], 0
je 0x14001eb45
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call fcn.14003a760
test rax, rax
je 0x14001eb80
mov ecx, 0x104
call fcn.140037e70
xor edx, edx
mov r8d, 0x104
mov rcx, rax
mov rbx, rax
call fcn.14003a5c0
lea r9, [rsp + 0x4c]
mov r8, r13
lea rdx, str._s_s
mov rcx, rbx
call fcn.1400055a4
mov qword [r12 + r14*8], rbx
inc r14d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001eb01
test rdi, rdi
je 0x14001eba4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x270]
mov eax, 1
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret