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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp + 0x10], ecx
mov edi, dword [edi]
test edi, edi
je 0x5859a8
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x5859a8
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and edi, 0xf
jne 0x585991
cmp esi, 0x10
jb 0x585a24
mov edx, dword [ebp + 0x1c]
mov eax, ecx
sub eax, edx
xor edi, edi
mov dword [ebp - 8], eax
mov eax, esi
shr eax, 4
mov dword [ebp - 0xc], edi
mov edi, ebx
mov dword [ebp - 4], eax
sub edi, edx
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp + 0x10], ecx
jmp 0x5859e3
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.00585bc0
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, 4
mov ecx, dword [ebx + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
dec edx
jne 0x585a00
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
dec dword [ebp - 4]
jne 0x5859e0
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x585a60
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.00585bc0
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov edi, edi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec esi
jne 0x585a50
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x585a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], ecx
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
je 0x585ab4
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x585ab4
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and edi, 0xf
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
jne 0x585a97
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0xc]
bswap edx
mov dword [ebp - 4], edx
cmp esi, 0x10
jb 0x585b3c
mov edi, esi
shr edi, 4
add edx, edi
mov dword [ebp - 4], edx
cmp edx, edi
jae 0x585adc
sub edi, edx
xor edx, edx
mov dword [ebp - 4], edx
push eax
push dword [ebp + 0x14]
push edi
push ebx
push ecx
call dword [ebp + 0x24]
mov edx, dword [ebp - 4]
add esp, 0x14
mov ecx, dword [ebp + 0x18]
mov eax, edx
bswap eax
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x585b1f
mov esi, dword [ebp + 0x18]
mov edx, 0xc
mov ecx, 1
movzx eax, byte [edx + esi - 1]
dec edx
add ecx, eax
mov byte [edx + esi], cl
shr ecx, 8
test edx, edx
jne 0x585b07
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
shl edi, 4
sub esi, edi
add ecx, edi
add ebx, edi
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], ecx
cmp esi, 0x10
jae 0x585ac7
mov edi, dword [ebp - 0xc]
test esi, esi
je 0x585ba7
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebp + 0x14]
push 1
push ecx
push ecx
movdqu xmmword [ecx], xmm0
call dword [ebp + 0x24]
mov eax, dword [ebp - 4]
add esp, 0x14
mov ecx, dword [ebp + 0x18]
inc eax
bswap eax
mov dword [ecx + 0xc], eax
jne 0x585b88
mov esi, dword [ebp + 0x18]
mov edx, 0xc
mov ecx, 1
movzx eax, byte [edx + esi - 1]
dec edx
add ecx, eax
mov byte [edx + esi], cl
shr ecx, 8
test edx, edx
jne 0x585b73
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
sub ebx, eax
mov edx, dword [ebp + 0x10]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
dec esi
jne 0x585b97
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x585bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x585c28
mov edx, dword [ebp + 0x18]
test edi, edi
je 0x585c28
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and esi, 0xf
jne 0x585c11
cmp edi, 0x10
jb 0x585ca4
mov edx, dword [ebp + 0x18]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
jmp 0x585c5b
mov edx, dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push edx
call dword [ebp + 0x20]
add esp, 0xc
cmp esi, 0x10
jae 0x585c90
mov eax, dword [ebp + 0x18]
mov edx, 0xf
sub edx, esi
add eax, esi
mov esi, dword [ebp - 4]
shr edx, 2
inc edx
mov edi, edi
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x585c80
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
dec dword [ebp - 8]
jne 0x585c58
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x585cd5
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
push eax
call dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x585cc5
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x586150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x164]
mov edx, dword [edi + 0x160]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
je 0x58617b
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, esi
add eax, dword [edi + 0x30]
adc ecx, dword [edi + 0x34]
cmp ecx, 0x20000000
ja 0x58623d
jb 0x58619f
test eax, eax
jne 0x58623d
push ebx
mov ebx, dword [edi + 0x16c]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
test ebx, ebx
je 0x5861e3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
je 0x5861cd
mov al, byte [ecx]
dec esi
xor byte [ebx + edi + 0x40], al
inc ecx
inc ebx
mov dword [ebp - 4], ecx
and ebx, 0xf
jne 0x5861b6
jmp 0x5861d1
test ebx, ebx
jne 0x58622e
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call edx
mov eax, dword [ebp - 4]
add esp, 8
jmp 0x5861e9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0xfffffff0
mov dword [ebp - 0xc], ecx
je 0x58620b
push ecx
push eax
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add esp, 0x10
add dword [ebp - 4], eax
sub esi, eax
test esi, esi
je 0x58622e
xor ecx, ecx
mov ebx, esi
test esi, esi
je 0x58622e
lea edx, [edi + 0x40]
mov edi, dword [ebp - 4]
lea ecx, [ecx]
mov al, byte [ecx + edi]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x586220
mov edi, dword [ebp + 8]
mov dword [edi + 0x16c], ebx
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
pop esi
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x586d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x160]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], ebx
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x586dc3
mov eax, dword [ebp + 0xc]
mov edi, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x586efe
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, 0x10
jb 0x586e35
mov ebx, edx
mov dword [ebp + 0x10], edx
mov eax, edi
lea ecx, [esi + 0xf]
sub ebx, esi
shr eax, 4
mov dword [ebp - 8], eax
lea eax, [ebx + ecx]
cmp esi, eax
ja 0x586e00
cmp ecx, edx
jb 0x586e00
mov eax, esi
mov edx, 0x10
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x586df2
jmp 0x586e10
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call dword [ebp - 4]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + 0xf]
add edx, 0x10
add esp, 8
add ebx, 0x10
mov dword [ebp + 0x10], edx
sub edi, 0x10
dec dword [ebp - 8]
jne 0x586de0
mov ebx, dword [ebp - 4]
test edi, edi
je 0x586ed9
xor ebx, ebx
test edi, edi
je 0x586ecc
cmp edi, 0x20
jb 0x586eb4
lea eax, [edx - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x586e5e
cmp ecx, edx
jae 0x586eb4
mov eax, edi
mov ecx, edi
and eax, 0x1f
sub ecx, eax
mov eax, esi
mov dword [ebp + 0x10], ecx
mov ecx, edx
sub ecx, esi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
lea esp, [esp]
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax + esi - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edx + ebx + 0x10]
add ebx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ebx, ecx
jb 0x586e80
mov esi, dword [ebp + 8]
cmp ebx, edi
jae 0x586ecc
sub edx, esi
lea ecx, [ebx + esi]
sub edi, ebx
nop
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edi
jne 0x586ec0
mov ebx, dword [ebp - 4]
lea eax, [esi + 0x60]
push eax
push esi
call ebx
add esp, 8
mov eax, dword [ebp - 0xc]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0xc], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 8], ecx
push esi
call ebx
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5875b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
test bl, 0x40
jne 0x5875fb
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
movzx eax, bl
mov edx, 0xf
and eax, 7
xor ecx, ecx
sub edx, eax
mov byte [esi], al
mov dword [ebp - 0x30], edx
cmp edx, 0xf
jae 0x587627
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x587614
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x58764b
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x587684
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x20], edi
add dword [ebp - 0x1c], edi
sub ebx, edi
je 0x5876e3
shr edi, 4
push edi
push esi
call fcn.00587dd0
add esp, 8
test ebx, ebx
je 0x5876e3
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x5876d2
lea eax, [ebp - 0x14]
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov edi, edi
lea ecx, [ebp - 0x14]
add ecx, edi
movzx edx, byte [esi + ecx]
movzx eax, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + ecx], dl
mov eax, dword [ebp - 0x2c]
xor byte [eax + edi], dl
inc edi
cmp edi, ebx
jb 0x5876b0
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [ebp - 0x28]
add esp, 0xc
jmp 0x5876e6
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jae 0x587708
mov ecx, 0x10
lea edi, [edx + esi]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi], al
xor ecx, ebp
pop esi
xor eax, eax
pop ebx
call fcn.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x58abb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
je 0x58abc6
mov dword [ebp + 0x1c], fcn.005893c0
pop ebp
jmp fcn.005857d0
mov dword [ebp + 0x1c], fcn.00588680
pop ebp
jmp fcn.00585560
Function at 0x58b560
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x630ed8], 0
je 0x58b5a6
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x58b584
mov dword [0x630ed8], eax
jmp 0x58b5a6
sub esp, 8
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 8
push eax
call fcn.00528a10
add esp, 0x10
cmp dword [0x630ed8], 0
jne 0x58b5c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esp, 8
mov dword [ebp - 4], eax
xorps xmm0, xmm0
lea eax, [ebp - 4]
movsd qword [esp], xmm0
push 4
push eax
call fcn.00528a10
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x58d310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x58d325
xor eax, eax
pop edi
pop ebp
ret
push ebx
push esi
push edi
call fcn.00540130
mov ecx, dword [ebp + 0x10]
add esp, 4
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test ebx, ebx
je 0x58d3dc
mov ecx, dword [edi + 0x10c]
cmp ecx, esi
jne 0x58d374
test esi, esi
jle 0x58d3bb
mov edx, ebx
lea ecx, [edi + 0x8c]
mov ebx, esi
lea ebx, [ebx]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x58d360
jmp 0x58d3b8
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x58d398
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.004a2440
add esp, 0xc
test esi, esi
jle 0x58d3bb
mov edx, ebx
lea ecx, [edi + 0xac]
mov ebx, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x58d3a6
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push ebx
push edi
call fcn.00540560
add esp, 0x10
test eax, eax
jne 0x58d3dc
push esi
push ebx
call fcn.00401360
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ebp
ret
Function at 0x58dc50
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x601188
push esi
call fcn.004abb00
mov ecx, dword [ebp + 0xc]
mov eax, 0x48
mov edi, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, eax
mov dword [ebp + 8], 0
cmovg ecx, eax
mov eax, edi
lea ebx, [ecx + edi]
jmp 0x58dc90
movzx edx, byte [eax]
inc eax
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
mov ecx, dword [ebp + 8]
cmp eax, ebx
cmovae eax, edi
xor dword [esi + ecx*4], edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, 0x12
jl 0x58dc90
mov dword [ebp - 8], 0
xor edi, edi
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push esi
push eax
call fcn.00418980
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x58dce2
xor edi, edi
lea eax, [ebp - 8]
push esi
push eax
call fcn.00418980
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x58dd06
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x58dff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x14], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x58e179
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x58e10c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.00418980
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x14]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x58e0b6
test ecx, ecx
je 0x58e163
mov edi, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x58f8e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x14], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x58fa69
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x58f9fc
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.00419400
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x14]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x58f9a6
test ecx, ecx
je 0x58fa53
mov edi, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x593f80
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x59400a
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x593f99
cmp al, 0x6b
jne 0x59400a
inc ecx
cmp al, 0x6b
jne 0x593fde
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x593fb9
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x593fb9
cmp dl, 0xbb
jne 0x593fd0
inc eax
cmp eax, esi
jl 0x593fa7
sub esi, eax
test eax, eax
jne 0x593fe1
push 0x83
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_x931.c
push 0x8a
jmp 0x594016
push 0x7b
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_x931.c
push 0x8a
jmp 0x594016
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x593ff8
push 0x8b
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_x931.c
push 0x8b
jmp 0x594016
push esi
push ecx
push dword [ebp + 8]
call fcn.004abb00
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
push 0x70
push str.F:Gitcurllookaside_opensslcrypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.005283a0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret