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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x194]
push ebx
mov ebx, dword [ebp + 8]
mov edx, 2
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
add eax, 8
movd xmm1, dword [eax - 8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea eax, [eax + 0x10]
punpcklwd xmm1, xmm0
lea ecx, [ecx + 0x40]
movups xmmword [ecx - 0x50], xmm1
movd xmm1, dword [eax - 0x14]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movd xmm1, dword [eax - 0x10]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movd xmm1, dword [eax - 0xc]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub edx, 1
jne 0x568983
push esi
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.00568b50
lea eax, [ebp - 0x124]
push eax
push eax
call fcn.00568490
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00567f80
add esp, 0x1c
lea esi, [ebp - 0xa4]
mov ecx, 0x20
lea edi, [ebp - 0x224]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xor edx, edx
pop edi
pop esi
nop word [eax + eax]
mov eax, dword [edx + 0x635600]
add eax, dword [ebp + edx - 0xa4]
add ecx, eax
movzx eax, cl
mov dword [ebp + edx - 0xa4], eax
add edx, 4
shr ecx, 8
cmp edx, 0x7c
jb 0x568a30
mov eax, dword [ebp - 0x28]
sub eax, 0xffffff80
add eax, ecx
mov dword [ebp - 0x28], eax
shr eax, 7
and eax, 1
neg eax
movd xmm0, eax
xor eax, eax
pshufd xmm2, xmm0, 0
nop dword [eax]
nop word [eax + eax]
movups xmm1, xmmword [ebp + eax - 0xa4]
movups xmm0, xmmword [ebp + eax - 0x224]
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0xa4], xmm0
movups xmm1, xmmword [ebp + eax - 0x94]
movups xmm0, xmmword [ebp + eax - 0x214]
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x94], xmm0
movups xmm1, xmmword [ebp + eax - 0x84]
movups xmm0, xmmword [ebp + eax - 0x204]
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x84], xmm0
movups xmm1, xmmword [ebp + eax - 0x74]
movups xmm0, xmmword [ebp + eax - 0x1f4]
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x74], xmm0
add eax, 0x40
cmp eax, 0x80
jb 0x568a80
xor eax, eax
nop word [eax + eax]
mov cl, byte [ebp + eax*4 - 0xa4]
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x20
jb 0x568b20
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x569950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
movzx ebx, byte [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
neg ebx
push edi
lea edi, [eax + 0x7c]
lea ecx, [esi + 0x7c]
movd xmm0, ebx
pshufd xmm2, xmm0, 0
cmp eax, ecx
ja 0x569998
cmp edi, esi
jb 0x569998
sub esi, eax
lea edi, [edx + 0x20]
mov edx, dword [eax + esi]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, ebx
xor dword [eax - 4], edx
sub edi, 1
jne 0x569980
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, esi
lea ecx, [eax + 0x10]
sub edi, eax
nop
movups xmm1, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x20]
movups xmm0, xmmword [esi + edx*4]
add edx, 8
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm1, xmmword [ecx - 0x20]
movups xmm0, xmmword [edi + ecx - 0x20]
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp edx, 0x20
jl 0x5699a0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5699f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 5
push edi
mov edi, dword [esi + 0x7c]
lea edx, [esi + 0x70]
xor edi, 0x7f
dec edi
shr edi, 0x1f
nop dword [eax + eax]
mov ecx, dword [edx - 0xc]
lea edx, [edx - 0x18]
mov eax, dword [edx + 0x10]
xor ecx, 0xff
xor eax, 0xff
dec ecx
dec eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x20]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x14]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x1c]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x18]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
and edi, ecx
sub ebx, 1
jne 0x569a10
mov ecx, 0xec
sub ecx, dword [esi]
shr ecx, 0x1f
and ecx, edi
neg ecx
mov eax, ecx
movzx edx, cl
and eax, 0x7f
sub dword [esi + 0x7c], eax
mov eax, 0x1e
nop dword [eax + eax]
sub dword [esi + eax*4], edx
dec eax
test eax, eax
jg 0x569a90
and ecx, 0xed
sub dword [esi], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x56ba80
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x68cc00]
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 0x56bb15
test esi, esi
je 0x56bb15
test ecx, ecx
je 0x56bb15
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.004ebbd0
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.0056bcc0
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.0056b4f0
lea eax, [ebp - 0x2c4]
push eax
push esi
call fcn.0056b420
add esp, 0x24
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.005af618
mov esp, ebp
pop ebp
ret

Function at 0x56bbb0
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, 0x650300
sub eax, esi
xor ecx, ecx
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, 0x650304
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 + 0x650300]
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 + 0x650304]
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 0x56bbe0
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 0x56bc60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x570d60
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 0x5798d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b743d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x68cc00]
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.00447f80
cmp byte [esi + 0x24], 0
mov dword [ebp - 4], 0
je 0x579948
cmp dword [esi + 0x28], 0
jne 0x579948
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 0x579960
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi + 4], eax
nop dword [eax]
mov eax, dword [esi + 0x10]
cmp eax, 5
jne 0x57998c
cmp dword [0x69126c], 0xa
jge 0x579983
mov eax, dword [edi]
mov ecx, edi
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__2_
call dword [eax + 0x14]
inc dword [0x69126c]
mov dword [esi + 0x10], 0x7530
jmp 0x579990
test eax, eax
je 0x5799c1
cmp dword [esi + 4], 0
jne 0x57999e
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x5799ae
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x5799c1
sub eax, ecx
cmp eax, dword [esi + 0x10]
ja 0x5799ee
mov ecx, dword [ebp - 0x20]
push edi
push ebx
push esi
call fcn.0057d460
test al, al
je 0x579a1d
mov ecx, ebx
call fcn.0046d3d0
test al, al
jne 0x579a1d
cmp byte [ebp + 0xc], al
je 0x5799ea
cmp dword [esi + 0x3c], 0x5d
je 0x579960
mov bl, 1
jmp 0x579a1f
mov ecx, ebx
call fcn.0046d450
mov byte [ebx + 0x14], 1
cmp byte [edi + 0x129], 0
je 0x579a1d
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.00448770
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.00448050
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.005af618
mov esp, ebp
pop ebp
ret 0x10
Function at 0x57aae0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cac75
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x68cc00]
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.00447f50
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 0x57ac28
push 0x64
lea eax, [ebp - 0x80]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.0056f140
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.0046d450
mov ecx, dword [ebp - 0x88]
push esi
push edi
push dword [ebp - 0x84]
call fcn.0057d460
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x57abc7
push esi
call fcn.004a80f0
test al, al
jne 0x57ac52
mov ecx, edi
call fcn.0046d400
test al, al
jne 0x57ac97
cmp byte [ebp - 0x51], al
jne 0x57ac89
cmp byte [ebp - 0x53], al
jne 0x57ac7b
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 0x8c]
cmp eax, 0xea60
ja 0x57ac60
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.00434c90
cmp dword [ebx + 0xb0], 0
je 0x57ab62
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.00448050
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.005af618
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 0x57aca4
mov ecx, dword [ebp - 0x88]
push esi
push edi
call fcn.00573270
mov eax, dword [esi]
mov ecx, esi
push str.No_WINDOW_ADJUST_seems_to_be_coming...
call dword [eax + 0x14]
jmp 0x57aca4
mov eax, dword [esi]
mov ecx, esi
push str.Received_CHANNEL_CLOSE
call dword [eax + 0x14]
jmp 0x57aca4
mov eax, dword [esi]
mov ecx, esi
push str.Received_DISCONNECT
call dword [eax + 0x14]
jmp 0x57aca4
push esi
push str.sshWindowAdjust1
mov ecx, edi
call fcn.0046d500
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x80], vtable.SshReadParams.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
call fcn.00434c90
xor bl, bl
jmp 0x57ac2a
Function at 0x57d980
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 0x57d9d3
cmp dword [esi + 4], 0
jne 0x57d99b
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x57d9ab
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x57d9d3
sub eax, ecx
cmp eax, dword [esi + 0x10]
jbe 0x57d9d3
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0046d450
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 0x585cf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cbb00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x68cc00]
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 0x585dfc
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x585d37
cmp ebx, 1
jne 0x585dfc
cmp edi, 4
ja 0x585dfc
push 0xfa74
mov dword [ebp - 4], 0
call fcn.005af62b
add esp, 4
test eax, eax
je 0x585de3
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 0x592a60
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x68cc00]
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.00590db0
add esi, 0x10
add esp, 0xc
inc ebx
cmp esi, 0x1000
jl 0x592af0
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 + 0x656400]
mov byte [edx + eax + 4], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [esi*2 + 0x656401]
xor byte [edx + eax + 5], cl
add eax, 0x10
sub ebx, 1
jne 0x592b30
cmp eax, 0x10000
jl 0x592b23
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x10
Function at 0x595e30
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x68b470
ret

Function at 0x595e40
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x68b4b8
ret
Function at 0x5983e0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x68cc00]
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 0x5984b8
sub eax, 1
je 0x598468
sub eax, 1
jne 0x598454
movzx eax, byte [ebp - 8]
mov cl, byte [edi + edx*4 + 0x18]
xor cl, byte [eax + 0x656e00]
movzx eax, byte [ebp - 7]
mov bl, byte [eax + 0x656d00]
movzx eax, byte [ebp - 6]
xor bl, byte [edi + edx*4 + 0x19]
mov ch, byte [eax + 0x656d00]
movzx eax, byte [ebp - 5]
xor ch, byte [edi + edx*4 + 0x1a]
mov bh, byte [eax + 0x656e00]
xor bh, byte [edi + edx*4 + 0x1b]
jmp 0x598474
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 0x598564
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 + 0x656e00]
movzx eax, bl
mov byte [ebp - 9], cl
mov bl, byte [eax + 0x656e00]
xor bl, byte [edi + edx*4 + 0x11]
movzx eax, ch
mov al, byte [eax + 0x656d00]
xor al, byte [edi + edx*4 + 0x12]
mov byte [ebp - 0xa], al
movzx eax, bh
mov bh, byte [ebp - 0xa]
mov al, byte [eax + 0x656d00]
xor al, byte [edi + edx*4 + 0x13]
mov byte [ebp - 0xb], al
mov al, cl
jmp 0x5984c7
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 + 0x656d00]
xor ecx, eax
movzx eax, byte [edi + edx*4]
movzx ecx, byte [ecx + 0x656d00]
xor ecx, eax
mov al, byte [ecx + 0x656e00]
mov byte [ebp - 9], al
movzx eax, bl
movzx ecx, byte [eax + 0x656e00]
movzx eax, byte [edi + edx*4 + 9]
xor ecx, eax
movzx eax, byte [edi + edx*4 + 1]
movzx ecx, byte [ecx + 0x656d00]
xor ecx, eax
mov al, byte [ecx + 0x656d00]
mov byte [ebp - 0xa], al
movzx eax, bh
mov bh, byte [ebp - 0xa]
movzx ecx, byte [eax + 0x656d00]
movzx eax, byte [edi + edx*4 + 0xa]
xor ecx, eax
movzx eax, byte [edi + edx*4 + 2]
movzx ecx, byte [ecx + 0x656e00]
xor ecx, eax
movzx eax, byte [ebp - 0xb]
mov bl, byte [ecx + 0x656e00]
movzx ecx, byte [eax + 0x656e00]
movzx eax, byte [edi + edx*4 + 0xb]
xor ecx, eax
movzx eax, byte [edi + edx*4 + 3]
movzx ecx, byte [ecx + 0x656e00]
xor ecx, eax
mov al, byte [ecx + 0x656d00]
movzx eax, al
movzx ecx, bl
pop edi
mov edx, dword [eax*4 + 0x657b00]
xor edx, dword [ecx*4 + 0x657700]
mov ecx, dword [ebp - 4]
movzx eax, bh
xor ecx, ebp
xor edx, dword [eax*4 + 0x657300]
movzx eax, byte [ebp - 9]
xor edx, dword [eax*4 + 0x656f00]
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.005af618
mov esp, ebp
pop ebp
ret