joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140086054
Capabilities:
Create http request

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x14008606b
movzx eax, word [rcx + 0x100]
jmp 0x140086072
movzx eax, word [rcx + 0x98]
movsx ecx, ax
lea r8, [rbx + 0x148]
cmp edx, 1
je 0x140086088
lea r8, [rbx + 0xe0]
mov rax, qword [rbx + 0x168]
cmp ecx, 1
jne 0x140086098
mov edx, ecx
jmp 0x1400860ae
cmp ecx, 2
jne 0x1400860ac
mov r8, qword [r8]
lea r9, str._local_
lea edx, [rcx + 1]
jmp 0x1400860b4
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 0x1400860fa
cmp byte [rbx + 0x19c], 0
je 0x1400860f8
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 0x1400861bc
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:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x420
mov rbx, rcx
mov rcx, qword [rcx + 0x50]
mov rsi, rdx
lea rdx, [0x1400d1700]
call fcn.14002b094
mov rdi, rax
test rax, rax
jne 0x1400861f1
lea edx, [rax + 0x1f]
jmp 0x14008626b
mov dword [rsp + 0x430], 1
lea r9, [rsp + 0x430]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140086266
mov eax, dword [rsp + 0x430]
test eax, eax
je 0x14008624b
lea rcx, [rsp + 0x20]
mov edx, eax
mov r9, rdi
mov r8d, 1
call fcn.140029210
mov ecx, dword [rsp + 0x430]
add qword [rbx + 0x10], rcx
test ecx, ecx
jne 0x1400861fc
cmp qword [rbx + 0x10], 0
mov rcx, rbx
jne 0x14008625c
mov edx, SafeArrayDestroyDescriptor
jmp 0x14008626e
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x140086277
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
xor r9d, r9d
mov r8d, 0xdeadbeef
call fcn.1400863ec
mov bl, al
test rdi, rdi
je 0x14008628b
mov rcx, rdi
call fcn.14002b1fc
lea r11, [rsp + 0x420]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14008656c
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.1400272c0
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.140027098
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1400866d0
mov r9d, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
xor r8d, r8d
mov rcx, rsi
call fcn.14001e8a8
mov r9d, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x21]
lea rcx, [rsi + 0x20]
xor r8d, r8d
call fcn.14001e8a8
mov r9d, dword [rbp - 9]
mov rdx, qword [rbp - 0x11]
lea rcx, [rsi + 0x40]
xor r8d, r8d
call fcn.14001e8a8
mov r9d, dword [rbp + 7]
mov rdx, qword [rbp - 1]
lea rcx, [rsi + 0x60]
xor r8d, r8d
call fcn.14001e8a8
mov r9d, dword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
lea rdi, [rsi + 0x80]
xor r8d, r8d
mov rcx, rdi
call fcn.14001e8a8
mov r9d, dword [rbp + 0x27]
mov rdx, qword [rbp + 0x1f]
lea rbx, [rsi + 0xa0]
xor r8d, r8d
mov rcx, rbx
call fcn.14001e8a8
lea rdx, [rbp + 0x37]
mov r8, rbx
mov rcx, rdi
call fcn.140065e50
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.14001f504
lea rcx, [rbp + 0x37]
call fcn.14001c5f8
mov ecx, dword [rbp - 0x25]
movzx eax, word [rbp - 0x15]
mov dword [rsi + 0xe4], ecx
mov word [rsi + 0xe8], ax
dec ecx
je 0x1400866c6
dec ecx
je 0x1400866ba
mov dword [rsi + 0xe0], 3
jmp 0x1400866cd
mov dword [rsi + 0xe0], 2
jmp 0x1400866cd
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 0x1400866f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp byte [rcx + 0x188], bl
je 0x140086756
test dl, dl
je 0x140086756
mov rcx, qword [rcx + 0x190]
test rcx, rcx
je 0x140086724
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x190], rbx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [0x1400867a4]
mov r8, rdi
xor edx, edx
mov qword [rdi + 0x190], rax
call fcn.14002bb18
cmp dword [rdi + 0x20], ebx
sete al
jmp 0x14008675b
call fcn.1400853d4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14008c694
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, [0x1400cde90]
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 0x14008c730
mov eax, esi
add r9, rax
mov r11, r9
cmp r9, rbx
jb 0x14008c6de
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 0x14008d528
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 rbx, rcx
lea rcx, [rax - 0x38]
mov r15d, 2
mov esi, r9d
mov r14, r8
mov rdi, rdx
mov word [rdx], r15w
call fcn.14001c878
lea r8, [rsp + 0x20]
mov rdx, r14
call fcn.14008d8a4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea rcx, [rsp + 0x20]
mov ebp, eax
call fcn.14001c5f8
cmp ebp, 0xffffffff
jne 0x14008d5b7
lea rdx, str.255.255.255.255
mov rcx, r14
call fcn.140068c90
test al, al
je 0x14008d5b7
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rbx, rcx
lea rcx, [rbx + 8]
call fcn.1400051b0
mov dword [rax + 0x1c], 1
jmp 0x14008d5ec
lea eax, [rsi - 1]
mov dword [rdi + 4], ebp
cmp eax, 0xfffe
ja 0x14008d5d5
movzx ecx, si
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rdi + 2], ax
mov al, 1
jmp 0x14008d5fb
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rbx, rcx
lea rcx, [rbx + 8]
call fcn.1400051b0
mov dword [rax + 0x1c], r15d
lea rcx, [rbx + 8]
call fcn.1400051b0
mov byte [rax + 0x20], 0
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 0x14008d614
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
and dword [r8], 0
mov qword [r8 + 8], rdx
inc dword [r8]
mov r14, rdx
mov eax, 0x10624dd3
mov rbx, rcx
xor ecx, ecx
mov rdi, r8
imul r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x50], edx
imul eax, edx, 0x3e8
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
mov dword [rsp + 0x54], eax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
cmp byte [rsp + 0x60], cl
je 0x14008d67e
xor edx, edx
jmp 0x14008d684
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.WSOCK32.dll_select]
mov esi, eax
test eax, eax
jne 0x14008d6b2
cmp byte [rsp + 0x60], al
je 0x14008d70a
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rbx, rcx
lea rcx, [rbx + 8]
call fcn.1400051b0
mov dword [rax + 0x1c], 0x274c
jmp 0x14008d6fd
jle 0x14008d6df
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
jne 0x14008d70a
lea esi, [rax - 2]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rbx, rcx
lea rcx, [rbx + 8]
call fcn.1400051b0
mov dword [rax + 0x1c], esi
jmp 0x14008d6fd
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov edi, eax
add rbx, rdx
lea rcx, [rbx + 8]
call fcn.1400051b0
mov dword [rax + 0x1c], edi
lea rcx, [rbx + 8]
call fcn.1400051b0
mov byte [rax + 0x20], 0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret
Function at 0x14009273c
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.140039090
sub rsp, rax
lea rcx, [rsp + 0x20]
mov r14, rdx
call fcn.14001e7d0
lea rcx, [rsp + 0x40]
call fcn.14001e7d0
mov rcx, r14
call fcn.140006d94
xor r15d, r15d
movzx ecx, word [rax]
mov rsi, rax
mov dil, r15b
test cx, cx
je 0x1400928c5
mov ebx, r15d
lea r12d, [r15 + 0x25]
inc rbx
cmp cx, r12w
jne 0x140092874
cmp word [rsi + rbx*2], r12w
jne 0x1400927cf
lea rcx, [rsp + 0x20]
mov edx, r12d
mov dil, 1
call fcn.14001ecbc
inc rbx
jmp 0x140092881
lea rdx, [0x1400ac2e8]
lea rcx, [rsp + 0x40]
call fcn.14001efd8
jmp 0x1400927f7
test ax, ax
je 0x140092801
lea rcx, [rsp + 0x40]
movzx edx, ax
call fcn.14001ecbc
inc rbx
movzx eax, word [rsi + rbx*2]
cmp ax, r12w
jne 0x1400927e2
cmp word [rsi + rbx*2], r15w
je 0x140092890
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 0x140092843
lea rdx, [rsp + 0x60]
call fcn.14001f100
mov dil, 1
jmp 0x140092881
lea rdx, [0x1400d1fe4]
mov dil, 1
call fcn.14001f100
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001ee40
lea rdx, [0x1400d1fe4]
lea rcx, [rsp + 0x20]
call fcn.14001f100
jmp 0x140092881
movzx edx, cx
lea rcx, [rsp + 0x20]
call fcn.14001ecbc
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x1400927a3
jmp 0x1400928b3
lea rdx, [0x1400d1fe4]
lea rcx, [rsp + 0x20]
mov dil, 1
call fcn.14001f100
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001ee40
test dil, dil
je 0x1400928c5
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140006a44
lea rcx, [rsp + 0x40]
call fcn.14001c5f8
lea rcx, [rsp + 0x20]
call fcn.14001c5f8
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
Function at 0x140026ac0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140026b8c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140026b8c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140026ba5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140026b7c
cmp byte [rax], 0x5c
jne 0x140026b76
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140026b76
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140026b62
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140026b73
test r8b, 0x10
jne 0x140026b76
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140026b76
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14002a740
test edi, edi
jne 0x140026ae0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.1400280b0
int3

Function at 0x14002b1b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14002b1e4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14002b1d0
ret
Function at 0x14002dbb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400e9380]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14002dbdd
xor eax, eax
jmp 0x14002dd2b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002dc17
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14002dc17
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14002dd2b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14002dd1e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002dc5a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14002dc69
movsx ecx, dil
jmp 0x14002dcbd
lea r8, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x41]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x14002dcd7
sub eax, 1
je 0x14002dcd7
cmp eax, 2
jne 0x14002dd1e
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call fcn.14008bad4
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002dd23
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14002dd04
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14008c3c0
cmp rsi, rax
jne 0x14002dd1e
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14002dd23
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007cba0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14002e3e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14002e411
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14002e48b
mov rdi, r14
mov rcx, rbx
call fcn.140028a80
test rax, rax
jle 0x14002e463
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400a0c60
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14002e47b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14002e483
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14002e425
sub r14, rdi
jmp 0x14002e56f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14002e4a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002e4a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002e4d6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400a0c60
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14002e56c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002e511
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14002e54d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14008be58
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14002e56c
cmp rbp, rax
ja 0x14002e520
test rbp, rbp
je 0x14002e56c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14008be58
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002e590
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14002e628
test r8, r8
jle 0x14002e620
nop word [rax + rax]
mov rcx, rdi
call fcn.140029e50
test rax, rax
jle 0x14002e5fe
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.1400a0c60
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14002e618
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp eax, 0xffffffff
je 0x14002e620
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14002e5c0
sub r14, rbx
mov rax, r14
jmp 0x14002e6a6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x14002e641
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002e643
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14002e69b
test ecx, ecx
jle 0x14002e67c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1400a0c60
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14002e69b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002e69b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14008c3c0
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140031e90
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400ebb80], 0
jne 0x140031f80
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400ae318]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400ae328]
call sub.mscoree.dll_CLRCreateInstance
lea rdi, [0x1400ebb80]
test eax, eax
js 0x140031f44
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400ae338]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140031f35
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400ae368]
mov r9, rdi
lea rdx, [0x1400ae358]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140031f2a
mov rcx, qword [0x1400ebb80]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x140031f80
cmp qword [0x1400ebb80], 0
jne 0x140031f80
lea r9, [0x1400ae368]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400ae358]
xor edx, edx
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
test eax, eax
js 0x140031f8d
mov rcx, qword [0x1400ebb80]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400ae448]
lea rdx, [0x1400ae460]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x140037820
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor ebp, ebp
add rcx, 0x10
call fcn.14004fdf0
mov ecx, dword [rdi + 0x330]
test al, al
je 0x1400379a0
cmp ecx, 1
je 0x140037995
mov dword [rdi + 0x330], 1
lea rcx, [0x1400eb630]
call fcn.14003d590
test al, al
je 0x140037a03
cmp byte [rdi + 0x4b8], bpl
jne 0x140037a0b
mov byte [rdi + 0x4b8], 1
cmp qword [0x1400eb288], rbp
je 0x1400378c2
lea rcx, [rdi + 0x80]
call fcn.14005b240
lea rcx, [rdi + 0x80]
call fcn.14005b1c0
mov rcx, qword [0x1400eb288]
test rcx, rcx
je 0x140037a11
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.14003c5c0
mov rcx, rdi
call fcn.14003aac0
lea rcx, [rdi + 0x10]
call fcn.14004fd00
test al, al
je 0x140037a03
lea rcx, [rdi + 0x10]
call fcn.140050440
lea rbx, [rdi + 0x550]
cmp byte [rbx + 8], bpl
jne 0x140037989
cmp qword [rbx + 0x18], rbp
je 0x140037989
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.14007c6f0
test rax, rax
je 0x14003792a
mov qword [rax], rbx
jmp 0x14003792d
mov rax, rbp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140032be0]
xor edx, edx
xor ecx, ecx
call fcn.14008ca4c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140037a22
cmp dword [rsp + 0x38], 0
je 0x140037a17
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14007b99c
test eax, eax
jne 0x140037a17
mov dl, 1
mov rcx, rdi
call fcn.14003c5c0
jmp 0x1400379ee
lea rcx, [rdi + 0x10]
call fcn.140004230
jmp 0x1400379ee
test ecx, ecx
je 0x1400379ee
cmp ecx, 1
jne 0x1400379b2
lea rcx, [rdi + 0x10]
call fcn.140004230
mov dword [rdi + 0x330], ebp
mov rcx, rdi
call fcn.14003aac0
mov byte [rdi + 0x558], bpl
mov ebx, 0x1388
cmp byte [rdi + 0x559], bpl
je 0x1400379ee
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0x32
js 0x1400379ee
cmp byte [rdi + 0x559], bpl
jne 0x1400379d5
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.14008d014
int3
call fcn.14003c4c0
int3
call fcn.14007aa0c
nop
mov ecx, 1
call fcn.14007ad78
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14007ad78
int3