joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3990
Capabilities:
Parse pe header

Disassembly:
cmp r8, 1
mov r10, rcx
jb 0x4b3a63
lea r11, [0x00400000]
movsx r9d, byte [rdx]
lea eax, [r9 - 0x61]
cmp eax, 0x19
ja case.default.0x4b39c2
cdqe
mov ecx, dword [r11 + rax*4 + 0xb3a68]
add rcx, r11
jmp rcx
mov r9b, 0x41
jmp case.default.0x4b39c2
mov r9b, 0x42
jmp case.default.0x4b39c2
mov r9b, 0x43
jmp case.default.0x4b39c2
mov r9b, 0x44
jmp case.default.0x4b39c2
mov r9b, 0x45
jmp case.default.0x4b39c2
mov r9b, 0x46
jmp case.default.0x4b39c2
mov r9b, 0x47
jmp case.default.0x4b39c2
mov r9b, 0x48
jmp case.default.0x4b39c2
mov r9b, 0x49
jmp case.default.0x4b39c2
mov r9b, 0x4a
jmp case.default.0x4b39c2
mov r9b, 0x4b
jmp case.default.0x4b39c2
mov r9b, 0x4c
jmp case.default.0x4b39c2
mov r9b, 0x4d
jmp case.default.0x4b39c2
mov r9b, 0x4e
jmp case.default.0x4b39c2
mov r9b, 0x4f
jmp case.default.0x4b39c2
mov r9b, 0x50
jmp case.default.0x4b39c2
mov r9b, 0x51
jmp case.default.0x4b39c2
mov r9b, 0x52
jmp case.default.0x4b39c2
mov r9b, 0x53
jmp case.default.0x4b39c2
mov r9b, 0x54
jmp case.default.0x4b39c2
mov r9b, 0x55
jmp case.default.0x4b39c2
mov r9b, 0x56
jmp case.default.0x4b39c2
mov r9b, 0x57
jmp case.default.0x4b39c2
mov r9b, 0x58
jmp case.default.0x4b39c2
mov r9b, 0x59
jmp case.default.0x4b39c2
mov r9b, 0x5a
mov byte [r10], r9b
movzx eax, byte [rdx]
inc r10
inc rdx
test al, al
je 0x4b3a63
dec r8
jne 0x4b39a4
ret 0

Function at 0x4b3b50
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x005c3458]
mov qword [rsp + 0x130], rax
call qword [sym.imp.msvcrt.dll_getenv]
mov byte [rsp + 0x20], 0
test rax, rax
je 0x4b3bb1
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x4b3bb1
lea rcx, [rsp + 0x20]
call qword [case.0x49474c.1]
mov rcx, qword [rsp + 0x130]
call fcn.005555b0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
call fcn.005555b0
add rsp, 0x148
ret

Function at 0x4b6200
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x38], edx
lea r8, [rsp + 0x38]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret

Function at 0x4b62f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
je 0x4b631a
cmp rax, 0xffffffffffffffff
jne 0x4b631c
xor eax, eax
add rsp, 0x38
ret
Function at 0x4b81f0
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
sub rsp, 0xa8
mov rax, qword [0x005c3458]
mov qword [rsp + 0x80], rax
xor eax, eax
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rbp, rcx
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
mov rdi, rdx
xor ebx, ebx
mov rsi, rdx
mov rcx, 0xffffffffffffffff
mov r8d, 1
mov edx, ebx
repne scasb al, byte [rdi]
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
not rcx
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
lea rdi, [rcx - 1]
lea ecx, [rcx*8 - 8]
lea eax, [rdi*8]
mov dword [rsp + 0x30], ecx
cmp ecx, eax
mov eax, edi
cmovb edx, r8d
shr eax, 0x1d
add edx, eax
cmp edi, 0x40
mov dword [rsp + 0x34], edx
jb 0x4b82f9
mov rax, qword [rsi]
lea rdx, [r11 - 0x70]
lea rcx, [rsp + 0x20]
mov qword [r11 - 0x70], rax
mov rax, qword [rsi + 8]
mov qword [r11 - 0x68], rax
mov rax, qword [rsi + 0x10]
mov qword [r11 - 0x60], rax
mov rax, qword [rsi + 0x18]
mov qword [r11 - 0x58], rax
mov rax, qword [rsi + 0x20]
mov qword [r11 - 0x50], rax
mov rax, qword [rsi + 0x28]
mov qword [r11 - 0x48], rax
mov rax, qword [rsi + 0x30]
mov qword [r11 - 0x40], rax
mov rax, qword [rsi + 0x38]
mov qword [r11 - 0x38], rax
call fcn.004b7670
cmp edi, 0x7f
mov ebx, 0x40
jbe 0x4b82f9
nop
mov edx, ebx
lea rcx, [rsp + 0x20]
add rdx, rsi
call fcn.004b7670
add ebx, 0x40
lea eax, [rbx + 0x3f]
cmp eax, edi
jb 0x4b82e0
sub edi, ebx
mov edx, ebx
lea rcx, [rsp + 0x38]
mov r8d, edi
add rdx, rsi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.004b7fd0
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
call fcn.005555b0
add rsp, 0xa8
ret
Function at 0x4be0b0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rcx
mov r11, rsp
sub rsp, 0x88
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 - 8], rdi
mov qword [r11 - 0x10], r12
mov rsi, rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [r11 - 0x30], r12
lea rax, [r11 - 0x30]
mov qword [r11 - 0x68], rax
lea r9, [0x0057a5e0]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x0057a6b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4be117
mov ecx, eax
call fcn.004480c0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x4be130
mov ecx, 0x80004003
call fcn.004480c0
mov rbx, qword [rsp + 0x58]
mov ecx, 0x18
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x4be173
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x0057a4f8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x4be176
mov ecx, 0x8007000e
call fcn.004480c0
jmp 0x4be176
mov rdi, r12
mov qword [rsp + 0x50], rdi
test rdi, rdi
jne 0x4be18b
mov ecx, 0x8007000e
call fcn.004480c0
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x4be199
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsi], r12
test rdi, rdi
je 0x4be1a6
mov rdx, qword [rdi]
jmp 0x4be1a9
mov rdx, r12
mov rax, qword [rbx]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
sets bpl
test rdi, rdi
je 0x4be210
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
dec ecx
jne 0x4be210
mov rcx, qword [rdi]
test rcx, rcx
je 0x4be1fa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x4be208
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov rcx, rdi
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
test bpl, bpl
je 0x4be21c
mov ecx, ebx
call fcn.004480c0
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4be255
mov ecx, eax
call fcn.004480c0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x4be26b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, rsi
jmp 0x4be26e
mov rax, rsi
mov rbx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x80]
mov r12, qword [rsp + 0x78]
add rsp, 0x88
ret
Function at 0x4d7150
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.005555e0
sub rsp, rax
mov qword [rsp + 0x40], rbx
mov rbx, r8
call fcn.004d6b90
test eax, eax
js 0x4d738e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
test eax, eax
movsxd r9, eax
jle 0x4d71d9
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x4d7190
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x4d738c
mov qword [rsp + 0x48], rdi
lea r10, [rbx + 2]
lea rdi, [0x00400000]
nop
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov rax, r8
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x17d060]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x17d060]
mov r9d, dword [rdi + rdx*4 + 0x17dc60]
movzx eax, r8b
movzx eax, byte [rdi + rax*4 + 0x17d060]
xor r9d, dword [rdi + rcx*4 + 0x17e460]
xor r9d, dword [rdi + rax*4 + 0x17e860]
movzx eax, byte [r10]
movzx ecx, byte [rdi + rax*4 + 0x17d060]
xor r9d, dword [rdi + rcx*4 + 0x17e060]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov rax, r9
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x17d060]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x17d060]
mov r8d, dword [rdi + rdx*4 + 0x17dc60]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x17e460]
movzx ecx, byte [rdi + rax*4 + 0x17d060]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x17e060]
movzx eax, byte [rdi + rax*4 + 0x17d060]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rax*4 + 0x17e860]
mov rax, r9
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x17d060]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x17d060]
mov r8d, dword [rdi + rdx*4 + 0x17dc60]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x17e460]
movzx ecx, byte [rdi + rax*4 + 0x17d060]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x17e060]
movzx eax, byte [rdi + rax*4 + 0x17d060]
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rax*4 + 0x17e860]
movzx eax, byte [r10 + 0xb]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x17d060]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x17d060]
mov r8d, dword [rdi + rdx*4 + 0x17e460]
mov rax, r9
xor r8d, dword [rdi + rcx*4 + 0x17e060]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x17d060]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x17dc60]
movzx eax, byte [rdi + rax*4 + 0x17d060]
xor r8d, dword [rdi + rax*4 + 0x17e860]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x4d7200
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x4e1bb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.005555e0
sub rsp, rax
mov rax, qword [0x005c3458]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
lea edi, [rdx - 1]
mov qword [rsp + 0x58], r13
mov r13, qword [rsp + 0xb0]
lea eax, [rdi - 0x29]
mov esi, r9d
mov r12, r8
cmp r9d, eax
jle 0x4e1c1d
mov edx, 0x79
lea r9, [0x005d2a30]
mov dword [rsp + 0x20], gethostbyname
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 0xb]
call fcn.00475480
xor eax, eax
jmp 0x4e1dfe
cmp edi, 0x29
jge 0x4e1c49
mov edx, 0x79
lea r9, [0x005d2a48]
mov dword [rsp + 0x20], reloc.WS2_32.dll_gethostbyaddr
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 1]
call fcn.00475480
xor eax, eax
jmp 0x4e1dfe
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x78], rbp
mov byte [rcx], 0
lea rbp, [rcx + 0x15]
lea rbx, [rcx + 1]
call fcn.004c3780
movsxd rdx, dword [rsp + 0xb8]
xor r9d, r9d
mov r8, rbp
mov rcx, r13
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.004d6700
mov r11d, edi
lea rcx, [rbp + 0x14]
sub r11d, esi
xor edx, edx
sub r11d, 0x29
movsxd r8, r11d
call sub.msvcrt.dll_memset
movsxd rax, esi
movsxd r11, edi
sub r11, rax
mov r8, rsi
mov rdx, r12
lea rcx, [r11 + rbp - 0x14]
mov byte [r11 + rbp - 0x15], 1
call sub.msvcrt.dll_memcpy
mov edx, reloc.WS2_32.dll_sendto
mov rcx, rbx
call fcn.004c3c10
test eax, eax
jle 0x4e1d0f
add edi, 0xffffffec
lea rdx, [0x005d2a60]
mov r8d, 0x48
mov ecx, edi
call fcn.00472400
test rax, rax
mov rsi, rax
jne 0x4e1d16
lea r9, [0x005d2a78]
lea edx, [rax + 0x79]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov dword [rsp + 0x20], 0x4b
call fcn.00475480
xor eax, eax
jmp 0x4e1df1
call fcn.004c3780
mov r9d, reloc.WS2_32.dll_sendto
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.004e1990
test eax, eax
js 0x4e1d0f
test edi, edi
jle 0x4e1d60
mov r11, rsi
mov rcx, rbp
mov r10d, edi
sub r11, rbp
nop
nop
nop
movzx eax, byte [r11 + rcx]
inc rcx
xor byte [rcx - 1], al
dec r10
jne 0x4e1d50
call fcn.004c3780
lea rcx, [rsp + 0x30]
mov r9d, edi
mov r8, rbp
mov edx, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], rax
call fcn.004e1990
test eax, eax
js 0x4e1d0f
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x31]
lea r9, [rsp + 0x32]
lea r10, [rsp + 0x33]
lea r11, [rsp + 0x34]
sub rdx, rbx
sub r8, rbx
sub r9, rbx
sub r10, rbx
sub r11, rbx
mov ecx, 4
movzx eax, byte [rdx + rbx]
add rbx, 5
xor byte [rbx - 5], al
movzx eax, byte [r8 + rbx - 5]
xor byte [rbx - 4], al
movzx eax, byte [r9 + rbx - 5]
xor byte [rbx - 3], al
movzx eax, byte [r10 + rbx - 5]
xor byte [rbx - 2], al
movzx eax, byte [r11 + rbx - 5]
xor byte [rbx - 1], al
dec rcx
jne 0x4e1db0
mov rcx, rsi
call fcn.004728d0
mov eax, 1
mov rbx, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.005555b0
add rsp, 0x88
ret
Function at 0x4e2240
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
mov eax, gethostbyname
call fcn.005555e0
sub rsp, rax
cmp dword [rsp + 0x60], r9d
mov r10, rcx
jne 0x4e2301
movzx eax, byte [r8]
cmp al, 0x6a
je 0x4e226d
cmp al, 0x6b
jne 0x4e2301
cmp al, 0x6b
lea rdx, [r8 + 1]
jne 0x4e22ca
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x4e2296
nop
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x4e2296
cmp cl, 0xbb
jne 0x4e22b3
inc eax
cmp eax, ebx
jl 0x4e2280
sub ebx, eax
test eax, eax
jne 0x4e22ce
mov dword [rsp + 0x20], 0x8a
lea r9, [0x005d2b38]
mov r8d, 0x8a
jmp 0x4e2316
mov dword [rsp + 0x20], 0x81
lea r9, [0x005d2b20]
mov r8d, 0x8a
jmp 0x4e2316
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x4e22ee
mov dword [rsp + 0x20], DllRegisterServer
lea r9, str..crypto_rsa_rsa_x931.c
mov r8d, 0x8b
jmp 0x4e2316
mov r8d, ebx
mov rcx, r10
call sub.msvcrt.dll_memcpy
mov eax, ebx
add rsp, 0x30
pop rbx
ret
mov dword [rsp + 0x20], WSAStartup
lea r9, [0x005d2b08]
mov r8d, 0x89
mov edx, 0x80
lea ecx, [rdx - 0x7c]
call fcn.00475480
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
Function at 0x4e3fd0
Capabilities:
Query environment variable

Disassembly:
mov eax, reloc.WS2_32.dll_getservbyport
call fcn.005555e0
sub rsp, rax
test rcx, rcx
mov qword [rsp + 0x58], rdi
mov rdi, rcx
jne 0x4e4014
lea r9, [0x005d30f0]
lea edx, [rax + 0x32]
lea ecx, [rax - 0x12]
lea r8d, [rax + 0xb]
mov dword [rsp + 0x20], 0x165
call fcn.00475480
xor eax, eax
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
mov edx, 0x1e
lea r8, [0x005d3110]
mov r9d, 0x168
lea ecx, [rdx - 0x15]
mov qword [rsp + 0x48], rbx
call fcn.004734e0
mov rbx, qword [0x005e67e0]
test rbx, rbx
je 0x4e40a2
nop
mov r8, qword [rbx]
mov rax, rdi
sub r8, rdi
nop
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x4e4063
inc rax
test ecx, ecx
jne 0x4e4050
test edx, edx
je 0x4e4075
mov rbx, qword [rbx + 0xd0]
test rbx, rbx
jne 0x4e4040
jmp 0x4e40a2
test byte [rbx + 0xa8], 4
je 0x4e409c
call fcn.004e2dd0
test rax, rax
mov rcx, rax
jne 0x4e408f
xor ebx, ebx
jmp 0x4e40a2
mov rdx, rbx
call fcn.004e3f10
mov rbx, rcx
jmp 0x4e40a2
inc dword [rbx + 0xac]
mov edx, 0x1e
lea r8, [0x005d3130]
mov r9d, CInternetFile::CInternetFile
lea ecx, [rdx - 0x14]
call fcn.004734e0
test rbx, rbx
je 0x4e40d3
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
lea r8, [0x005d3150]
mov rax, rdi
sub r8, rdi
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x4e40f3
inc rax
test ecx, ecx
jne 0x4e40e0
test edx, edx
mov qword [rsp + 0x50], rsi
je 0x4e41ad
lea rcx, str.OPENSSL_ENGINES
call sub.msvcrt.dll_getenv
lea rsi, str.F:_dev_libraries_openssl_1.0.0a_lib_engines
lea rcx, str.dynamic
test rax, rax
cmovne rsi, rax
call fcn.004e3fd0
test rax, rax
mov rbx, rax
je 0x4e41ad
lea rdx, [0x005d31a0]
xor r9d, r9d
mov r8, rdi
mov rcx, rax
call fcn.00503660
test eax, eax
je 0x4e41ad
lea r8, [0x005d31a4]
lea rdx, str.DIR_LOAD
xor r9d, r9d
mov rcx, rbx
call fcn.00503660
test eax, eax
je 0x4e41ad
lea rdx, str.DIR_ADD
xor r9d, r9d
mov r8, rsi
mov rcx, rbx
call fcn.00503660
test eax, eax
je 0x4e41ad
lea rdx, str.LOAD
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.00503660
test eax, eax
je 0x4e41ad
mov rsi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
mov rcx, rbx
call fcn.004e2f80
mov edx, 0x6a
lea r9, [0x005d31c8]
lea ecx, [rdx - 0x44]
lea r8d, [rdx + 0xa]
mov dword [rsp + 0x20], 0x1a1
call fcn.00475480
lea rdx, [0x005d31e4]
mov r8, rdi
mov ecx, 2
call fcn.00474e50
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x38
ret
Function at 0x4ff630
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x58
call fcn.005555e0
sub rsp, rax
cmp r8, 0x10
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov r13, qword [rsp + 0x88]
mov qword [rsp + 0x20], r14
mov r14, qword [rsp + 0x80]
mov r10, r14
mov r12, r9
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
jb 0x4ff6e8
mov qword [rsp + 0x40], rsi
mov rsi, r8
shr rsi, 4
mov rax, rsi
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
nop
nop
nop
mov r8, rbx
sub r10, rbp
mov rcx, rbp
sub r8, rbp
mov edx, 2
mov rax, qword [r10 + rcx]
add rcx, 8
xor rax, qword [rcx - 8]
dec rdx
mov qword [r8 + rcx - 8], rax
jne 0x4ff6b1
mov r8, r12
mov rdx, rbx
mov rcx, rbx
call r13
mov r10, rbx
add rbx, 0x10
add rbp, 0x10
dec rsi
jne 0x4ff6a0
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x4ff777
mov rdx, r10
mov r9, rbx
xor r8d, r8d
sub rdx, rbp
sub r9, rbp
mov rcx, rbp
cmp r8, rdi
jae 0x4ff722
movzx eax, byte [rcx + rdx]
inc r8
inc rcx
xor al, byte [rcx - 1]
cmp r8, 0x10
mov byte [rcx + r9 - 1], al
jb 0x4ff703
jmp 0x4ff750
cmp r8, 0x10
jae 0x4ff750
mov edx, reloc.WS2_32.dll_recv
sub r10, rbx
lea rcx, [r8 + rbx]
sub rdx, r8
nop
nop
nop
movzx eax, byte [r10 + rcx]
inc rcx
dec rdx
mov byte [rcx - 1], al
jne 0x4ff740
mov r8, r12
mov rdx, rbx
mov rcx, rbx
call r13
cmp rdi, 0x10
mov r10, rbx
jbe 0x4ff777
add rbp, 0x10
add rbx, 0x10
sub rdi, 0x10
jne 0x4ff6f1
mov rax, qword [r10]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov qword [r14], rax
mov rax, qword [r10 + 8]
mov qword [r14 + 8], rax
mov r14, qword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x4ff7b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x98
call fcn.005555e0
sub rsp, rax
mov rax, qword [0x005c3458]
mov qword [rsp + 0x48], rax
cmp rcx, rdx
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r13
mov r13, qword [rsp + 0xc0]
mov qword [rsp + 0x58], r15
mov rdi, r8
mov rbp, rdx
mov qword [rsp + 0x30], r13
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov r15, r9
je 0x4ff89f
cmp r8, 0x10
mov rsi, r13
jb 0x4ff886
mov r12, r8
shr r12, 4
mov rax, r12
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
mov qword [rsp + 0x28], rdi
mov rdi, qword [rsp + 0x20]
mov r8, r15
mov rdx, rbp
mov rcx, rbx
call rdi
mov r11, rbp
sub rsi, rbp
mov ecx, 2
nop
nop
mov rax, qword [rsi + r11]
add r11, 8
xor qword [r11 - 8], rax
dec rcx
jne 0x4ff860
mov rsi, rbx
add rbp, 0x10
add rbx, 0x10
dec r12
jne 0x4ff844
mov rdi, qword [rsp + 0x28]
mov rax, qword [rsi]
mov qword [r13], rax
mov rax, qword [rsi + 8]
mov qword [r13 + 8], rax
mov rax, qword [rsp + 0x20]
jmp 0x4ff94a
cmp r8, 0x10
jb 0x4ff94a
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], r14
mov rsi, rdx
sub r13, rax
lea rax, [rsp + 0x38]
mov r14, r8
sub rsi, rax
shr r14, 4
lea rax, [rsp + 0x38]
mov r12, rcx
sub r12, rax
mov rax, r14
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
mov rax, r14
shl rax, 4
add rbp, rax
mov qword [rsp + 0x28], rbp
mov rbp, qword [rsp + 0x20]
lea rdx, [rsp + 0x38]
mov r8, r15
mov rcx, rbx
call rbp
xor r11d, r11d
lea rdx, [rsp + r11 + 0x38]
add r11, 8
mov rax, qword [r13 + rdx]
mov rcx, qword [r12 + rdx]
xor rax, qword [rdx]
cmp r11, 0x10
mov qword [rsi + rdx], rax
mov qword [r13 + rdx], rcx
jb 0x4ff901
add rbx, 0x10
add r12, 0x10
add rsi, 0x10
dec r14
jne 0x4ff8f1
mov rbp, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x60]
test rdi, rdi
je 0x4ff9ff
lea rcx, [rsp + 0x38]
mov r12, r13
mov rsi, rbx
sub r12, rcx
lea rcx, [rsp + 0x38]
sub rbp, rcx
lea rcx, [rsp + 0x38]
sub rsi, rcx
lea rdx, [rsp + 0x38]
mov r8, r15
mov rcx, rbx
call rax
xor r11d, r11d
cmp r11, rdi
jae 0x4ff9b4
movzx ecx, byte [rsp + r11 + 0x38]
lea rax, [rsi + r11]
lea rdx, [r12 + r11]
movzx r8d, byte [rsp + rax + 0x38]
xor cl, byte [rsp + rdx + 0x38]
lea rax, [r11 + rbp]
inc r11
mov byte [rsp + rax + 0x38], cl
mov byte [rsp + rdx + 0x38], r8b
cmp r11, 0x10
jb 0x4ff981
cmp rdi, 0x10
jbe 0x4ff9d3
mov rax, qword [rsp + 0x20]
add rbx, 0x10
add rsi, 0x10
add rbp, 0x10
sub rdi, 0x10
jne 0x4ff971
jmp 0x4ff9ff
cmp r11, 0x10
jae 0x4ff9ff
mov edx, reloc.WS2_32.dll_recv
sub rbx, r13
lea rcx, [r13 + r11]
sub rdx, r11
nop
nop
movzx eax, byte [rbx + rcx]
inc rcx
dec rdx
mov byte [rcx - 1], al
jne 0x4ff9f0
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call fcn.005555b0
add rsp, 0x98
ret
Function at 0x4ffd70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x78
call fcn.005555e0
sub rsp, rax
mov rax, qword [0x005c3458]
mov qword [rsp + 0x48], rax
mov r10, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0xa0]
lea eax, [r8 - 1]
cmp eax, 0x7f
mov qword [rsp + 0x58], rdi
mov ebp, r8d
mov rdi, rdx
mov rbx, rcx
ja 0x4fff2f
mov rax, qword [rsi]
lea rcx, [rsp + 0x20]
mov r8, r9
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov rdx, rsi
mov qword [rcx + 8], rax
mov rcx, rsi
call r10
lea eax, [rbp + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp dword [rsp + 0xa8], 0
movsxd r9, eax
je 0x4ffe29
test eax, eax
jle 0x4ffe6d
lea rdx, [rsp + 0x30]
mov rcx, rsi
sub rdx, rbx
sub rcx, rbx
sub rdi, rbx
movzx eax, byte [rcx + rbx]
inc rbx
xor al, byte [rbx - 1]
dec r9
mov byte [rdx + rbx - 1], al
mov byte [rdi + rbx - 1], al
jne 0x4ffe10
jmp 0x4ffe6d
xor r8d, r8d
test eax, eax
jle 0x4ffe6d
lea rax, [rsp + 0x30]
mov r10, rsi
sub rbx, rax
lea rax, [rsp + 0x30]
sub r10, rax
lea rax, [rsp + 0x30]
sub rdi, rax
nop
nop
lea rdx, [rsp + r8 + 0x30]
inc r8
movzx ecx, byte [rbx + rdx]
movzx eax, byte [r10 + rdx]
xor al, cl
cmp r8, r9
mov byte [rdx], cl
mov byte [rdi + rdx], al
jl 0x4ffe50
mov eax, ebp
cdq
mov ecx, eax
and edx, 7
add eax, edx
sar ecx, 3
and eax, 7
sub eax, edx
test eax, eax
mov r11d, eax
jne 0x4ffe9f
movsxd rcx, ecx
mov rax, qword [rsp + rcx + 0x20]
mov qword [rsi], rax
mov rax, qword [rsp + rcx + 0x28]
mov qword [rsi + 8], rax
jmp 0x4fff2f
movsxd rax, ecx
mov r10d, 8
mov edi, 4
sub r10b, r11b
inc rsi
lea rbx, [rsp + rax + 0x21]
nop
nop
movzx r8d, byte [rbx]
movzx r9d, byte [rbx + 1]
movzx edx, byte [rbx - 1]
mov ecx, r11d
movzx eax, r8b
add rsi, 4
shl dl, cl
movzx ecx, r10b
add rbx, 4
shr al, cl
mov ecx, r11d
or dl, al
shl r8b, cl
movzx eax, r9b
mov byte [rsi - 5], dl
movzx edx, byte [rbx - 2]
movzx ecx, r10b
shr al, cl
mov ecx, r11d
or r8b, al
shl r9b, cl
movzx ecx, r10b
movzx eax, dl
mov byte [rsi - 4], r8b
shr al, cl
or r9b, al
movzx eax, byte [rbx - 1]
shr al, cl
mov ecx, r11d
mov byte [rsi - 3], r9b
shl dl, cl
or al, dl
dec rdi
mov byte [rsi - 2], al
jne 0x4ffec0
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.005555b0
add rsp, 0x78
ret