joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400adfa0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400adfde
xor eax, eax
jmp 0x1400ae084
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x6c], 0x20
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x58]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400ae045
xor eax, eax
jmp 0x1400ae084
mov rax, qword [rsp + 0xa0]
movzx ecx, byte [rsp + 0x80]
mov byte [rax + 0x544], cl
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x548], ecx
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x78]
mov dword [rax + 0x54c], ecx
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x98
ret

Function at 0x1400ae0b0
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400ae116
xor eax, eax
jmp 0x1400ae12a
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x550], ecx
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x68
ret

Function at 0x1400ae210
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x48], 8
mov dword [rsp + 0x58], reloc.WS2_32.dll_inet_ntoa
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x48]
mov edx, 0x2d1400
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400ae296
xor eax, eax
jmp 0x1400ae2da
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x1400ae2d5
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x564], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x568], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x55c], 1
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x78
ret
Function at 0x1400b44e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004d40
nop
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.system_setup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1400b45b4
lea rdx, [0x14014d944]
mov rcx, qword [rsp + 0xc0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xc0]
jmp 0x1400b46c1
mov edx, 0x104
lea rcx, [rsp + 0x58]
call fcn.1400481c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [0x14014d988]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x54], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.1400045e0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x1400b4632
cmp dword [rsp + 0x60], 0
jne 0x1400b4665
lea rdx, [0x14014d964]
mov rcx, qword [rsp + 0xc0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xc0]
jmp 0x1400b46c1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call fcn.140004cb0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b4120
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xc0]
add rsp, 0xb8
ret
Function at 0x1400b4950
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
lea rcx, [rsp + 0x28]
call fcn.140004d40
nop
lea rcx, [rsp + 0x20]
call fcn.140004d40
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b5630
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b5520
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400b49cb
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jae 0x1400b4b03
cmp dword [rsp + 0x30], 0
je 0x1400b4ade
lea rcx, [rsp + 0x20]
call fcn.140004640
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.140004640
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400b4ad0
lea r8, [0x14014ddc0]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140046070
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140004640
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x28]
call fcn.140004640
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x70]
call fcn.140001910
lea rcx, [rsp + 0x20]
call fcn.140004640
mov qword [rsp + 0x80], rax
lea r8, str._recover
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x90]
call fcn.140046070
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140004640
mov qword [rsp + 0x88], rax
mov r8d, 5
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x90]
call fcn.140001910
lea rcx, str.MacriumRebootScheduled
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
nop
lea rcx, [rsp + 0x20]
call fcn.140001910
nop
lea rcx, [rsp + 0x28]
call fcn.140001910
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140001910
jmp 0x1400b4b7e
cmp dword [rsp + 0x30], 0
je 0x1400b4b16
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x40], rax
jae 0x1400b4b5b
cmp dword [rsp + 0x34], 0
je 0x1400b4b5b
lea rcx, [rsp + 0x28]
call fcn.140004640
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x20]
call fcn.140004640
mov qword [rsp + 0xa0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x20]
call fcn.140001910
nop
lea rcx, [rsp + 0x28]
call fcn.140001910
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140001910
add rsp, 0xb8
ret
Function at 0x1400b53e0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b5506
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.1400f3660
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400b5438
xor eax, eax
jmp 0x1400b550b
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x1400b5465
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
xor eax, eax
jmp 0x1400b550b
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x38]
lea rdx, [0x14014dc44]
mov rcx, qword [rsp + 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400b5492
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
xor eax, eax
jmp 0x1400b550b
cmp qword [rsp + 0x38], 0
jne 0x1400b54a8
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
xor eax, eax
jmp 0x1400b550b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
shl rax, 0x30
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 8]
and rcx, 0xffff
movzx ecx, cx
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
shl rcx, 0x10
or rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
mov rax, qword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1400b5520
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x20]
call fcn.140004d40
nop
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400b5591
mov rax, qword [rsp + 0x270]
mov r9, qword [rax]
lea r8, [rsp + 0x40]
lea rdx, str._sdrivers_s
lea rcx, [rsp + 0x20]
call fcn.140005ca0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x278]
call fcn.140004b30
lea rcx, [rsp + 0x20]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400b55d2
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.140001910
mov eax, dword [rsp + 0x28]
jmp 0x1400b5605
lea rcx, [rsp + 0x20]
call fcn.140004640
mov rcx, rax
call fcn.1400b53e0
mov rcx, qword [rsp + 0x280]
mov qword [rcx], rax
mov dword [rsp + 0x2c], 1
lea rcx, [rsp + 0x20]
call fcn.140001910
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x268
ret
Function at 0x1400b5630
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
lea rdx, [0x14014dda8]
lea rcx, [rsp + 0x48]
call fcn.14000be20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140006930
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140004430
nop
lea rcx, [rsp + 0x48]
call fcn.14000a510
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.140003a60
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
call fcn.140004b30
lea rcx, [rsp + 0x20]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400b56ff
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.140001910
mov eax, dword [rsp + 0x28]
jmp 0x1400b5732
lea rcx, [rsp + 0x20]
call fcn.140004640
mov rcx, rax
call fcn.1400b53e0
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov dword [rsp + 0x2c], 1
lea rcx, [rsp + 0x20]
call fcn.140001910
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x78
ret
Function at 0x1400bb480
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x4c8
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x50], 0
mov r9d, dword [rsp + 0x4d0]
lea r8, str..PhysicalDrive_d
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
call fcn.140018480
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400bb51d
xor eax, eax
jmp 0x1400bb678
mov r8d, reloc.WS2_32.dll_inet_ntoa
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400e17c0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x228
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x58]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400bb669
mov rax, qword [rsp + 0x4f0]
mov ecx, dword [rsp + 0x8c]
mov dword [rax], ecx
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 2
jl 0x1400bb661
cmp dword [rsp + 0x44], 3
jle 0x1400bb613
cmp dword [rsp + 0x44], 7
je 0x1400bb5cf
cmp dword [rsp + 0x44], 0xb
je 0x1400bb63a
jmp 0x1400bb661
mov rax, qword [rsp + 0x508]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x500]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x4f8]
mov r8, qword [rsp + 0x4e8]
mov rdx, qword [rsp + 0x4e0]
mov ecx, dword [rsp + 0x4d0]
call fcn.1400bc9a0
mov dword [rsp + 0x40], eax
jmp 0x1400bb669
mov r9, qword [rsp + 0x4e8]
mov r8, qword [rsp + 0x4e0]
mov edx, dword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x48]
call fcn.1400bbb60
mov dword [rsp + 0x40], eax
jmp 0x1400bb669
mov r9, qword [rsp + 0x4e8]
mov r8, qword [rsp + 0x4e0]
mov edx, dword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x48]
call fcn.1400bb980
mov dword [rsp + 0x40], eax
jmp 0x1400bb669
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x4c8
ret
Function at 0x1400bf7a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
sub rsp, 0x20
mov eax, dword [rsp + 0x60]
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov r15, rcx
test eax, eax
jle 0x1400bf86a
mov qword [rsp + 0x40], rsi
mov rsi, rdx
mov qword [rsp + 0x48], r14
sub rsi, r8
lea r14d, [rax - 1]
shr r14d, 4
inc r14d
lea rax, [rdi + 0xf]
cmp rbx, rax
ja 0x1400bf7f2
lea rax, [rbx + 0xf]
cmp rax, rdi
jae 0x1400bf804
lea rax, [rbp + 0xf]
cmp rbx, rax
ja 0x1400bf828
lea rax, [rbx + 0xf]
cmp rax, rbp
jb 0x1400bf828
mov r8, rbx
mov rax, rdi
sub r8, rdi
mov edx, sendto
movzx ecx, byte [rsi + rax]
xor cl, byte [rax]
mov byte [r8 + rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400bf812
jmp 0x1400bf839
movdqu xmm1, xmmword [rdi]
movdqu xmm0, xmmword [rbp]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov r8, rbx
mov rdx, rbx
mov rcx, r15
call fcn.1400bf880
movups xmm0, xmmword [rbx]
add rbx, 0x10
sub rsi, 0x10
add rdi, 0x10
movups xmmword [rbp], xmm0
sub r14, 1
jne 0x1400bf7e0
mov r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x1400c0840
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x200
xor r8d, r8d
lea r9, [rsp + 0x100]
mov dl, 1
mov r10d, 0x100
nop dword [rax]
nop dword [rax + rax]
movzx eax, dl
movzx ecx, dl
sar cl, 7
mov byte [r9], dl
lea r9, [r9 + 1]
and cl, 0x1b
mov byte [rsp + rax], r8b
movzx eax, dl
add al, al
inc r8d
xor cl, al
xor dl, cl
cmp r8d, r10d
jl 0x1400c0880
mov dl, 1
lea r8, [0x1401a5ac0]
mov r9d, 0xa
nop word [rax + rax]
movzx eax, dl
lea r8, [r8 + 4]
shl eax, 0x18
movzx ecx, dl
mov dword [r8 - 4], eax
movzx eax, dl
sar cl, 7
add al, al
and cl, 0x1b
movzx edx, cl
xor dl, al
sub r9, 1
jne 0x1400c08c0
mov byte [0x1401a38c0], 0x63
lea r8d, [r9 + 1]
mov byte [0x1401a4a23], r9b
lea r12, [0x140000000]
movzx eax, byte [rsp + r9 + 1]
lea rcx, [rsp + 0x1ff]
sub rcx, rax
lea r9, [r9 + 1]
movzx edx, byte [rcx]
movzx ecx, dl
rol cl, 1
xor dl, cl
rol cl, 1
xor dl, cl
rol cl, 1
movzx eax, cl
rol al, 1
xor al, cl
xor al, dl
xor al, 0x63
mov byte [r9 + r12 + 0x1a38c0], al
movzx eax, al
mov byte [rax + r12 + 0x1a49c0], r8b
inc r8d
cmp r8d, r10d
jl 0x1400c0900
mov rsi, qword [rsp + 0xe]
xor edi, edi
mov rbp, qword [rsp + 0xd]
mov r14, qword [rsp + 0xb]
mov r15, qword [rsp + 9]
movzx r8d, byte [rdi + r12 + 0x1a38c0]
movzx ecx, r8b
movzx eax, r8b
sar cl, 7
add al, al
and cl, 0x1b
xor cl, al
mov eax, r8d
movzx eax, byte [rdi + r12 + 0x1a49c0]
movzx edx, cl
mov ecx, edx
shl ecx, 8
xor ecx, r8d
shl ecx, 8
xor ecx, r8d
shl ecx, 8
xor ecx, edx
xor ecx, r8d
mov dword [r12 + rdi*4 + 0x1a39c0], ecx
ror ecx, 8
mov dword [r12 + rdi*4 + 0x1a3dc0], ecx
ror ecx, 8
mov dword [r12 + rdi*4 + 0x1a41c0], ecx
ror ecx, 8
mov dword [r12 + rdi*4 + 0x1a45c0], ecx
test al, al
je 0x1400c0a6e
movzx eax, al
movzx ecx, r14b
movzx r8d, byte [rsp + rax]
mov eax, 0x80808081
add ecx, r8d
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, bpl
add ecx, r8d
movzx r9d, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, r15b
add ecx, r8d
movzx r11d, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, sil
add ecx, r8d
movzx ebx, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rsp + rax + 0x100]
jmp 0x1400c0a78
xor r9d, r9d
xor r11d, r11d
xor ebx, ebx
xor eax, eax
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, r11d
shl eax, 8
xor eax, r9d
mov dword [r12 + rdi*4 + 0x1a4ac0], eax
ror eax, 8
mov dword [r12 + rdi*4 + 0x1a4ec0], eax
ror eax, 8
mov dword [r12 + rdi*4 + 0x1a52c0], eax
ror eax, 8
mov dword [r12 + rdi*4 + 0x1a56c0], eax
inc rdi
sub r10, 1
jne 0x1400c0961
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400c4990
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x60]
call fcn.1400c30e0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.1400f5b7c
mov rcx, qword [rsp + 0x68]
call fcn.1400f6060
cdqe
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.1400f5b7c
cmp qword [rsp + 0x28], 0
jne 0x1400c4a04
xor r9d, r9d
xor r8d, r8d
mov edx, SafeArrayGetLBound
mov rcx, qword [rsp + 0x60]
call fcn.1400c6e30
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x5c]
jmp 0x1400c4b39
mov rax, qword [rsp + 0x28]
inc rax
mov rcx, rax
call fcn.1400c7eb0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x78], rcx
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x28]
mov edx, 1
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x78]
call fcn.1400f5840
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x38], rax
je 0x1400c4a77
xor r9d, r9d
xor r8d, r8d
mov edx, 5
mov rcx, qword [rsp + 0x60]
call fcn.1400c6e30
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x5c]
jmp 0x1400c4b39
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x78]
mov rcx, qword [rsp + 0x28]
mov byte [rax + rcx], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.1400c75e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
add rax, 0x58
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.1400c6b10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400c4ad5
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
jne 0x1400c4af4
xor r9d, r9d
xor r8d, r8d
mov edx, SafeArrayGetLBound
mov rcx, qword [rsp + 0x60]
call fcn.1400c6e30
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x5c]
jmp 0x1400c4b39
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x78]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x78]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x5c]
add rsp, 0x58
ret
Function at 0x1400cc500
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
movzx ebp, r9w
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [rsp + 0xa0]
mov qword [r11 - 0x48], rax
call fcn.1400cc81c
nop
lea rax, vtable.CHttpConnection.0
mov qword [rdi], rax
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x1400cc636
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400dc302.0]
add rax, 0x18
mov qword [rdi + 0x30], rax
test rbx, rbx
jne 0x1400cc577
xor eax, eax
jmp 0x1400cc57f
mov rcx, rbx
call fcn.1400e9024
mov r8d, eax
mov rdx, rbx
lea rcx, [rdi + 0x30]
call fcn.140004960
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
movzx r8d, bp
mov rdx, rbx
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
je 0x1400cc62a
mov rbx, qword [rdi + 0x18]
lea rcx, [0x1401a6b78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rsi
lea rcx, [0x1401a6b30]
call fcn.1400d7014
mov qword [rax], rbx
mov rax, qword [0x1401a6b68]
lea rcx, [0x1401a6b68]
mov rax, qword [rax + 0x28]
call qword [case.0x1400dc302.0]
nop
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.1400cd198
nop
mov ecx, 0x80004005
call fcn.140004d90
int3