joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400600f0
Capabilities:
Connect to http server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov sil, r9b
mov rdi, rdx
mov rbx, rcx
test r8b, r8b
je 0x14006011f
mov r8b, r9b
call fcn.140060228
jmp 0x140060213
mov ebp, dword [rcx + 0x90]
mov rcx, qword [rdx + 0x60]
mov eax, dword [rdx + 0xe0]
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r9, qword [rdx + 0x40]
movzx r8d, word [rdx + 0xe8]
mov rdx, qword [rdx + 0x20]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx], rax
test rax, rax
jne 0x14006017e
lea edx, [rax + 0x15]
xor r9d, r9d
mov r8d, 0xdeadbeef
mov rcx, rbx
call fcn.1400611fc
jmp 0x140060213
mov rdx, qword [rdi + 0xc0]
and qword [rsp + 0x20], 0
mov r9d, ebp
mov r8d, 0x80000000
mov rcx, rax
call qword [sym.imp.WININET.dll_FtpOpenFileW]
mov rcx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x48], rcx
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400601c4
xor r9d, r9d
lea edx, [rax + 0x16]
mov r8d, 0xdeadbeef
jmp 0x1400601fd
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, dword [rsp + 0x70]
shl rcx, 0x20
mov eax, eax
or rcx, rax
mov qword [rbx + 0x18], rcx
test sil, sil
je 0x1400601f5
mov rdx, rdi
mov rcx, rbx
call fcn.140060fe4
jmp 0x140060205
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.1400611fc
lea rcx, [rsp + 0x40]
mov bl, al
call fcn.140060090
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400604c0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
cmp dword [rdx + 0xe4], 4
mov r14d, dword [rcx + 0x90]
mov r12b, r9b
mov r15b, r8b
mov rsi, rdx
mov rbx, rcx
jne 0x1400604f8
bts r14d, 0x17
mov eax, dword [rdx + 0xe0]
mov r10, qword [rdx + 0x60]
mov r9, qword [rdx + 0x40]
movzx r8d, word [rdx + 0xe8]
mov rcx, qword [rcx + 8]
mov rdx, qword [rdx + 0x20]
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r10
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx], rax
test rax, rax
jne 0x140060553
lea edx, [rax + 0xb]
xor r9d, r9d
mov r8d, 0xdeadbeef
mov rcx, rbx
call fcn.1400611fc
jmp 0x140060691
mov r8, qword [rsi + 0xc0]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r14d
xor r9d, r9d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rcx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
test rax, rax
jne 0x14006059b
lea edx, [rax + 0xc]
jmp 0x140060673
test r15b, r15b
je 0x1400605ae
mov r8, rsi
mov rdx, rax
mov rcx, rbx
call fcn.140061278
bt r14d, 0xc
jae 0x1400605ed
mov r14d, 4
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x40]
lea esi, [r14 + 0x1b]
mov rcx, rdi
mov dword [rbp + 0x48], r14d
mov edx, esi
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
bts dword [rbp + 0x40], 8
lea r8, [rbp + 0x40]
mov r9d, r14d
mov edx, esi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x14006066e
mov rdx, rdi
call fcn.140060470
cmp eax, 0xc8
jne 0x14006066e
lea rax, [rbp + 0x40]
lea r9, [rbp + 0x48]
lea r8, [rbp - 0x20]
mov edx, 5
mov rcx, rdi
mov dword [rbp + 0x40], r13d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x48], reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
lea rcx, [rbp - 0x20]
mov word [rbp - 2], r13w
call fcn.140025960
mov rcx, rbx
mov qword [rbx + 0x18], rax
test r12b, r12b
je 0x140060664
mov rdx, rdi
call fcn.140060fe4
jmp 0x140060684
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x14006067f
mov edx, reloc.WSOCK32.dll_listen
xor r9d, r9d
mov r8d, 0xdeadbeef
mov rcx, rbx
call fcn.1400611fc
lea rcx, [rbp - 0x30]
mov bl, al
call fcn.140060090
mov al, bl
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140060e7c
Capabilities:
Create http request

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x140060e93
movzx eax, word [rcx + 0x100]
jmp 0x140060e9a
movzx eax, word [rcx + 0x98]
movsx ecx, ax
lea r8, [rbx + 0x148]
cmp edx, 1
je 0x140060eb0
lea r8, [rbx + 0xe0]
mov rax, qword [rbx + 0x168]
cmp ecx, 1
jne 0x140060ec0
mov edx, ecx
jmp 0x140060ed6
cmp ecx, 2
jne 0x140060ed4
mov r8, qword [r8]
lea r9, str._local_
lea edx, [rcx + 1]
jmp 0x140060edc
xor edx, edx
xor r9d, r9d
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140060f22
cmp byte [rbx + 0x19c], 0
je 0x140060f20
and dword [rsp + 0x44], 0
mov r9d, 8
lea r8, [rsp + 0x40]
lea edx, [r9 + 0x2a]
xor ecx, ecx
mov dword [rsp + 0x40], 1
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140060fe4
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
cmp byte [rcx + 0x48], 0
jne 0x1400610e8
jmp 0x140060ff4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x430
mov rbx, rcx
mov rcx, qword [rcx + 0x50]
mov rsi, rdx
lea rax, [fcn.1400284fc]
lea rdx, [0x1400c71b0]
mov qword [rsp + 0x28], rax
call fcn.140028394
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x14006103a
lea edx, [rax + 0x1f]
jmp 0x1400610b4
mov dword [rsp + 0x440], 1
lea r9, [rsp + 0x440]
lea rdx, [rsp + 0x30]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400610af
mov eax, dword [rsp + 0x440]
test eax, eax
je 0x140061094
lea rcx, [rsp + 0x30]
mov edx, eax
mov r9, rdi
mov r8d, 1
call fcn.140026fe0
mov ecx, dword [rsp + 0x440]
add qword [rbx + 0x10], rcx
test ecx, ecx
jne 0x140061045
cmp qword [rbx + 0x10], 0
mov rcx, rbx
jne 0x1400610a5
mov edx, SafeArrayDestroyDescriptor
jmp 0x1400610b7
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x1400610c0
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
xor r9d, r9d
mov r8d, 0xdeadbeef
call fcn.1400611fc
lea rcx, [rsp + 0x20]
mov bl, al
call fcn.140060090
lea r11, [rsp + 0x430]
mov rsi, qword [r11 + 0x20]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
lea rdx, [rax + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov dword [rax + 0x18], 1
mov qword [rax + 0x20], 1
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov rcx, qword [rsp + 0x48]
mov eax, 0x400
test rcx, rcx
cmove rcx, rax
cmp dword [rsp + 0x40], 0
mov qword [rsp + 0x48], rcx
je 0x140061191
call fcn.14005ffec
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14006119f
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140061189
lea rcx, [rbx + 0x70]
mov r8d, eax
mov rdx, rdi
call fcn.1400615c0
mov ecx, dword [rsp + 0x40]
add qword [rbx + 0x10], rcx
test ecx, ecx
je 0x140061191
mov rcx, qword [rsp + 0x48]
jmp 0x14006113d
mov rcx, rdi
call fcn.140024d50
cmp qword [rbx + 0x10], 0
jne 0x1400611b7
mov edx, SafeArrayDestroyDescriptor
jmp 0x1400611ac
mov rcx, rdi
call fcn.140024d50
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
xor r9d, r9d
mov r8d, 0xdeadbeef
jmp 0x1400611bf
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.1400611fc
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140060ff4
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
cmp byte [rcx + 0x48], 0
jne 0x1400610e8
jmp 0x140060ff4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x430
mov rbx, rcx
mov rcx, qword [rcx + 0x50]
mov rsi, rdx
lea rax, [fcn.1400284fc]
lea rdx, [0x1400c71b0]
mov qword [rsp + 0x28], rax
call fcn.140028394
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x14006103a
lea edx, [rax + 0x1f]
jmp 0x1400610b4
mov dword [rsp + 0x440], 1
lea r9, [rsp + 0x440]
lea rdx, [rsp + 0x30]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400610af
mov eax, dword [rsp + 0x440]
test eax, eax
je 0x140061094
lea rcx, [rsp + 0x30]
mov edx, eax
mov r9, rdi
mov r8d, 1
call fcn.140026fe0
mov ecx, dword [rsp + 0x440]
add qword [rbx + 0x10], rcx
test ecx, ecx
jne 0x140061045
cmp qword [rbx + 0x10], 0
mov rcx, rbx
jne 0x1400610a5
mov edx, SafeArrayDestroyDescriptor
jmp 0x1400610b7
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x1400610c0
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
xor r9d, r9d
mov r8d, 0xdeadbeef
call fcn.1400611fc
lea rcx, [rsp + 0x20]
mov bl, al
call fcn.140060090
lea r11, [rsp + 0x430]
mov rsi, qword [r11 + 0x20]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
lea rdx, [rax + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov dword [rax + 0x18], 1
mov qword [rax + 0x20], 1
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov rcx, qword [rsp + 0x48]
mov eax, 0x400
test rcx, rcx
cmove rcx, rax
cmp dword [rsp + 0x40], 0
mov qword [rsp + 0x48], rcx
je 0x140061191
call fcn.14005ffec
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14006119f
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140061189
lea rcx, [rbx + 0x70]
mov r8d, eax
mov rdx, rdi
call fcn.1400615c0
mov ecx, dword [rsp + 0x40]
add qword [rbx + 0x10], rcx
test ecx, ecx
je 0x140061191
mov rcx, qword [rsp + 0x48]
jmp 0x14006113d
mov rcx, rdi
call fcn.140024d50
cmp qword [rbx + 0x10], 0
jne 0x1400611b7
mov edx, SafeArrayDestroyDescriptor
jmp 0x1400611ac
mov rcx, rdi
call fcn.140024d50
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
xor r9d, r9d
mov r8d, 0xdeadbeef
jmp 0x1400611bf
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.1400611fc
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400610e8
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
cmp byte [rcx + 0x48], 0
jne 0x1400610e8
jmp 0x140060ff4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x430
mov rbx, rcx
mov rcx, qword [rcx + 0x50]
mov rsi, rdx
lea rax, [fcn.1400284fc]
lea rdx, [0x1400c71b0]
mov qword [rsp + 0x28], rax
call fcn.140028394
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x14006103a
lea edx, [rax + 0x1f]
jmp 0x1400610b4
mov dword [rsp + 0x440], 1
lea r9, [rsp + 0x440]
lea rdx, [rsp + 0x30]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400610af
mov eax, dword [rsp + 0x440]
test eax, eax
je 0x140061094
lea rcx, [rsp + 0x30]
mov edx, eax
mov r9, rdi
mov r8d, 1
call fcn.140026fe0
mov ecx, dword [rsp + 0x440]
add qword [rbx + 0x10], rcx
test ecx, ecx
jne 0x140061045
cmp qword [rbx + 0x10], 0
mov rcx, rbx
jne 0x1400610a5
mov edx, SafeArrayDestroyDescriptor
jmp 0x1400610b7
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x1400610c0
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
xor r9d, r9d
mov r8d, 0xdeadbeef
call fcn.1400611fc
lea rcx, [rsp + 0x20]
mov bl, al
call fcn.140060090
lea r11, [rsp + 0x430]
mov rsi, qword [r11 + 0x20]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
lea rdx, [rax + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov dword [rax + 0x18], 1
mov qword [rax + 0x20], 1
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov rcx, qword [rsp + 0x48]
mov eax, 0x400
test rcx, rcx
cmove rcx, rax
cmp dword [rsp + 0x40], 0
mov qword [rsp + 0x48], rcx
je 0x140061191
call fcn.14005ffec
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14006119f
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140061189
lea rcx, [rbx + 0x70]
mov r8d, eax
mov rdx, rdi
call fcn.1400615c0
mov ecx, dword [rsp + 0x40]
add qword [rbx + 0x10], rcx
test ecx, ecx
je 0x140061191
mov rcx, qword [rsp + 0x48]
jmp 0x14006113d
mov rcx, rdi
call fcn.140024d50
cmp qword [rbx + 0x10], 0
jne 0x1400611b7
mov edx, SafeArrayDestroyDescriptor
jmp 0x1400611ac
mov rcx, rdi
call fcn.140024d50
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
xor r9d, r9d
mov r8d, 0xdeadbeef
jmp 0x1400611bf
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.1400611fc
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400613b0
Capabilities:
Parse url

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rbx, rdx
xor edx, edx
mov rsi, r8
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x31]
call fcn.140024eb0
mov r14d, 1
mov rcx, rbx
mov dword [rbp - 9], r14d
mov dword [rbp - 0x19], r14d
mov dword [rbp - 0x29], r14d
mov dword [rbp + 0x27], r14d
mov dword [rbp + 0x17], r14d
mov dword [rbp + 7], r14d
mov dword [rbp - 0x39], 0xf0
call fcn.140024e38
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x140061514
mov r9d, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
xor r8d, r8d
mov rcx, rsi
call fcn.1400089a4
mov r9d, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x21]
lea rcx, [rsi + 0x20]
xor r8d, r8d
call fcn.1400089a4
mov r9d, dword [rbp - 9]
mov rdx, qword [rbp - 0x11]
lea rcx, [rsi + 0x40]
xor r8d, r8d
call fcn.1400089a4
mov r9d, dword [rbp + 7]
mov rdx, qword [rbp - 1]
lea rcx, [rsi + 0x60]
xor r8d, r8d
call fcn.1400089a4
mov r9d, dword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
lea rdi, [rsi + 0x80]
xor r8d, r8d
mov rcx, rdi
call fcn.1400089a4
mov r9d, dword [rbp + 0x27]
mov rdx, qword [rbp + 0x1f]
lea rbx, [rsi + 0xa0]
xor r8d, r8d
mov rcx, rbx
call fcn.1400089a4
lea rdx, [rbp + 0x37]
mov r8, rbx
mov rcx, rdi
call fcn.14003fbd0
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.1400075d4
lea rcx, [rbp + 0x37]
call fcn.14000838c
mov ecx, dword [rbp - 0x25]
movzx eax, word [rbp - 0x15]
mov dword [rsi + 0xe4], ecx
mov word [rsi + 0xe8], ax
dec ecx
je 0x14006150a
dec ecx
je 0x1400614fe
mov dword [rsi + 0xe0], 3
jmp 0x140061511
mov dword [rsi + 0xe0], 2
jmp 0x140061511
mov dword [rsi + 0xe0], r14d
mov al, r14b
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140061534
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rcx
cmp byte [rcx + 0x188], bl
je 0x140061574
test dl, dl
je 0x140061574
add rcx, 0x190
call fcn.1400600a8
lea rcx, [0x140061634]
mov r8, rdi
xor edx, edx
call fcn.140028df8
cmp dword [rdi + 0x20], ebx
sete al
jmp 0x140061579
call fcn.140060384
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140066f90
Capabilities:
Hash data with crc32

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
mov esi, dword [rsp + 0x30]
mov ebp, r9d
mov eax, r9d
shl eax, 2
mov edi, r8d
or r10d, 0xffffffff
imul ebp, dword [rsp + 0x30]
movsxd rbx, eax
shl ebp, 2
add rdi, rdx
add rbx, rdx
mov r11, rdx
mov r9, rdx
shl esi, 2
lea r14, [0x1400d92a0]
movzx eax, byte [r11 + 2]
movzx ecx, r10b
shr r10d, 8
xor rcx, rax
movzx eax, byte [r11 + 1]
mov edx, dword [r14 + rcx*4]
xor edx, r10d
movzx ecx, dl
shr edx, 8
xor rcx, rax
movzx eax, byte [r11]
add r11, rbp
mov r8d, dword [r14 + rcx*4]
xor r8d, edx
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
mov r10d, dword [r14 + rcx*4]
xor r10d, r8d
cmp r11, rdi
jb 0x14006702c
mov eax, esi
add r9, rax
mov r11, r9
cmp r9, rbx
jb 0x140066fda
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
xorps xmm0, xmm0
mov rdi, qword [rsp + 0x28]
not r10d
mov eax, r10d
cvtsi2sd xmm0, rax
pop r14
ret
Function at 0x140067058
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov eax, dword [r8 + 8]
mov rbx, r8
mov r8d, dword [r8]
mov r10d, dword [rbx + 0xc]
mov r11d, dword [rbx + 4]
cmp eax, r8d
setl dil
cmp r10d, r11d
setl r14b
test dil, dil
je 0x1400670a4
mov dword [rbx], eax
mov dword [rbx + 8], r8d
test r14b, r14b
je 0x1400670b1
mov dword [rbx + 4], r10d
mov dword [rbx + 0xc], r11d
mov r9, rdx
mov edx, dword [rcx + 0x1d4]
lea r8, [rbp + 0x67]
call fcn.140062c08
mov rax, qword [rbp + 0x67]
mov ecx, dword [rbp + 0x6b]
add dword [rbx + 8], eax
add dword [rbx + 0xc], ecx
add dword [rbx], eax
add dword [rbx + 4], ecx
mov r15d, dword [rbx + 8]
mov esi, dword [rbx + 0xc]
sub r15d, dword [rbx]
sub esi, dword [rbx + 4]
mov eax, 1
xor ecx, ecx
add r15d, eax
add esi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, esi
mov edx, r15d
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, r13
mov qword [rbp + 0x77], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [rbp + 0x77]
mov rcx, rax
mov r12, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, esi
mov qword [rbp - 0x19], rax
test r14b, r14b
je 0x140067130
neg ecx
mov eax, r15d
test dil, dil
je 0x14006713a
neg eax
test r14b, r14b
je 0x140067145
mov r8d, dword [rbx + 0xc]
jmp 0x140067149
mov r8d, dword [rbx + 4]
test dil, dil
je 0x140067153
mov edx, dword [rbx + 8]
jmp 0x140067155
mov edx, dword [rbx]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov r9d, r15d
xor edx, edx
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r14, qword [rbp + 0x77]
mov eax, esi
mov dword [rbp - 0xd], r15d
neg eax
xor r15d, r15d
xor r9d, r9d
mov dword [rbp - 9], eax
lea rax, [rbp - 0x11]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r14
mov rcx, r12
mov dword [rbp - 0x11], SafeArrayCreateEx
mov qword [rbp - 5], 0x200001
mov qword [rsp + 0x20], r15
call qword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [rbp + 3]
mov rcx, qword [rbp + 0x7f]
mov dword [rcx], eax
mov ecx, eax
call fcn.140024ca8
mov dword [rsp + 0x30], r15d
mov r9d, esi
mov rdi, rax
lea rax, [rbp - 0x11]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x20], rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rdx, qword [rbp - 0x19]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x14006723b
mov rax, rdi
jmp 0x140067245
mov rcx, rdi
call fcn.140024d50
xor eax, eax
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067e4c
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
mov r15d, 2
mov word [rdx], r15w
lea rdx, [rax - 0x38]
mov rcx, r8
mov esi, r9d
mov r14, r8
call fcn.140068060
mov rcx, qword [rax]
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea rcx, [rsp + 0x20]
mov ebp, eax
call fcn.14000838c
cmp ebp, 0xffffffff
jne 0x140067eb9
lea rdx, str.255.255.255.255
mov rcx, r14
call fcn.140042bc4
test al, al
je 0x140067eb9
lea edx, [r15 - 1]
jmp 0x140067eda
lea eax, [rsi - 1]
mov dword [rdi + 4], ebp
cmp eax, 0xfffe
ja 0x140067ed7
movzx ecx, si
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rdi + 2], ax
mov al, 1
jmp 0x140067eee
mov edx, r15d
mov rax, qword [rbx]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140057534
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14006d600
Capabilities:
Query environment variable

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 - 0x1f78]
mov eax, 0x2060
call fcn.1400357e0
sub rsp, rax
lea rcx, [rsp + 0x20]
mov r14, rdx
call fcn.1400137ec
lea rcx, [rsp + 0x40]
call fcn.1400137ec
mov rcx, r14
call fcn.140013224
xor r15d, r15d
movzx ecx, word [rax]
mov rsi, rax
mov dil, r15b
mov ebx, r15d
test cx, cx
je 0x14006d789
lea r12d, [r15 + 0x25]
inc rbx
cmp cx, r12w
jne 0x14006d738
cmp word [rsi + rbx*2], r12w
jne 0x14006d693
lea rcx, [rsp + 0x20]
mov edx, r12d
mov dil, 1
call fcn.140009264
inc rbx
jmp 0x14006d745
lea rdx, [0x1400b0af8]
lea rcx, [rsp + 0x40]
call fcn.140012d0c
jmp 0x14006d6bb
test ax, ax
je 0x14006d6c5
lea rcx, [rsp + 0x40]
movzx edx, ax
call fcn.140009264
inc rbx
movzx eax, word [rsi + rbx*2]
cmp ax, r12w
jne 0x14006d6a6
cmp word [rsi + rbx*2], r15w
je 0x14006d754
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0xfff
inc rbx
mov word [rsp + 0x60], r15w
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x20]
test eax, eax
je 0x14006d707
lea rdx, [rsp + 0x60]
call fcn.1400040c0
mov dil, 1
jmp 0x14006d745
lea rdx, [0x1400c7b34]
mov dil, 1
call fcn.1400040c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140013e50
lea rdx, [0x1400c7b34]
lea rcx, [rsp + 0x20]
call fcn.1400040c0
jmp 0x14006d745
movzx edx, cx
lea rcx, [rsp + 0x20]
call fcn.140009264
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x14006d667
jmp 0x14006d777
lea rdx, [0x1400c7b34]
lea rcx, [rsp + 0x20]
mov dil, 1
call fcn.1400040c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140013e50
test dil, dil
je 0x14006d789
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140006f48
lea rcx, [rsp + 0x40]
call fcn.14000838c
lea rcx, [rsp + 0x20]
call fcn.14000838c
lea r11, [rsp + 0x2060]
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