joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56ee50
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x56eee5
test esi, esi
je 0x56eee5
test ecx, ecx
je 0x56eee5
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
lea ecx, [ebp - 0x44]
push ecx
push 0x20
push eax
call fcn.004d5110
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0056f090
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.0056e8c0
lea eax, [ebp - 0x2c4]
push eax
push esi
call fcn.0056e7f0
add esp, 0x24
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.005b34c8
mov esp, ebp
pop ebp
ret

Function at 0x56ef80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x655e90
sub eax, esi
xor ecx, ecx
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, 0x655e94
sub eax, esi
push edi
lea edi, [esi + 8]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 4]
nop word [eax + eax]
add ecx, dword [ebx*4 + 0x655e90]
lea edi, [edi + 0x10]
mov edx, dword [edi - 0x18]
mov al, dl
sub al, cl
sub edx, ecx
mov ecx, dword [edi - 0x14]
mov byte [ebp + ebx - 0x28], al
mov al, cl
shr edx, 0x1f
add edx, dword [ebx*4 + 0x655e94]
sub al, dl
sub ecx, edx
mov edx, dword [edi - 0x10]
mov byte [ebp + ebx - 0x27], al
mov al, dl
shr ecx, 0x1f
add ecx, dword [esi + edi - 0x10]
sub al, cl
sub edx, ecx
mov byte [ebp + ebx - 0x26], al
mov eax, dword [ebp - 8]
shr edx, 0x1f
add edx, dword [eax + edi - 0x10]
mov eax, dword [edi - 0xc]
mov ecx, eax
sub al, dl
sub ecx, edx
mov byte [ebp + ebx - 0x25], al
add ebx, 4
shr ecx, 0x1f
cmp ebx, 0x20
jl 0x56efb0
mov esi, dword [ebp + 8]
lea eax, [ecx - 1]
movd xmm0, eax
xor eax, eax
pshufd xmm3, xmm0, 0
nop word [eax + eax]
movups xmm2, xmmword [esi + eax*4]
movd xmm1, dword [ebp + eax - 0x28]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm1, xmm2
pand xmm1, xmm3
pxor xmm1, xmm2
movups xmmword [esi + eax*4], xmm1
movups xmm2, xmmword [esi + eax*4 + 0x10]
movd xmm1, dword [ebp + eax - 0x24]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm1, xmm2
pand xmm1, xmm3
pxor xmm1, xmm2
movups xmmword [esi + eax*4 + 0x10], xmm1
add eax, 8
cmp eax, 0x20
jl 0x56f030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x574840
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [str.expand_32_byte_k]
push esi
mov esi, dword [ebp + 8]
movzx ecx, byte [edx + 3]
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 8], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
mov edx, dword [ebp + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0xc], ecx
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x40], 0x40
mov dword [esi + 0x2c], ecx
pop esi
pop ebp
ret
Function at 0x57d3e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb47d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x10]
movq qword [ebp - 0x1c], xmm0
movzx eax, byte [esi + 0x24]
push eax
push str.readExpectedMessage
push edi
mov dword [ebp - 0x14], 0
call fcn.00448220
cmp byte [esi + 0x24], 0
mov dword [ebp - 4], 0
je 0x57d458
cmp dword [esi + 0x28], 0
jne 0x57d458
mov eax, dword [edi]
mov ecx, edi
push str.No_m_pHandler.
call dword [eax + 0x14]
cmp dword [esi + 4], 0
mov dword [esi + 0x3c], 0
jne 0x57d470
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi + 4], eax
nop dword [eax]
mov eax, dword [esi + 0x10]
cmp eax, 5
jne 0x57d49c
cmp dword [0x6972bc], 0xa
jge 0x57d493
mov eax, dword [edi]
mov ecx, edi
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__2_
call dword [eax + 0x14]
inc dword [0x6972bc]
mov dword [esi + 0x10], 0x7530
jmp 0x57d4a0
test eax, eax
je 0x57d4d1
cmp dword [esi + 4], 0
jne 0x57d4ae
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x57d4be
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x57d4d1
sub eax, ecx
cmp eax, dword [esi + 0x10]
ja 0x57d4fe
mov ecx, dword [ebp - 0x20]
push edi
push ebx
push esi
call fcn.00580f70
test al, al
je 0x57d52d
mov ecx, ebx
call fcn.0046ec40
test al, al
jne 0x57d52d
cmp byte [ebp + 0xc], al
je 0x57d4fa
cmp dword [esi + 0x3c], 0x5d
je 0x57d470
mov bl, 1
jmp 0x57d52f
mov ecx, ebx
call fcn.0046ecc0
mov byte [ebx + 0x14], 1
cmp byte [edi + 0x129], 0
je 0x57d52d
mov eax, dword [edi]
mov ecx, edi
push str.Too_much_time_elapsed_waiting_for_response.
call dword [eax + 0x14]
push dword [esi + 0x10]
mov ecx, edi
push str.totalTimeoutMs
call fcn.00448a10
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.004482f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x57e5f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ced65
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x10]
push str.readUntilRcvWindowAdjust
push esi
mov dword [ebp - 0x84], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.004481f0
mov dword [ebp - 4], 0
call sub.KERNEL32.DLL_GetTickCount
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
cmp dword [ebx + 0xb0], 0
jne 0x57e738
push 0x64
lea eax, [ebp - 0x80]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.00572510
mov eax, dword [ebp - 0x84]
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x74], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x70], eax
call fcn.0046ecc0
mov ecx, dword [ebp - 0x88]
push esi
push edi
push dword [ebp - 0x84]
call fcn.00580f70
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x57e6d7
push esi
call fcn.004a8ce0
test al, al
jne 0x57e762
mov ecx, edi
call fcn.0046ec70
test al, al
jne 0x57e7a7
cmp byte [ebp - 0x51], al
jne 0x57e799
cmp byte [ebp - 0x53], al
jne 0x57e78b
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 0x8c]
cmp eax, 0xea60
ja 0x57e770
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
mov dword [ebp - 0x80], vtable.SshReadParams.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
call fcn.00434f20
cmp dword [ebx + 0xb0], 0
je 0x57e672
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.004482f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
mov ecx, esi
push str.aborted_by_user_application.
call dword [eax + 0x14]
jmp 0x57e7b4
mov ecx, dword [ebp - 0x88]
push esi
push edi
call fcn.00576d70
mov eax, dword [esi]
mov ecx, esi
push str.No_WINDOW_ADJUST_seems_to_be_coming...
call dword [eax + 0x14]
jmp 0x57e7b4
mov eax, dword [esi]
mov ecx, esi
push str.Received_CHANNEL_CLOSE
call dword [eax + 0x14]
jmp 0x57e7b4
mov eax, dword [esi]
mov ecx, esi
push str.Received_DISCONNECT
call dword [eax + 0x14]
jmp 0x57e7b4
push esi
push str.sshWindowAdjust1
mov ecx, edi
call fcn.0046ed70
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x80], vtable.SshReadParams.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
call fcn.00434f20
xor bl, bl
jmp 0x57e73a
Function at 0x581490
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x5814e3
cmp dword [esi + 4], 0
jne 0x5814ab
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x5814bb
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x5814e3
sub eax, ecx
cmp eax, dword [esi + 0x10]
jbe 0x5814e3
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0046ecc0
mov byte [esi + 0x14], 1
mov al, 1
pop esi
pop ebp
ret 0xc
xor al, al
pop esi
pop ebp
ret 0xc
Function at 0x589a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfbf0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x692c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x589b4c
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x589a87
cmp ebx, 1
jne 0x589b4c
cmp edi, 4
ja 0x589b4c
push 0xfa74
mov dword [ebp - 4], 0
call fcn.005b34db
add esp, 4
test eax, eax
je 0x589b33
mov dword [eax], esi
mov dword [esi + 0x20], eax
mov dword [eax + 4], 0xa
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc64], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [eax + 0x28], bl
mov dword [eax + 0xc54], 0
mov dword [eax + 0xc50], 0
mov dword [eax + 0xc4c], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x596910
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
lea edx, [edi + 0x4e0]
push edx
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0x10]
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [edi + 0x520], xmm0
xor esi, esi
movups xmmword [edi + 0x4f0], xmm0
mov dword [edi + 0x534], 0
mov dword [edi + 0x530], 0
mov dword [edi + 0x538], 0
mov dword [edi + 0x540], 0
mov dword [edi + 0x544], 0
mov dword [edi + 0x548], 0
mov dword [edi + 0x54c], 0
movups xmmword [ebp - 0x14], xmm0
nop dword [eax]
mov eax, dword [edi + 0x550]
add eax, 4
mov byte [ebp - 0x14], bl
add eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x4e0]
push eax
call fcn.00594c60
add esi, 0x10
add esp, 0xc
inc ebx
cmp esi, 0x1000
jl 0x5969a0
mov eax, 0x1000
mov ebx, 0x100
nop dword [eax + eax]
mov edx, dword [edi + 0x550]
movzx esi, byte [edx + eax - 0xfed]
movzx ecx, byte [edx + eax - 0xfee]
mov byte [edx + eax + 0x13], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xfef]
mov byte [edx + eax + 0x12], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff0]
mov byte [edx + eax + 0x11], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff1]
mov byte [edx + eax + 0x10], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff2]
mov byte [edx + eax + 0xf], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff3]
mov byte [edx + eax + 0xe], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff4]
mov byte [edx + eax + 0xd], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff5]
mov byte [edx + eax + 0xc], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff6]
mov byte [edx + eax + 0xb], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff7]
mov byte [edx + eax + 0xa], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff8]
mov byte [edx + eax + 9], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff9]
mov byte [edx + eax + 8], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xffa]
mov byte [edx + eax + 7], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xffb]
mov byte [edx + eax + 6], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xffc]
mov byte [edx + eax + 5], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [esi*2 + 0x65c1f8]
mov byte [edx + eax + 4], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [esi*2 + 0x65c1f9]
xor byte [edx + eax + 5], cl
add eax, 0x10
sub ebx, 1
jne 0x5969e0
cmp eax, 0x10000
jl 0x5969d3
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b34c8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x599ce0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x691478
ret

Function at 0x599cf0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x6914c0
ret
Function at 0x59c290
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
sub eax, 2
je 0x59c368
sub eax, 1
je 0x59c318
sub eax, 1
jne 0x59c304
movzx eax, byte [ebp - 8]
mov cl, byte [edi + edx*4 + 0x18]
xor cl, byte [eax + 0x65cbf8]
movzx eax, byte [ebp - 7]
mov bl, byte [eax + 0x65caf8]
movzx eax, byte [ebp - 6]
xor bl, byte [edi + edx*4 + 0x19]
mov ch, byte [eax + 0x65caf8]
movzx eax, byte [ebp - 5]
xor ch, byte [edi + edx*4 + 0x1a]
mov bh, byte [eax + 0x65cbf8]
xor bh, byte [edi + edx*4 + 0x1b]
jmp 0x59c324
mov cl, byte [ebp - 8]
mov al, byte [ebp - 5]
mov bl, byte [ebp - 6]
mov bh, byte [ebp - 7]
mov byte [ebp - 9], cl
jmp 0x59c414
mov bh, byte [ebp - 5]
mov ch, byte [ebp - 6]
mov bl, byte [ebp - 7]
mov cl, byte [ebp - 8]
movzx eax, cl
mov cl, byte [edi + edx*4 + 0x10]
xor cl, byte [eax + 0x65cbf8]
movzx eax, bl
mov byte [ebp - 9], cl
mov bl, byte [eax + 0x65cbf8]
xor bl, byte [edi + edx*4 + 0x11]
movzx eax, ch
mov al, byte [eax + 0x65caf8]
xor al, byte [edi + edx*4 + 0x12]
mov byte [ebp - 0xa], al
movzx eax, bh
mov bh, byte [ebp - 0xa]
mov al, byte [eax + 0x65caf8]
xor al, byte [edi + edx*4 + 0x13]
mov byte [ebp - 0xb], al
mov al, cl
jmp 0x59c377
mov al, byte [ebp - 5]
mov bh, byte [ebp - 6]
mov bl, byte [ebp - 7]
mov byte [ebp - 0xb], al
mov al, byte [ebp - 8]
movzx ecx, byte [edi + edx*4 + 8]
movzx eax, al
movzx eax, byte [eax + 0x65caf8]
xor ecx, eax
movzx eax, byte [edi + edx*4]
movzx ecx, byte [ecx + 0x65caf8]
xor ecx, eax
mov al, byte [ecx + 0x65cbf8]
mov byte [ebp - 9], al
movzx eax, bl
movzx ecx, byte [eax + 0x65cbf8]
movzx eax, byte [edi + edx*4 + 9]
xor ecx, eax
movzx eax, byte [edi + edx*4 + 1]
movzx ecx, byte [ecx + 0x65caf8]
xor ecx, eax
mov al, byte [ecx + 0x65caf8]
mov byte [ebp - 0xa], al
movzx eax, bh
mov bh, byte [ebp - 0xa]
movzx ecx, byte [eax + 0x65caf8]
movzx eax, byte [edi + edx*4 + 0xa]
xor ecx, eax
movzx eax, byte [edi + edx*4 + 2]
movzx ecx, byte [ecx + 0x65cbf8]
xor ecx, eax
movzx eax, byte [ebp - 0xb]
mov bl, byte [ecx + 0x65cbf8]
movzx ecx, byte [eax + 0x65cbf8]
movzx eax, byte [edi + edx*4 + 0xb]
xor ecx, eax
movzx eax, byte [edi + edx*4 + 3]
movzx ecx, byte [ecx + 0x65cbf8]
xor ecx, eax
mov al, byte [ecx + 0x65caf8]
movzx eax, al
movzx ecx, bl
pop edi
mov edx, dword [eax*4 + 0x65d8f8]
xor edx, dword [ecx*4 + 0x65d4f8]
mov ecx, dword [ebp - 4]
movzx eax, bh
xor ecx, ebp
xor edx, dword [eax*4 + 0x65d0f8]
movzx eax, byte [ebp - 9]
xor edx, dword [eax*4 + 0x65ccf8]
mov eax, edx
mov byte [esi], dl
shr eax, 0x18
mov byte [esi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
pop esi
pop ebx
call fcn.005b34c8
mov esp, ebp
pop ebp
ret
Function at 0x59f0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c142d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
push str.initCrypt_rc2
push eax
mov dword [ebp - 0x24], esi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.004481f0
mov dword [ebp - 4], 0
test esi, esi
je 0x59f187
mov eax, dword [edi + 8]
cmp eax, 3
je 0x59f161
cmp eax, 4
jne 0x59f187
push dword [ebx + 0x80]
lea ecx, [edi + 0x34]
call fcn.00402fb0
push eax
lea ecx, [edi + 0x34]
call fcn.00438ea0
mov ecx, dword [ebp - 0x24]
push eax
add ecx, 0x484
call fcn.00597b60
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0xc8]
cdq
and edx, 7
lea esi, [edx + eax]
sar esi, 3
cmp esi, 0x80
jbe 0x59f1a9
mov esi, 0x80
jmp 0x59f1b3
mov eax, 1
cmp esi, eax
cmovb esi, eax
mov eax, 0x400
test ebx, ebx
jne 0x59f1c0
mov ebx, eax
jmp 0x59f1c5
cmp ebx, eax
cmova ebx, eax
push esi
lea ecx, [edi + 0x14]
call fcn.00438990
lea ecx, [edi + 0x14]
call fcn.00438ea0
cmp esi, 0x80
jbe 0x59f1e5
xor bl, bl
jmp 0x59f2bf
mov edi, dword [ebp - 0x20]
test ebx, ebx
mov ecx, 0x400
push esi
cmove ebx, ecx
add edi, 0x88
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x80
jae 0x59f237
mov eax, dword [ebp - 0x20]
mov edx, edi
mov al, byte [esi + eax + 0x87]
movzx ecx, byte [edx]
lea edx, [edx + 1]
movzx eax, al
add ecx, eax
movzx eax, cl
mov al, byte [eax + 0x660648]
mov byte [edi + esi], al
inc esi
cmp esi, 0x80
jb 0x59f217
mov esi, dword [ebp - 0x20]
lea eax, [ebx + 7]
shr eax, 3
mov edi, 0x80
sub edi, eax
mov dword [ebp - 0x24], eax
add esi, 0x88
neg ebx
add esi, edi
and ebx, 7
mov edx, 0xff
mov ecx, ebx
sar edx, cl
movzx eax, byte [esi]
and edx, eax
mov al, byte [edx + 0x660648]
mov byte [esi], al
test edi, edi
je 0x59f28e
mov edx, dword [ebp - 0x24]
movzx ecx, byte [esi + edx - 1]
lea esi, [esi - 1]
movzx eax, al
xor ecx, eax
mov al, byte [ecx + 0x660648]
mov byte [esi], al
sub edi, 1
jne 0x59f274
mov edx, dword [ebp - 0x20]
mov esi, 0x3f
add edx, 0x106
mov edi, 0x100
movzx ecx, byte [edx + 1]
lea edx, [edx - 2]
movzx eax, byte [edx + 2]
imul ecx, edi
add cx, ax
mov eax, esi
dec esi
mov word [edx + 2], cx
test eax, eax
jne 0x59f2a1
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.004482f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x59ff50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
mov ecx, dword [eax + 0x440]
mov ebx, dword [eax + 0x43c]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], edi
jle 0x59ffae
push esi
inc bl
movzx ebx, bl
mov edx, dword [eax + ebx*4 + 0x3c]
mov cl, dl
add cl, byte [ebp - 4]
mov eax, dword [ebp + 8]
movzx ecx, cl
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [eax + ecx*4 + 0x3c]
mov dword [eax + ebx*4 + 0x3c], ecx
mov dword [eax + esi*4 + 0x3c], edx
add dl, cl
movzx ecx, dl
mov edx, dword [ebp + 0xc]
mov cl, byte [eax + ecx*4 + 0x3c]
xor byte [edi + edx], cl
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x59ff70
mov ecx, esi
pop esi
pop edi
mov dword [eax + 0x43c], ebx
mov dword [eax + 0x440], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc