joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7c0100ae0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x7ff7c0100d1b
mov eax, dword [rsp + 0x5c]
or eax, dword [rsp + 0x54]
or eax, dword [rsp + 0x58]
or eax, dword [rsp + 0x50]
je 0x7ff7c0100d1b
cmp dword [rbx + 0x240], 0
mov qword [rsp + 0xe0], rsi
jg 0x7ff7c0100bb4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
xor r8d, r8d
mov rcx, rdi
mov rdx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetUpdateRgn]
mov rcx, qword [rbx + 0x248]
test rcx, rcx
jne 0x7ff7c0100b7b
mov qword [rbx + 0x248], rsi
jmp 0x7ff7c0100b96
mov r9d, 2
mov r8, rsi
mov rdx, rcx
call qword [sym.imp.GDI32.dll_CombineRgn]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rdx, ds:[rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_BeginPaint]
test rax, rax
je 0x7ff7c0100d13
jmp 0x7ff7c0100d05
test dword ds:[rbx + 0x40], 0x200000
je 0x7ff7c0100c73
cmp qword [rbx + 0x200], 0
jne 0x7ff7c0100c73
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x7ff7c0100c73
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbx + 0x200], rax
test rax, rax
je 0x7ff7c0100c73
movups xmm0, xmmword ds:[rbx + 0x68]
mov rcx, rsi
movups xmmword [rbx + 0x218], xmm0
mov edx, dword [rbx + 0x220]
mov r8d, dword [rbx + 0x224]
inc edx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbx + 0x210], rax
test rax, rax
jne 0x7ff7c0100c4c
mov rcx, qword [rbx + 0x200]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rbx + 0x200], 0
jmp 0x7ff7c0100c73
mov rcx, qword [rbx]
mov rdx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, qword [rbx + 0x210]
mov rcx, qword [rbx + 0x200]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbx + 0x208], rax
lea rdx, ds:[rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_BeginPaint]
mov rsi, rax
test rax, rax
je 0x7ff7c0100d13
movups xmm0, xmmword [rsp + 0x6c]
mov r8, qword [rbx + 0x200]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
movups xmmword [rsp + 0x50], xmm0
test r8, r8
je 0x7ff7c0100cfc
call fcn.7ff7c0107110
mov ecx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x54]
sub ecx, r8d
mov edx, dword [rsp + 0x50]
mov rax, qword [rbx + 0x200]
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x40], 0xcc0020
sub r9d, edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x7ff7c0100d05
mov r8, rsi
call fcn.7ff7c0107110
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndPaint]
mov rsi, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.7ff7c0121390
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x7ff7c010c840
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], r8
mov r8d, 0x40
call fcn.7ff7c010cc90
nop
mov eax, 0x5a4d
cmp word [rdi], ax
je 0x7ff7c010c88b
mov eax, 0xc000012f
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rdi + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x7ff7c010c932
nop dword [rax]
cmp rcx, rsi
jae 0x7ff7c010c932
lea rdx, [rcx + rdi]
mov qword [rbx + 0x18], rdx
mov r8d, 0x18
mov rcx, rbx
call fcn.7ff7c010cc90
mov rdx, qword [rbx + 0x18]
movzx eax, word [rdx + 6]
lea rcx, [rax + rax*4]
movzx eax, word [rdx + 0x14]
lea rcx, [rcx + 3]
lea r8, [rax + rcx*8]
mov rcx, rbx
call fcn.7ff7c010cc90
nop
mov rcx, qword [rbx + 0x18]
cmp dword [rcx], 0x4550
jne 0x7ff7c010c932
movzx eax, word [rcx + 0x18]
mov word [rbx + 0x30], ax
mov edx, 0x10b
cmp ax, dx
je 0x7ff7c010c908
mov edx, 0x20b
cmp ax, dx
jne 0x7ff7c010c932
movzx eax, word [rcx + 6]
mov dword [rbx + 0x20], eax
movzx eax, word [rcx + 0x14]
add rcx, 0x18
add rcx, rax
mov qword [rbx + 0x28], rcx
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 0xc000007b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff7c010ca90
Capabilities:
Get file attributes
Map section object

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r12, qword [rsp + 0x110]
xor r13d, r13d
xor sil, sil
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], r13
mov r15, r9
movzx r14d, r8b
mov rdi, rdx
test rdx, rdx
jne 0x7ff7c010cb40
test rcx, rcx
jne 0x7ff7c010caea
mov eax, 0xc0000030
jmp 0x7ff7c010cc60
mov r8d, r13d
mov dword [rsp + 0x30], 0x60
mov eax, 0x106
mov dword [rsp + 0x28], 1
mov rdx, rcx
mov dword [rsp + 0x20], 1
test r14b, r14b
lea rcx, [rsp + 0x68]
mov r9d, 0x80
cmove r8d, eax
or r8d, 0x100081
call sym.ProcessHacker.exe_PhCreateFileWin32
nop dword [rax + rax]
test eax, eax
js 0x7ff7c010cc60
mov rdi, qword [rsp + 0x68]
mov sil, 1
mov r9d, 0x18
mov qword [rsp + 0xb0], rbx
lea r8, [rsp + 0x80]
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ebx, eax
test eax, eax
js 0x7ff7c010cc36
mov rax, qword [rsp + 0x88]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0xa8], rbp
mov eax, 2
mov qword [rsp + 0x30], rdi
test r14b, r14b
mov ebp, 4
mov dword [rsp + 0x28], 0x8000000
cmovne ebp, eax
mov edx, 0xf001f
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
test eax, eax
js 0x7ff7c010cc2e
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x78], rax
lea rdx, [r9 - 1]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
test eax, eax
js 0x7ff7c010cc2e
mov rax, qword [rsp + 0x60]
mov qword [r15], rax
mov rax, qword [rsp + 0x50]
mov qword [r12], rax
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x7ff7c010cc46
call qword [sym.imp.ntdll.dll_NtClose]
test sil, sil
je 0x7ff7c010cc56
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
nop dword [rax + rax]
call fcn.7ff7c0121390
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x7ff7c010ce90
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x188
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r14, r8
mov qword [r9], rdx
mov rdi, r9
mov qword [rsp + 0x20], 0
mov rax, r14
lea r8, [rsp + 0x30]
mov r9d, 0x40
mov rbx, rdx
mov rbp, rcx
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c010d01a
mov eax, 0x5a4d
cmp word [rsp + 0x30], ax
je 0x7ff7c010cef9
mov eax, 0xc000012f
jmp 0x7ff7c010d01a
mov ecx, dword ds:[rsp + 0x6c]
mov qword [rsp + 0x180], rsi
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x7ff7c010d00d
lea rsi, [rbx + rcx]
mov qword [rsp + 0x20], 0
mov rdx, rsi
lea r8, [rsp + 0x70]
mov r9d, 0xf8
mov rcx, rbp
mov rax, r14
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c010d012
cmp dword [rsp + 0x70], 0x4550
jne 0x7ff7c010d00d
movzx eax, word [rsp + 0x88]
mov ecx, 0x10b
mov word [rdi + 0x20], ax
sub ax, cx
mov ecx, 0xfeff
test cx, ax
jne 0x7ff7c010d00d
movzx eax, word [rsp + 0x76]
mov dword [rdi + 0x10], eax
lea r8d, [rax + rax*4]
movzx eax, word [rsp + 0x84]
lea r8d, [r8 + 3]
lea r8d, [rax + r8*8]
cmp r8d, 0x100000
ja 0x7ff7c010d00d
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov ebx, r8d
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov qword [rdi + 8], rax
mov r8, rax
mov rax, r14
mov rdx, rsi
mov rcx, rbp
call qword [case.0x7ff7c00c1f48.0]
mov rcx, qword [rdi + 8]
mov ebx, eax
test eax, eax
jns 0x7ff7c010cffa
mov r8, rcx
xor edx, edx
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
jmp 0x7ff7c010d012
movzx eax, word [rcx + 0x14]
add rcx, 0x18
add rcx, rax
mov qword [rdi + 0x18], rcx
xor eax, eax
jmp 0x7ff7c010d012
mov eax, 0xc000007b
mov rsi, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x188
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x7ff7c010e1a0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov ebp, 4
mov rbx, rdx
mov rsi, rcx
mov edx, ebp
mov rcx, qword [0x7ff7c01d3cd0]
lea r8d, [rbp + 0x1c]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rbx
mov rdi, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3f
cmovae edx, ebp
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword ds:[rdi], rax
test rax, rax
jne 0x7ff7c010e226
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3f
lea r8, [rsp + 0x70]
mov r9d, ebp
mov edx, 0x54
mov rcx, rax
jae 0x7ff7c010e249
mov dword [rsp + 0x70], 0xa00
jmp 0x7ff7c010e296
mov dword [rsp + 0x70], 0x2a00
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rdi]
lea r8, [rsp + 0x78]
mov r9d, ebp
mov dword [rsp + 0x78], 3
mov edx, 0x76
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x64
jb 0x7ff7c010e29c
mov rcx, qword [rdi]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov r9d, ebp
mov edx, 0x85
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rbx, qword [rsp + 0x60]
mov al, 1
mov qword [rsi], rdi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x7ff7c010e340
Capabilities:
Prepare http request

Disassembly:
push rbx
sub rsp, 0x40
mov r10d, r9d
mov rbx, rcx
mov rcx, qword [rcx + 8]
and r10d, 1
shl r10d, 0x17
mov eax, r10d
bts eax, 8
and r9b, 2
cmove eax, r10d
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x7ff7c010e395
add rsp, 0x40
pop rbx
ret
mov r9d, 4
mov dword [rsp + 0x50], 8
lea r8, [rsp + 0x50]
mov rcx, rax
lea edx, [r9 + 0x3b]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov al, 1
add rsp, 0x40
pop rbx
ret

Function at 0x7ff7c010e400
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x10]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x7ff7c010e460
Capabilities:
Set http header

Disassembly:
sub rsp, 0x28
mov rcx, qword ds:[rcx + 0x10]
mov eax, r8d
test eax, eax
mov r8d, 0xffffffff
mov r9d, 0xa0000000
cmovne r8d, eax
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x7ff7c010e490
Capabilities:
Read http header

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
lea rax, [rsp + 0x50]
mov rsi, rcx
mov qword [rsp + 0x28], rbp
mov rcx, qword [rcx + 0x10]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], ebp
lea edx, [rbp + 0x16]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x7ff7c010e4d5
call qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
cmp eax, 0x7a
jne 0x7ff7c010e545
mov rdx, qword [0x7ff7c01d3b58]
mov qword [rsp + 0x60], rbx
mov ebx, dword [rsp + 0x50]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
mov qword [rsp + 0x28], rbp
xor r8d, r8d
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
lea rax, [rsp + 0x50]
mov word [rcx + rbx], bp
lea edx, [r8 + 0x16]
mov r9, qword [rdi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x7ff7c010e54f
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c010e545
call fcn.7ff7c00c6290
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rax, rdi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x7ff7c010e560
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [rsp + 0x50]
mov rsi, rdx
mov qword [rsp + 0x28], r14
mov rbp, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
mov r8, rdx
xor r9d, r9d
mov dword [rsp + 0x50], r14d
mov edx, 0xffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
nop
test eax, eax
jne 0x7ff7c010e5af
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x7ff7c010e62a
mov rdx, qword [0x7ff7c01d3b58]
mov qword [rsp + 0x58], rbx
mov ebx, dword [rsp + 0x50]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
mov qword [rsp + 0x28], r14
mov r8, rsi
mov edx, 0xffff
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
lea rax, [rsp + 0x50]
mov word [rcx + rbx], r14w
mov r9, qword [rdi + 8]
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x7ff7c010e63a
lea rcx, ds:[rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c010e62a
call fcn.7ff7c00c6290
xor eax, eax
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov rbp, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x7ff7c010e650
Capabilities:
Read http header

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 0x10]
mov eax, edx
mov r10d, edx
mov dword [rsp + 0x58], 4
and al, 1
mov rbx, r8
xor r8d, r8d
neg al
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov dword [rsp + 0x40], r8d
sbb r9d, r9d
mov qword [rsp + 0x20], rax
and r9d, 5
mov edx, r9d
or edx, 0x13
and r10b, 2
cmove edx, r9d
lea r9, [rsp + 0x40]
bts edx, 0x1d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x7ff7c010e6bb
mov eax, dword [rsp + 0x40]
mov dword [rbx], eax
mov al, 1
add rsp, 0x30
pop rbx
ret
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x7ff7c010e7d0
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1040
call fcn.7ff7c0142db0
sub rsp, rax
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov r14, r8
mov r15, rdx
mov rbp, rcx
mov edi, 0x1000
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, edi
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
lea r9, [rsp + 0x20]
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov rsi, rax
xor ebx, ebx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x7ff7c010e8cb
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x7ff7c010e8a8
lea eax, ds:[rcx + rbx]
cmp edi, eax
jae 0x7ff7c010e875
mov rcx, qword [0x7ff7c01d3cd0]
add edi, edi
mov r9d, edi
mov r8, rsi
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapReAlloc_1]
mov ecx, dword [rsp + 0x20]
mov rsi, rax
mov r8d, ecx
lea rdx, [rsp + 0x30]
mov ecx, ebx
add rcx, rsi
call fcn.7ff7c0125120
add ebx, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x7ff7c010e841
lea eax, [rbx + 1]
cmp edi, eax
jae 0x7ff7c010e8cb
mov rcx, qword [0x7ff7c01d3cd0]
lea r9d, [rdi + 1]
mov r8, rsi
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapReAlloc_1]
mov rsi, rax
mov byte ds:[rbx + rsi], 0
test ebx, ebx
je 0x7ff7c010e902
test r15, r15
je 0x7ff7c010e8de
mov qword [r15], rsi
jmp 0x7ff7c010e8f6
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r14, r14
je 0x7ff7c010e8fe
mov dword [r14], ebx
mov al, 1
jmp 0x7ff7c010e918
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor al, al
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.7ff7c0121390
mov rbx, qword [rsp + 0x1088]
add rsp, 0x1040
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7c0114be0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, dword [rcx + 0x30]
mov eax, 0x38
mov r8d, edi
mov rsi, rdx
and r8d, 0x3f
mov rbp, rcx
sub eax, r8d
lea rcx, [rsp + 0x21]
mov ebx, 0x78
sub ebx, r8d
cmp r8d, 0x38
cmovb ebx, eax
xor edx, edx
lea eax, [rbx - 1]
movsxd r8, eax
call fcn.7ff7c0123170
mov ecx, dword [rbp + 0x2c]
lea rdx, [rsp + 0x20]
shl ecx, 3
lea r8d, [rbx + 8]
movsxd rax, ebx
add rdx, rax
mov byte [rsp + 0x20], 0x80
mov eax, edi
shr eax, 0x1d
or ecx, eax
lea eax, [rdi*8]
bswap ecx
mov dword [rdx], ecx
mov rcx, rbp
bswap eax
mov dword [rdx + 4], eax
lea rdx, [rsp + 0x20]
call fcn.7ff7c0114af0
mov ecx, dword [rbp + 0x18]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shr edx, 8
and ecx, 0xff00
shl eax, 0x10
or eax, ecx
shl eax, 8
or edx, eax
mov dword [rsi], edx
mov ecx, dword [rbp + 0x1c]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
shr ecx, 8
or edx, eax
and ecx, 0xff00
movzx eax, byte [rbp + 0x1f]
shl edx, 8
or edx, ecx
or edx, eax
mov dword [rsi + 4], edx
mov ecx, dword [rbp + 0x20]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
shr ecx, 8
or edx, eax
and ecx, 0xff00
movzx eax, byte [rbp + 0x23]
shl edx, 8
or edx, ecx
or edx, eax
mov dword [rsi + 8], edx
mov ecx, dword [rbp + 0x24]
mov edx, ecx
and edx, 0xff00
mov eax, ecx
shl eax, 0x10
or edx, eax
shl edx, 8
movzx eax, byte [rbp + 0x27]
shr ecx, 8
and ecx, 0xff00
or edx, ecx
or edx, eax
mov dword [rsi + 0xc], edx
mov ecx, dword [rbp + 0x28]
mov eax, ecx
and eax, 0xff00
mov edx, ecx
shl edx, 0x10
or edx, eax
shr ecx, 8
movzx eax, byte [rbp + 0x2b]
and ecx, 0xff00
shl edx, 8
or edx, eax
or edx, ecx
mov dword [rsi + 0x10], edx
xor eax, eax
mov qword [rbp + 0x2c], rax
mov dword [rbp + 0x18], 0x67452301
mov dword [rbp + 0x1c], 0xefcdab89
mov dword [rbp + 0x20], 0x98badcfe
mov dword [rbp + 0x24], 0x10325476
mov dword [rbp + 0x28], 0xc3d2e1f0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.7ff7c0121390
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7c01158e0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x2098
call fcn.7ff7c0142db0
sub rsp, rax
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x2080], rax
lea rax, ds:[rsp + 0x78]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x2078]
xor r9d, r9d
mov qword [rsp + 0x70], rax
lea rax, [0x7ff7c01d1620]
mov qword [rsp + 0x28], rax
lea rax, [0x7ff7c0115f30]
mov qword [rsp + 0x20], rax
call fcn.7ff7c0118310
test eax, eax
js 0x7ff7c01159fe
mov rax, qword [rsp + 0x68]
jle 0x7ff7c0115982
cmp rax, qword [rsp + 0x70]
jb 0x7ff7c0115972
lea rcx, [rsp + 0x60]
call fcn.7ff7c0116020
test eax, eax
js 0x7ff7c01159fe
mov rax, qword [rsp + 0x68]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x2090], rbx
lea rcx, [rsp + 0x78]
xor ebx, ebx
cmp rax, rcx
je 0x7ff7c01159dc
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
sub eax, ecx
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x60]
sub eax, 0x18
mov dword [rsp + 0x30], eax
xor r9d, r9d
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
setns bl
dec ebx
mov eax, ebx
mov rbx, qword [rsp + 0x2090]
mov rcx, qword [rsp + 0x2080]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x2098
ret
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2080]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x2098
ret

Function at 0x7ff7c0115f90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
je 0x7ff7c0116004
xor eax, eax
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov dword [rsp + 0x30], 0x2000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x7ff7c0116004
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x7ff7c0116004
add rax, 0x18
mov qword [rbx + 8], rdi
add rax, rbx
mov qword [rbx + 0x10], rax
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
add rsp, 0x60
pop rdi
ret

Function at 0x7ff7c0116020
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
je 0x7ff7c0116089
mov rax, qword [rcx + 8]
lea rdi, [rcx + 0x18]
cmp rax, rdi
je 0x7ff7c011607c
xor ecx, ecx
sub eax, ebx
mov qword [rsp + 0x40], rcx
sub eax, 0x18
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov rcx, qword [rbx]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x7ff7c0116089
mov qword [rbx + 8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
add rsp, 0x60
pop rdi
ret