joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a1220
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400a123c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a1290
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400a13b5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400a13b5
test rax, rax
je 0x1400a13b5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400a13b5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400a132a
lea rax, [0x1400a1410]
jmp 0x1400a1383
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400a13b5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a13a3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400a1350
lea rax, [0x1400a13e0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400a13ca
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400a2110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400a211b
xor eax, eax
ret
lea r11, [0x1400c3e80]
not ecx
cmp r8d, 8
jb 0x1400a21f1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400a2140
test r8d, r8d
je 0x1400a221d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400a2200
not ecx
mov eax, ecx
ret
Function at 0x1400a6c8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a6cd6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a6cd6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a6cd6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a6cd6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a6cd6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a6cd8
xor al, al
add rsp, 0x28
ret
Function at 0x140003974
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400039be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400039be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400039be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400039be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400039be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400039c0
xor al, al
add rsp, 0x28
ret
Function at 0x140132021
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [rbx + rcx + 0x1c]
add byte [rax - 0x73], cl
cmp eax, 0xffeceaf5
adc eax, 0xf310d6c1
nop
jae 0x1401315ba
and al, 0x5c
div dh
div dh
ror edx, 0x1a
pause
jnp 0x1401306e3
je 0x140131d2d
jne 0x140131d2d
cmp rsi, rdi
jge 0x140132231
jle 0x14013296f
je 0x140131503
jmp rax
jmp fcn.14013222d
pop rcx
je 0x140132052
jne 0x140132052
pause
ror r11d, 0x2a
or r9d, 0xe361ceee
xor ebp, 0x3781cd31
jle 0x1401315f1
ror r8d, 0x3d
lea r10d, [rdx + 0xc26]
jne 0x14013160f
movabs r8, 0x6bcac0fffffcaee9
neg rdx
call fcn.1401323c0
div rbx
rcr r8d, 0xd4
pushfq
jmp 0x14013246f
jmp 0x140131d05
add dword [rax], eax
add bh, al
and al, 0x20
add al, byte [rax]
add byte [rax], al
ret
invalid
Function at 0x14013342a
Capabilities:
Contain obfuscated stackstrings
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
nop
mov byte [rsp + r13 + 0x36], 0
inc r13
cmp r13, 5
jmp 0x1401331b3
jb 0x14013316c
mov dword [rbp + 0x18], 0x76766b7e
mov word [rbp - 0x38], 0xf6f6
mov dword [rbp + 0x1c], 0x386e6f
mov byte [rbp - 0x36], 0xf6
nop dword [rax]
movzx eax, byte [rbp + rdx - 0x34]
jmp 0x14013328e
lea rdx, [rbp - 0x34]
xor ecx, ecx
call r12
xchg rbp, rax
jmp 0x1401333ac
movzx ecx, byte [rsp + rdx + 0x78]
add cl, al
mov byte [rbp + rdx - 0x34], cl
je 0x1401332bb
jne 0x1401332bb
lea edi, [rdx - 0xc95f]
rol r10d, 0xb4
test r14d, 0x64a4f49
mov edx, 0xd6f5b23a
mul rbx
dec r14
movabs r9, 0x5db8d900000167e9
pushf
inc r9
neg rdi
jp 0x14013266a
jmp 0x140133427
call fcn.140132faf
mov dword [rbp - 0x48], 0xf6f6f6f6
mov dword [rbp + 0xc], 0x7d6f766c
mov dword [rbp - 0x44], 0xf6f6f6f6
test bh, 0x45
adc byte [rdx], ch
imul edi, dword [rdi + rbp*2 - 0x39], 0x45
sal dh, 0xf6
div dh
test bh, 0x45
adc byte [rdx], ch
imul edi, dword [rdi + rbp*2 - 0x39], 0x45
sal dh, 0xf6
div dh
mov dword [rbp + 0x14], 0x7d78732a
mov dword [rbp - 0x3c], 0xf6f6f6f6
je 0x14013331b
jne 0x14013331b
xor r14d, 0x7fcac757
test r15d, 0x71d2a13c
movabs r9, 0x263d18fffffed2e9
rol r12d, 0xe2
pushf
jmp rcx
jmp 0x1401331f2
jb 0x14013320e
mov r9d, 0x10
lea r8, [rsp + 0x36]
jmp 0x140133218
mov rbp, r13
xchg rbp, rax
nop word [rax + rax]
mov byte [rbp + rax - 0x34], r13b
inc rax
cmp rax, 0x53
jb 0x1401333bc
jmp 0x14013316a
mov byte [rsp + rdx + 0x78], r13b
inc rdx
cmp rdx, 0x53
jmp 0x140133396

Function at 0x140133c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
div dh
jne 0x140133163
movabs rbp, 0x7979d37b2e885feb
call rax
lea r11d, [rcx - 0x681d]
xor edx, 0xb7ec85f9
cmp rdx, rdx
or ebx, 0x6349db1b
jmp 0x140134621
Function at 0x140028974
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1800012c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800012f1
xor eax, eax
lea r8, [0x1800010d0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x14000132b
Capabilities:
Allocate or change rwx memory
Patch event tracing for windows function

Disassembly:
push rsi
sub rsp, 0x30
lea rcx, [0x14009b1ed]
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.EtwEventWrite
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov rsi, rax
call sub.kernel32.dll_GetCurrentProcess
and dword [rsp + 0x20], 0
mov r8d, 1
mov rcx, rax
mov rdx, rsi
mov r9d, 0x40
call sub.kernel32.dll_VirtualProtectEx
call sub.kernel32.dll_GetCurrentProcess
and qword [rsp + 0x20], 0
lea r8, [0x14009b205]
mov r9d, 1
mov rcx, rax
mov rdx, rsi
call sub.kernel32.dll_WriteProcessMemory
call sub.kernel32.dll_GetCurrentProcess
and dword [rsp + 0x20], 0
mov r8d, 1
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call sub.kernel32.dll_VirtualProtectEx
nop
add rsp, 0x30
pop rsi
ret

Function at 0x14000c1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000c230
cmp r11, r10
ja 0x14000c2a7
cmp r10, rdx
ja 0x14000c2b9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14000c232
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000c210
jmp 0x14000c294
ja 0x14000c23a
mov r11, r10
cmp rax, r8
jne 0x14000c1de
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000c270
mov rdi, r8
sub ecx, edx
jns 0x14000c28b
jmp 0x14000c296
cmp r8, rsi
je 0x14000c2c8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000c296
xor al, 1
cmp rdi, rsi
jne 0x14000c250
jmp 0x14000c296
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140097980
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400975e0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400979f0
int3

Function at 0x14000e577
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14000e59d
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14000e587
mov qword [rcx], rax
ret

Function at 0x14000e730
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.14002240f
test rbx, rbx
je 0x14000e769
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14000e577
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14000e56f
Function at 0x14002b584
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx + 0xf0], 0xa
lea rcx, str.2r5u8x_A_DG_KaP7x_A_DG_KaPdSgV___Proc_ID:
call fcn.14002b681
mov edi, eax
mov dword [rsi], eax
lea rcx, [0x14009b38c]
call fcn.14002b681
mov dword [rsi + 4], eax
lea rcx, [0x14009b390]
call fcn.14002b681
mov dword [rsi + 8], eax
lea rcx, [0x14009b394]
call fcn.14002b681
mov dword [rsi + 0xc], eax
xor ecx, ecx
lea rdx, [0x1400c36c8]
mov r8d, 0xff
lea r9, [0x1400c3ac8]
lea r10, [0x1400c3ec8]
lea r11, [0x1400c42c8]
lea rbx, [0x1400c46c8]
mov r14d, eax
shr r14d, 0xe
and r14d, 0x3fc
movzx ebp, byte [r14 + rdx + 3]
shl ebp, 0x18
xor ebp, edi
mov edi, eax
shr edi, 8
and edi, r8d
movzx edi, byte [r9 + rdi*4 + 2]
shl edi, 0x10
mov r14d, eax
and r14d, r8d
movzx r14d, byte [r10 + r14*4 + 1]
shl r14d, 8
xor r14d, edi
xor r14d, ebp
mov edi, eax
shr edi, 0x18
movzx edi, byte [r11 + rdi*4]
xor edi, r14d
xor edi, dword [rcx + rbx]
mov dword [rsi + rcx*4 + 0x10], edi
mov ebp, dword [rsi + rcx*4 + 4]
xor ebp, edi
mov dword [rsi + rcx*4 + 0x14], ebp
xor ebp, dword [rsi + rcx*4 + 8]
mov dword [rsi + rcx*4 + 0x18], ebp
xor eax, ebp
mov dword [rsi + rcx*4 + 0x1c], eax
add rcx, 4
cmp rcx, 0x28
jne 0x14002b600
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400443d9
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x1400443eb
add rcx, 8
jmp fcn.14008dcdc
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r14, r9
mov r15, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140044655
mov eax, dword [rdi]
cmp eax, 2
jne 0x140044429
mov rdi, qword [rsp + 0x30]
jmp 0x1400445fb
test eax, eax
je 0x1400445b4
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x1400445eb
mov rbx, qword [rsp + 0x30]
mov eax, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r12d, dword [rsp + 0x2c]
lea r14, [rbx + r12]
add rax, r14
cmp rdx, rax
jae 0x14004447e
lea rcx, [rsi + 0x80]
mov rdx, rax
call fcn.14000694c
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, [0x1400cb608]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400452d1
lea rcx, [0x1400cb620]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.14007af2d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x1400cb638]
mov r8, r12
call fcn.1400452e8
mov r15, rax
mov r13, rdx
xor eax, eax
test r15, r15
cmove r13d, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea rax, [0x1400cb650]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400452d1
mov r12, rax
mov rbp, rdx
test rax, rax
mov eax, 0
cmove ebp, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x1400cb668]
mov r8, r14
call fcn.1400443c8
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400445c0
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x1400445fb
movabs rdi, 0x8009031700000002
jmp 0x1400445fb
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x1400445dc
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], rbx
mov rcx, rsi
call fcn.140045213
test rax, rax
je 0x140044645
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.1400109d7
and qword [rsi + 0x38], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x140044631
lea rcx, [rsp + 0x30]
call fcn.140020367
mov eax, 2
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x118]
and qword [rsi + 0x38], 0
xor eax, eax
jmp 0x140044631
Function at 0x140045528
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, [0x1400cb5d8]
call fcn.1400452e8
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xf0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140045677
test eax, eax
je 0x140045604
cmp eax, 0x90317
je 0x140045671
cmp eax, 0x90321
jne 0x140045695
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400454d2
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1400456a3
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.1400456b7
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14000674d
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400454d2
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1400456a3
mov byte [rsi + 1], 1
jmp 0x140045691
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400456a3
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140045947
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, [0x1400cb5d8]
call fcn.1400452e8
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140045ab7
test eax, eax
je 0x140045a2f
cmp eax, 0x90317
je 0x140045ab1
cmp eax, 0x90321
jne 0x140045ad5
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400458e8
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140045ae3
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.1400456b7
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14000674d
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400458e8
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140045ae3
mov byte [rsi + 1], 1
jmp 0x140045ad1
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140045ae3
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140045aed
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140045aff
add rcx, 8
jmp fcn.14008da78
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.140045c6a
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x30]
mov rcx, rsi
call fcn.140045d3b
test rdx, rdx
jne 0x140045b96
mov rcx, r12
mov rdx, rsi
call fcn.140044655
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x140045bfd
test eax, eax
je 0x140045b96
cmp qword [rsi + 0x110], 0
je 0x140045b7d
mov rcx, rsi
call fcn.140045342
mov rbx, rdx
test rax, rax
jne 0x140045c09
test rbx, rbx
je 0x140045b96
and qword [rsi + 0x110], 0
mov rcx, r12
mov rdx, rsi
call fcn.140045528
cmp byte [rsp + 0x30], 0
jne 0x140045bfd
cmp byte [rsp + 0x31], 0
je 0x140045b29
mov rcx, rsi
call fcn.140045d3b
mov rbx, rdx
test rax, rax
je 0x140045c09
mov r12, rax
cmp r15, rbx
cmovb rbx, r15
lea r9, [0x1400cae78]
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.1400452f9
lea rcx, [0x1400cae90]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, rbx
call fcn.14007af2d
mov rax, qword [rsi + 0x58]
add rax, rbx
cmp rax, qword [rsi + 0x50]
ja 0x140045c51
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140045cd7
jmp 0x140045c37
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x140045c13
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140045c37
mov rcx, rbx
call fcn.1400109d7
and qword [rsi + 0x38], 0
cmp al, 0xd
jne 0x140045c3e
lea rcx, [rsp + 0x30]
call fcn.140020367
mov eax, 1
xor ebx, ebx
jmp 0x140045c40
and qword [rsi + 0x38], 0
xor ebx, ebx
xor eax, eax
mov rdx, rbx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400caf96]
lea r8, [0x1400cafd8]
mov edx, 0x3b
call fcn.140097650
int3

Function at 0x140048f2d
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x328
mov rbx, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], r8
je case.0x14007dff9.326
cmp eax, 3
jne case.default.0x140048f7c
mov r15, r8
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x1400f9a48]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
lea rcx, str._Users_swizzer_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.27_src_client_connect_http.rs
call fcn.140097cf0
add al, 0