joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400779f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov r8d, 5
lea rdx, [0x1401ed120]
lea rcx, [rsp + 0x20]
call fcn.140020ae0
nop
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140077a50
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140026730
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140077ac4
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077abf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b2d
call fcn.14014f900
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140077b14
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077b0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b27
call fcn.14014f900
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014f8e0
add rsp, 0x70
pop rbx
ret
call fcn.140156b00
int3
call fcn.140156b00
int3

Function at 0x140077b40
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov r8d, 7
lea rdx, [0x1401ed140]
lea rcx, [rsp + 0x20]
call fcn.140020ae0
nop
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140077ba0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140026730
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140077c14
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077c0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077c7d
call fcn.14014f900
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140077c64
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077c5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077c77
call fcn.14014f900
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014f8e0
add rsp, 0x70
pop rbx
ret
call fcn.140156b00
int3
call fcn.140156b00
int3
Function at 0x140077c90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
lea r8d, [rdi + 7]
lea rdx, str.Error:
lea rcx, [rsp + 0x20]
call fcn.1400260f0
nop
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140077ce3
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400237f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140077d59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077d54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077dcf
call fcn.14014f900
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140077dae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077da9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077dc9
call fcn.14014f900
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014f8e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.140156b00
int3
call fcn.140156b00
int3

Function at 0x140077de0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
lea r8d, [rdi + 5]
lea rdx, str.Log:
lea rcx, [rsp + 0x20]
call fcn.1400260f0
nop
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140077e33
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400237f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140077ea9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077ea4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077f1f
call fcn.14014f900
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140077efe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077ef9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077f19
call fcn.14014f900
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014f8e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.140156b00
int3
call fcn.140156b00
int3
Function at 0x140077f30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
lea r8d, [rdi + 7]
lea rdx, str.Debug:
lea rcx, [rsp + 0x20]
call fcn.1400260f0
nop
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140077f83
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400237f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140077ff9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077ff4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007806f
call fcn.14014f900
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14007804e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078049
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078069
call fcn.14014f900
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014f8e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.140156b00
int3
call fcn.140156b00
int3

Function at 0x140078080
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov r8d, 8
lea rdx, str.state:_r_n
lea rcx, [rsp + 0x20]
call fcn.140020ae0
nop
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400780e0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140026730
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140078154
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007814f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400781bd
call fcn.14014f900
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400781a4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007819f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400781b7
call fcn.14014f900
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014f8e0
add rsp, 0x70
pop rbx
ret
call fcn.140156b00
int3
call fcn.140156b00
int3
Function at 0x14007af30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
mov r8, rdx
lea rdx, [rsp + 0x48]
call fcn.14007b140
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14007af85
mov bl, 1
jmp 0x14007b0cc
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call fcn.1401279c0
test al, al
jne 0x14007afa6
xor bl, bl
jmp 0x14007b0cc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x40], xmm0
lea rsi, vtable.NInstaller::CCatalogCabParser.0
mov qword [rsp + 0x70], rsi
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
xor edi, edi
mov qword [rsp + 0x78], rdi
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], rdi
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], al
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.1400238b0
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.14007c390
nop
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14007c640
movzx ebx, al
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14007b071
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b06b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007b132
call fcn.14014f900
nop
mov qword [rsp + 0x70], rsi
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14007b0b1
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b0ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007b138
call fcn.14014f900
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
lea rcx, [rsp + 0x78]
call fcn.140076dc0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14007b10a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b105
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007b12c
call fcn.14014f900
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14014f8e0
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
int3
Function at 0x14007d390
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rax, r8
mov rdi, rdx
mov qword [rbp - 0x49], rdx
lea rcx, vtable.CMD5Checksum.0
mov qword [rbp - 0x39], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
xor ebx, ebx
mov qword [rbp + 0xf], rbx
mov dword [rbp + 0x17], 0x67452301
mov dword [rbp + 0x1b], 0xefcdab89
mov dword [rbp + 0x1f], 0x98badcfe
mov dword [rbp + 0x23], 0x10325476
mov r8d, r9d
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.14007e850
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
mov r8d, ebx
lea rdx, [rbp + 0x29]
lea r9d, [rbx + 2]
nop dword [rax]
mov eax, r8d
lea rcx, [rax*4]
movzx eax, byte [rbp + rcx + 0xf]
mov byte [rdx - 2], al
movzx eax, byte [rbp + rcx + 0x10]
mov byte [rdx - 1], al
movzx eax, byte [rbp + rcx + 0x11]
mov byte [rdx], al
movzx eax, byte [rbp + rcx + 0x12]
mov byte [rdx + 1], al
inc r8d
lea rdx, [rdx + 4]
sub r9, 1
jne 0x14007d420
mov ecx, dword [rbp + 0xf]
shr ecx, 3
and ecx, 0x3f
mov eax, 0x78
sub eax, ecx
mov r8d, 0x38
sub r8d, ecx
cmp ecx, 0x38
cmovae r8d, eax
lea rdx, [0x14021c460]
lea rcx, [rbp - 0x39]
call fcn.14007e850
mov r8d, 8
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.14007e850
mov r8d, ebx
lea rdx, [rbp + 0x31]
mov r9d, 4
nop word [rax + rax]
mov eax, r8d
lea rcx, [rax*4]
movzx eax, byte [rbp + rcx + 0x17]
mov byte [rdx - 2], al
movzx eax, byte [rbp + rcx + 0x18]
mov byte [rdx - 1], al
movzx eax, byte [rbp + rcx + 0x19]
mov byte [rdx], al
movzx eax, byte [rbp + rcx + 0x1a]
mov byte [rdx + 1], al
inc r8d
lea rdx, [rdx + 4]
sub r9, 1
jne 0x14007d4b0
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x49]
call fcn.14007e460
nop
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rbx, qword [rbp - 0x49]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x14007d515
mov rdx, rbx
mov rcx, rdi
call fcn.1400260f0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14007d545
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14014f8e0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007dab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14007db25
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14007db25
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14007db15
nop
cmp rbx, rcx
jae 0x14007db25
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14007db00
cmp rbx, rcx
jae 0x14007db25
cmp word [rbx], 0
je 0x14007db25
mov rax, rbx
jmp 0x14007db27
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007e410
Capabilities:
Hash data with md5

Disassembly:
lea rax, vtable.CMD5Checksum.0
xorps xmm0, xmm0
mov qword [rcx], rax
xor eax, eax
movups xmmword [rcx + 8], xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rax
mov rax, rcx
mov dword [rcx + 0x50], 0x67452301
mov dword [rcx + 0x54], 0xefcdab89
mov dword [rcx + 0x58], 0x98badcfe
mov dword [rcx + 0x5c], 0x10325476
ret

Function at 0x14007f2a0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x14007f36c
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14007f36c
test rdx, rdx
je 0x14007f354
test r8, r8
je 0x14007f35d
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
call qword [0x1401ede58]
test eax, eax
je 0x14007f364
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + VariantCopy]
mov ecx, eax
call fcn.14007f560
mov qword [rsp + 0x28], rax
lea r8, str.C:_non_systemCodeMcCryptoLib_srcwindowswin_hmac.cpp
lea rax, str.McCryptoLib::CMcCryptoHMACWin::AddToHash
mov r9d, 0x99
lea rdx, str.__S:__d____S___s:_Error_trying_to_encrypt_data
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.14007f648
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + VariantCopy]
mov ebx, eax
jmp 0x14007f368
test r8, r8
je 0x14007f2d8
mov eax, 0x8000000a
jmp 0x14007f371
mov byte [rdi + 8], 1
mov eax, ebx
jmp 0x14007f371
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400846a0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rbx, rcx
cmp byte [rcx + 0x40], 0
je 0x140084739
call fcn.1400553d0
mov r8d, 3
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140055290
lea rax, str.EventSender.cpp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0xa3
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400244b0
lea rdx, str.Event_Sender_already_initialized_for_Azure
lea rcx, [rsp + 0x48]
call fcn.1400244e0
lea rcx, [rbp - 0x20]
call fcn.140058d50
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140128970
nop
mov al, 1
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
cmp qword [rcx + 0x48], 0
jne 0x1400848a1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401ef090]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1400848a1
lea r9, [rbx + 0x80]
mov dword [r9], 0x68
lea rax, [rbx + 0x2e8]
mov qword [rbx + 0x98], rax
mov dword [rbx + 0xa0], 0x100
lea rax, [rbx + 0xe8]
mov qword [rbx + 0xc8], rax
mov dword [rbx + 0xd0], 0x100
lea rcx, [rbx + 0x60]
cmp qword [rcx + 0x18], 8
jb 0x1400847ba
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x140084864
call fcn.1400553d0
mov r8d, 1
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140055290
lea rax, str.EventSender.cpp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], UnRegisterTypeLib
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400244b0
lea rdx, str.WinHttpCrackUrl_failed_for_Azure:
lea rcx, [rsp + 0x48]
call fcn.1400244e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140030540
lea rcx, [rbp - 0x20]
call fcn.140058d50
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140128970
nop
xor al, al
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
cmp word [rbx + 0xa4], 0
jne 0x14008488a
mov eax, 0x50
mov ecx, 0x1bb
cmp dword [rbx + 0x94], 2
cmove ax, cx
mov word [rbx + 0xa4], ax
mov byte [rbx + 0x40], 1
mov al, 1
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
call fcn.1400553d0
mov r8d, 1
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140055290
lea rax, str.EventSender.cpp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0xaa
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400244b0
lea rdx, str.Unable_to_open_HTTP_session_for_Azure
lea rcx, [rsp + 0x48]
call fcn.1400244e0
lea rcx, [rbp - 0x20]
call fcn.140058d50
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140128970
nop
xor al, al
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x14008d6f0
Capabilities:
Read http header

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14008d766
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.140152110
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xff
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r8 + 0x13]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14008d766
lea rcx, [rsp + 0x40]
call fcn.140170050
jmp 0x14008d768
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14014f8e0
add rsp, 0x150
pop rbx
ret
Function at 0x14009db90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movzx r14d, byte [rcx + 0x28]
mov ebp, r8d
mov ebx, dword [rdx]
xor r14d, 3
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
je 0x14009dc55
mov qword [rsp + 0x40], r15
lea r15, [0x1401c1d10]
nop dword [rax + rax]
mov eax, ebp
dec ebp
test eax, eax
je 0x14009dc3a
cmp byte [rbx + 5], 6
jne 0x14009dbf0
lea rdx, [rbx + 0x28]
mov r8d, 0x7fffff00
mov rcx, rsi
call fcn.14009db90
movzx ecx, byte [rbx + 4]
mov eax, ecx
xor eax, 3
test r14d, eax
je 0x14009dc11
movzx eax, byte [rsi + 0x28]
and cl, 0xf8
and al, 3
mov rdi, rbx
or cl, al
mov byte [rbx + 4], cl
jmp 0x14009dc33
mov eax, dword [rbx]
mov dword [rdi], eax
mov eax, dword [rsi + 0x30]
cmp rbx, rax
jne 0x14009dc22
mov eax, dword [rbx]
mov dword [rsi + 0x30], eax
movzx eax, byte [rbx + 5]
mov rdx, rbx
sub eax, 4
mov rcx, rsi
call qword [r15 + rax*8]
mov ebx, dword [rdi]
test rbx, rbx
jne 0x14009dbd0
mov r15, qword [rsp + 0x40]
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, rdx
jmp 0x14009dc42

Function at 0x1400a23f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r14
sub rsp, 0x20
mov rbp, rdx
mov rbx, r8
movzx edx, byte [rdx + 0x24]
mov r12, rcx
lea edx, [rdx*4 + 0x14]
call fcn.14009f060
lea r8d, [rbp + 0x40]
mov rdi, rax
mov word [rax + 5], 8
mov byte [rax + 7], 0
mov dword [rax + 0x10], r8d
mov dword [rax + 8], ebx
movzx edx, byte [rbp + 0x25]
movzx r14d, byte [rbp + 0x24]
add edx, 0x20
mov ecx, edx
shr ecx, 3
and cl, 0x20
sub dl, cl
mov byte [rbp + 0x25], dl
test r14b, r14b
je 0x1400a24cf
mov qword [rsp + 0x40], rsi
xor ebx, ebx
mov qword [rsp + 0x48], r15
lea rsi, [rax + 0x14]
mov r15d, r14d
nop word [rax + rax]
mov edx, 0x18
mov rcx, r12
call fcn.14009f060
lea rsi, [rsi + 4]
lea rbx, [rbx + 2]
mov word [rax + 5], 0x105
lea ecx, [rax + 8]
mov dword [rax + 0x10], ecx
mov dword [rax + 0xc], 0xffffffff
mov ecx, dword [rbp + 0x14]
movzx edx, word [rcx + rbx - 2]
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [rax + 0x14], edx
mov byte [rax + 7], cl
mov dword [rsi - 4], eax
sub r15, 1
jne 0x1400a2470
mov r15, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov byte [rdi + 7], r14b
jmp 0x1400a24d3
mov byte [rax + 7], r14b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret
Function at 0x1400abd50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rsi, r8
mov rbx, rcx
cmp rdx, rax
jbe 0x1400abe52
movsxd r9, dword [rdx + 4]
mov eax, r9d
and eax, 7
cmp al, 3
jne 0x1400abd89
mov rax, r9
and rax, 0xfffffffffffffff8
sub rdx, rax
movsxd rax, dword [rdx + 4]
mov r8, rdx
test al, 3
jne 0x1400abda7
mov eax, eax
movzx ecx, byte [rax - 3]
lea rcx, [rcx*8 + 8]
sub r8, rcx
jmp 0x1400abdae
and rax, 0xfffffffffffffff8
sub r8, rax
mov edi, dword [r8]
mov rcx, rbx
mov r8, rdx
mov edx, edi
call fcn.1400ab8b0
cmp eax, 0xffffffff
je 0x1400abe52
mov ecx, dword [rdi + 0x10]
lea r8, [0x1401c3c40]
mov eax, eax
sub rcx, 0x40
add rax, 0x10
mov r10d, dword [rcx + rax*4]
lea rdx, [rcx + rax*4]
movzx eax, r10b
movzx r8d, word [r8 + rax*2]
shr r8d, 0xb
cmp r8d, 9
jne 0x1400abe23
mov eax, r10d
shr eax, 8
movzx r9d, al
cmp r10b, 0x41
lea r8d, [r9 - 3]
cmovne r8d, r9d
mov r9, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400ac5e0
cmp r8d, 0x16
je 0x1400abe52
mov eax, dword [rbx + 8]
mov edx, dword [rax + r8*4 + 0x100]
lea rax, str.metamethod
add rdx, 0x10
mov qword [rsi], rdx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret