joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b25e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.004b20c0
add esp, 4
test eax, eax
js 0x4b27c3
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0xf0]
shl edi, 2
xor ebx, ebx
test edi, edi
jle 0x4b2650
lea esi, [eax + 8]
add eax, 8
lea esi, [esi + edi*4]
mov ecx, dword [esi - 8]
mov edx, dword [eax - 8]
mov dword [eax - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 8], edx
mov edx, dword [eax - 4]
mov dword [eax - 4], ecx
mov ecx, dword [esi]
mov dword [esi - 4], edx
mov edx, dword [eax]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [eax + 4], ecx
add ebx, 4
sub edi, 4
mov dword [esi + 4], edx
lea eax, [eax + 0x10]
lea esi, [esi - 0x10]
cmp ebx, edi
jl 0x4b2614
mov ebx, dword [ebp + 8]
mov edi, 1
cmp dword [ebx + 0xf0], edi
jle 0x4b27be
lea esi, [ebx + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
shr eax, 0x18
inc edi
movzx ecx, byte [eax*4 + 0x55bc88]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x55d0b0]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55d4b0]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55ccb0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55c8b0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x55bc88]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x55d0b0]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55d4b0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55c8b0]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55ccb0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x55bc88]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x55d0b0]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55d4b0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55c8b0]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55ccb0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x55bc88]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x55d0b0]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55d4b0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55c8b0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x55bc88]
xor ecx, dword [eax*4 + 0x55ccb0]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebx + 0xf0]
jl 0x4b2667
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4b34e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, 0x80
cmp edx, edi
mov ebx, ecx
cmovg edx, edi
mov byte [ebx], 0
test eax, eax
jg 0x4b3503
mov eax, 0x400
jmp 0x4b350d
mov ecx, 0x400
cmp eax, ecx
cmovg eax, ecx
mov dword [ebp + 0xc], eax
test edx, edx
jle 0x4b3530
mov edi, dword [ebp + 8]
mov ecx, ebx
sub edi, ebx
mov esi, edx
lea ecx, [ecx]
mov al, byte [edi + ecx]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec esi
jne 0x4b3520
mov edi, 0x80
movzx ecx, byte [ebx + edx - 1]
cmp edx, 0x80
jge 0x4b3560
mov esi, ebx
sub esi, edx
movzx eax, byte [esi + edx]
add eax, ecx
and eax, 0xff
inc edx
movzx ecx, byte [eax + 0x55ddb0]
mov byte [edx + ebx - 1], cl
cmp edx, 0x80
jl 0x4b3541
mov eax, dword [ebp + 0xc]
mov edx, 0xff
lea ecx, [eax + 7]
sar ecx, 3
sub edi, ecx
neg eax
and eax, 7
mov dword [ebp + 0xc], ecx
mov ecx, eax
movzx eax, byte [edi + ebx]
lea esi, [edi + ebx]
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x55ddb0]
mov byte [esi], cl
test edi, edi
je 0x4b35ab
mov edx, dword [ebp + 0xc]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x55ddb0]
mov byte [esi], cl
dec edi
jne 0x4b3595
lea esi, [ebx + 0xfc]
lea edx, [ebx + 0x7e]
mov edi, 0x40
lea esp, [esp]
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
and ecx, 0xffff
mov dword [esi], ecx
lea esi, [esi - 4]
lea edx, [edx - 2]
dec edi
jne 0x4b35c0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4b5b50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
push ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [eax]
movzx ebx, byte [ecx]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x18], edx
mov edx, edi
mov dword [ebp - 0x30], ecx
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x10]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 5], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
test eax, eax
je 0x4b5cd3
mov ecx, dword [ebp - 0x14]
sub dword [ebp - 0x18], ecx
xor edi, edi
lea esp, [esp]
dec eax
mov dword [ebp + 8], eax
test esi, esi
jne 0x4b5c7b
mov edx, dword [ebp - 0x28]
push 1
lea ecx, [ebp - 0x24]
call fcn.004b4aa0
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
add esp, 4
mov byte [ebp - 0xc], bl
mov dword [ebp - 0x10], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
inc edi
mov al, byte [ebp + esi - 0xc]
xor al, byte [ecx]
mov edx, dword [ebp - 0x18]
inc esi
mov byte [edx + ecx], al
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
inc ecx
and esi, 7
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x4b5c20
test edi, edi
mov edi, dword [ebp - 0x2c]
je 0x4b5cd3
mov eax, dword [ebp - 0x30]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
shr ebx, 0x18
mov byte [edi + 2], bl
mov eax, edx
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax], esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
Function at 0x4b6a50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x592830]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov ebx, 0x5a2360
push 0x60
cmovne ebx, eax
lea eax, [esp + 0x14]
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.004f2670
push esi
mov edx, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
call fcn.00464da0
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.00464eb0
mov ecx, dword [fcn.004f2670]
push 0x60
lea eax, [esp + 0x24]
push 0
push eax
call ecx
mov ecx, dword [esp + 0x90]
add esp, 0x1c
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
Function at 0x4b6af0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
push ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x18]
push esi
mov esi, dword [eax]
movzx ebx, byte [ecx]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x18], edx
mov edx, edi
mov dword [ebp - 0x2c], ecx
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x10]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 5], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
test eax, eax
je 0x4b6c7c
mov ecx, dword [ebp - 0x14]
sub dword [ebp - 0x18], ecx
xor edi, edi
dec eax
mov dword [ebp + 8], eax
test esi, esi
jne 0x4b6c24
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.004b5060
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
add esp, 8
mov dword [ebp - 0x10], edx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
inc edi
mov al, byte [ebp + esi - 0xc]
xor al, byte [ecx]
mov edx, dword [ebp - 0x18]
inc esi
mov byte [edx + ecx], al
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
inc ecx
and esi, 7
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x4b6bc5
test edi, edi
mov edi, dword [ebp - 0x34]
je 0x4b6c7c
mov eax, dword [ebp - 0x2c]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
shr ebx, 0x18
mov byte [edi + 2], bl
mov eax, edx
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax], esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
Function at 0x4c3530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 8], edx
mov ebx, ecx
cmp esi, 0x40000000
ja 0x4c3659
mov edi, dword [ebp + 0xc]
cmp edi, 0x40000000
ja 0x4c3659
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0x59959c
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x14], 4
test eax, eax
je 0x4c35b1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
jmp 0x4c35b3
xor eax, eax
push edi
push eax
lea edx, [ebp - 0x1c]
call fcn.004c7450
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc], ecx
test ecx, ecx
jle 0x4c3659
mov eax, dword [ebx]
mov dword [ebp - 4], ecx
push 0x10
lea edx, [ebp - 4]
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], eax
call fcn.004c34c0
add esp, 4
test eax, eax
je 0x4c3659
push 0x10
lea edx, [ebp - 4]
lea ecx, [ebp + 0x14]
call fcn.004c34c0
add esp, 4
test eax, eax
je 0x4c3659
push 6
lea edx, [ebp - 4]
lea ecx, [ebp + 0x14]
call fcn.004c34c0
add esp, 4
test eax, eax
je 0x4c3659
push 4
lea edx, [ebp - 4]
lea ecx, [ebp + 0x14]
call fcn.004c34c0
add esp, 4
test eax, eax
je 0x4c3659
mov ecx, dword [ebp + 0x14]
mov edi, 0x59959c
xor dl, dl
sub edi, ecx
mov esi, 4
mov al, byte [edi + ecx]
xor al, byte [ecx]
lea ecx, [ecx + 1]
or dl, al
dec esi
jne 0x4c3636
test dl, dl
jne 0x4c3659
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c6c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push edi
cmp dword [ebx + 0x10c], 0xffffffff
mov edi, edx
mov dword [ebp - 4], edi
jne 0x4c6c2e
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push esi
mov esi, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax], esi
test edi, edi
je 0x4c6cdb
mov ecx, dword [ebx + 0x10c]
cmp ecx, esi
jne 0x4c6c69
test esi, esi
jle 0x4c6cb3
lea ecx, [ebx + 0x8c]
mov edi, esi
mov al, byte [ecx + 0x60]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec edi
jne 0x4c6c57
jmp 0x4c6cb0
mov eax, esi
sub eax, ecx
mov byte [ecx + ebx + 0xec], 0x80
cmp eax, 1
jle 0x4c6c8f
dec eax
push eax
lea eax, [ebx + 0xed]
add eax, ecx
push 0
push eax
call fcn.004f2670
add esp, 0xc
test esi, esi
jle 0x4c6cb3
mov edx, edi
lea ecx, [ebx + 0xac]
mov edi, esi
lea ecx, [ecx]
mov al, byte [ecx + 0x40]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec edi
jne 0x4c6ca0
mov edi, dword [ebp - 4]
mov eax, dword [ebx]
push esi
mov eax, dword [eax + 0x18]
push edi
push edi
push ebx
call eax
add esp, 0x10
test eax, eax
jne 0x4c6cdb
push esi
push eax
mov eax, dword [fcn.004f2670]
push edi
call eax
add esp, 0xc
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c95b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [edx + 4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edx
cmp eax, dword [ecx + 4]
jge 0x4c95cd
mov ebx, ecx
jmp 0x4c95d4
mov ebx, edx
mov edx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x4c95e0
mov eax, edi
jmp 0x4c95ec
mov edx, eax
mov ecx, edi
call fcn.0041de20
mov edx, dword [ebp - 4]
test eax, eax
jne 0x4c95f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp dword [edx + 4], esi
jle 0x4c9619
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [edx]
mov edx, dword [eax + esi*4]
xor edx, dword [ecx + esi*4]
mov eax, dword [edi]
inc esi
mov dword [eax + esi*4 - 4], edx
mov edx, dword [ebp - 4]
cmp esi, dword [edx + 4]
jl 0x4c9600
cmp esi, dword [ebx + 4]
jge 0x4c9630
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebx + 4]
jl 0x4c9620
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
jle 0x4c9653
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x4c9650
dec ecx
test ecx, ecx
jg 0x4c9642
mov dword [edi + 4], ecx
cmp dword [edi + 4], 0
jne 0x4c9660
mov dword [edi + 0xc], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cf9e0
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
push edi
push 0x1048
mov edi, ecx
push 0x562c70
push edi
mov esi, edx
call fcn.004f0080
mov ebx, dword [ebp + 8]
mov eax, 0x48
add esp, 0xc
cmp esi, eax
cmovg esi, eax
mov eax, ebx
add esi, ebx
mov dword [ebp + 8], 0
movzx edx, byte [eax]
inc eax
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
or edx, ecx
inc eax
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
or edx, ecx
inc eax
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
or edx, ecx
mov ecx, dword [ebp + 8]
inc eax
cmp eax, esi
cmovae eax, ebx
xor dword [edi + ecx*4], edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, 0x12
jl 0x4cfa18
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor esi, esi
lea ebx, [ebx]
mov edx, edi
lea ecx, [ebp - 8]
call fcn.004cfac0
mov eax, dword [ebp - 8]
mov dword [edi + esi*4], eax
mov eax, dword [ebp - 4]
mov dword [edi + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jl 0x4cfa70
xor esi, esi
mov edx, edi
lea ecx, [ebp - 8]
call fcn.004cfac0
mov eax, dword [ebp - 8]
mov dword [edi + esi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [edi + esi*4 + 0x4c], eax
add esi, 2
cmp esi, 0x400
jl 0x4cfa91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4da6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
push ebx
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea ebx, [eax + 3]
sub eax, edi
lea esi, [edi + 2]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 4
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x10]
call fcn.004d9410
movzx ecx, byte [ebx - 3]
movzx eax, byte [ebp - 0x18]
xor ecx, eax
movzx eax, byte [ebp - 0x17]
mov byte [esi - 2], cl
mov byte [ebp - 0x10], cl
movzx ecx, byte [ebx - 2]
xor ecx, eax
movzx eax, byte [ebp - 0x16]
mov byte [esi - 1], cl
mov byte [ebp - 0xf], cl
movzx ecx, byte [esi + edi]
xor ecx, eax
movzx eax, byte [ebp - 0x15]
mov byte [esi], cl
mov byte [ebp - 0xe], cl
movzx ecx, byte [ebx]
xor ecx, eax
movzx eax, byte [ebp - 0x14]
mov byte [esi + 1], cl
mov byte [ebp - 0xd], cl
movzx ecx, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebp - 0x13]
mov byte [esi + 2], cl
mov byte [ebp - 0xc], cl
movzx ecx, byte [ebx + 2]
xor ecx, eax
movzx eax, byte [ebp - 0x12]
mov byte [esi + 3], cl
mov byte [ebp - 0xb], cl
movzx ecx, byte [ebx + 3]
xor ecx, eax
movzx eax, byte [ebp - 0x11]
mov byte [esi + 4], cl
mov byte [ebp - 0xa], cl
movzx ecx, byte [ebx + 4]
xor ecx, eax
add esp, 4
dec dword [ebp - 0x1c]
mov byte [esi + 5], cl
mov byte [ebp - 9], cl
mov ecx, dword [ebp - 0x20]
lea ebx, [ebx + 8]
lea esi, [esi + 8]
jne 0x4da6d8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
Function at 0x4de6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
sub edx, eax
mov dword [ebp - 4], edx
push esi
mov edx, ecx
sub edx, eax
push edi
lea edi, [ebx + 3]
sub ebx, ecx
mov dword [ebp - 8], edx
lea esi, [ecx + 1]
mov dword [ebp - 0xc], ebx
mov edx, 8
lea ebx, [ebx]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
xor cl, byte [eax]
lea eax, [eax + 4]
mov byte [ebx + eax - 4], cl
mov ebx, dword [ebp - 0xc]
lea esi, [esi + 4]
movzx ecx, byte [ebx + esi - 4]
xor cl, byte [eax - 3]
lea edi, [edi + 4]
mov byte [esi - 4], cl
movzx ecx, byte [eax - 2]
xor cl, byte [edi - 5]
mov byte [esi - 3], cl
movzx ecx, byte [eax - 1]
xor cl, byte [edi - 4]
mov byte [esi - 2], cl
dec edx
jne 0x4de710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ff9c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.rxmss.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004f28af
mov dword [ebp - 0x14], eax
cmp dword [0x59f9f8], edi
jne 0x4ffab9
push 0x800
push edi
push 0x53f504
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4ffa46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4ffb99
push 0x53f504
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4ffb99
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ffb99
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x59f9f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x59f9fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x53f54c
push esi
mov dword [0x59fa00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x59fa08], eax
test eax, eax
je 0x4ffab6
push 0x53f568
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x59fa04], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4ffade
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ffad1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4ffaf3
push 4
pop eax
jmp 0x4ffb9b
cmp dword [ebp - 0x14], edi
je 0x4ffaf3
push dword [0x59f9f8]
call dword [sym.imp.rxmss.dll_DecodePointer]
push 3
jmp 0x4ffad8
mov eax, dword [0x59fa04]
mov ebx, dword [sym.imp.rxmss.dll_DecodePointer]
cmp eax, esi
je 0x4ffb51
cmp dword [0x59fa08], esi
je 0x4ffb51
push eax
call ebx
push dword [0x59fa08]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4ffb51
test eax, eax
je 0x4ffb51
call ecx
test eax, eax
je 0x4ffb46
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4ffb46
test byte [ebp - 8], 1
jne 0x4ffb51
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4ffb81
mov eax, dword [0x59f9fc]
cmp eax, esi
je 0x4ffb7e
push eax
call ebx
test eax, eax
je 0x4ffb7e
call eax
mov edi, eax
test edi, edi
je 0x4ffb7e
mov eax, dword [0x59fa00]
cmp eax, esi
je 0x4ffb7e
push eax
call ebx
test eax, eax
je 0x4ffb7e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x59f9f8]
call ebx
test eax, eax
je 0x4ffb99
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4ffb9b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebb9e
leave
ret
Function at 0x503561
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004fadd3
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x503599
xor eax, eax
jmp 0x5035c5
cmp esi, dword [ebp - 4]
je 0x5035c2
cmp dword [ebp + 0xc], 0
je 0x5035c2
push dword [edi + 0x9c]
call fcn.0050316f
push dword [edi + 0x9c]
mov esi, eax
call fcn.004f2be4
pop ecx
pop ecx
cmp esi, eax
je 0x503595
xor eax, eax
inc eax
pop edi
pop esi
leave
ret