joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421178
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x5b36d8]
cmp eax, 0x270
jl 0x421246
xor edx, edx
mov eax, dword [edx*4 + 0x5e53a0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e53a4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e59d4]
xor ecx, dword [eax*4 + 0x58b698]
mov dword [edx*4 + 0x5e53a0], ecx
inc edx
cmp edx, 0xe3
jl 0x42118a
cmp edx, 0x26f
jge 0x421212
mov eax, dword [edx*4 + 0x5e53a0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5e53a4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5e5014]
xor ecx, dword [eax*4 + 0x58b698]
mov dword [edx*4 + 0x5e53a0], ecx
inc edx
cmp edx, 0x26f
jl 0x4211d2
mov edx, dword [0x5e5d5c]
and edx, 0x80000000
mov eax, dword [0x5e53a0]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5e59d0]
and edx, 1
xor ecx, dword [edx*4 + 0x58b698]
mov dword [0x5e5d5c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x5b36d8], edx
mov eax, dword [eax*4 + 0x5e53a0]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x43e934
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x43e9bb
je 0x43e9ea
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b31a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x43e957
mov edi, dword [esp]
jmp 0x43e9c0
mov eax, 0xffffffff
test ecx, ecx
je 0x43e9e4
je 0x43e9e4
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5b31a0]
inc ebx
cmp ebx, ecx
jb 0x43e9c8
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x43e9c0

Function at 0x43e9f8
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.0046819e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret
Function at 0x450d78
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x450db1
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x450d8b
cmp edx, 3
je 0x450dc2
cmp edx, 2
je 0x450dcb
cmp edx, 1
je 0x450dd4
jmp 0x450ddf
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x7aa400]
mov ecx, dword [0x801ad8]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x450e56
mov ecx, dword [0x801adc]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x450e4d
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x450e44
or dl, dl
je 0x450e40
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x450e44
add edi, 2
add esi, 2
or dl, dl
jne 0x450e24
xor eax, eax
jmp 0x450e49
sbb eax, eax
or eax, 1
test eax, eax
je 0x450e63
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x450e17
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x45d29c
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.0046819e
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x45d2b8
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x45d2d1
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x45d2c9
mov ebx, eax
inc ebx
push ebx
call fcn.0046788c
pop ecx
mov ecx, dword [0x8018c8]
mov edx, dword [0x8018c4]
mov dword [edx + ecx*4], eax
mov edx, dword [0x8018c4]
mov ecx, dword [0x8018c8]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x45d42d
push ebx
push edi
push edx
call dword [0x5d048c]
add esp, 0xc
mov ebx, dword [0x8018c8]
mov ecx, dword [0x8018c4]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.0045d4a0
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x45d408
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.0046819e
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045d29c
mov edi, eax
lea eax, [esp + 8]
call fcn.0045d29c
mov ebx, eax
lea eax, [esp + 8]
call fcn.0045d530
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x45d3a6
cmp edi, 0x1ea
je 0x45d380
cmp edi, 0xea
jl 0x45d3e3
mov edx, dword [0x8018cc]
add edx, ebx
mov dword [0x8018cc], edx
cmp edx, 0x186a0
jge 0x45d3c7
mov eax, dword [0x8018c8]
inc eax
mov dword [0x8018c8], eax
cmp eax, 0x64
jge 0x45d3ae
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.00464974
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x186a0
push 1
push 0x196cc
call fcn.00464974
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8018c8]
mov eax, dword [0x8018c4]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.00464974
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8018c8]
mov eax, dword [0x8018c4]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.00464974
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.004649d0
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x45d51c
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.0046819e
add esp, 0xc
ret

Function at 0x45dc24
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x4222f4
call fcn.0046a7c0
add esp, 0xc
test eax, eax
je 0x45dc4a
movsx edx, byte [0x5b36f8]
dec edx
push edx
push eax
call dword [0x58b0b4]
ret
push 0x807da0
push 0
call fcn.0040c5ac
add esp, 8
ret
Function at 0x462c54
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x8016b4]
test eax, eax
je 0x462c70
xor eax, eax
push eax
push eax
push 0x4266b8
call fcn.0046a7c0
add esp, 0xc
ret

Function at 0x462c74
Capabilities:
Create thread

Disassembly:
push edi
push esi
push ebx
push esi
movsx edx, byte [0x5b36f4]
test edx, edx
jle 0x462d0f
xor eax, eax
xor ecx, ecx
xor edx, edx
mov edi, eax
mov ebx, edx
mov esi, ecx
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x58b0d4]
mov dword [esi*4 + 0x7b3f20], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x58b0d4]
mov dword [ebx + 0x7b4020], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x58b0d4]
mov dword [ebx + 0x7b4120], eax
cmp dword [esi*4 + 0x7b3f20], 0
je 0x462dd5
cmp dword [esi*4 + 0x7b4020], 0
je 0x462dc5
cmp dword [esi*4 + 0x7b4120], 0
je 0x462db5
add ebx, 4
inc esi
movsx edx, byte [0x5b36f4]
cmp esi, edx
jl 0x462c93
mov eax, edi
cmp eax, 1
je 0x462d9d
test edx, edx
jle 0x462d99
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebx, eax
mov esi, edx
mov edi, ecx
mov dword [esi + 0x7b2520], edi
xor ecx, ecx
lea edx, [esi + 0x7b2520]
lea eax, [esp]
push eax
push ecx
push edx
push 0x425468
push ecx
push ecx
call fcn.0046aa61
add esp, 0x18
mov dword [edi*4 + 0x7b2420], eax
push edi
push eax
call dword [0x58b0b4]
cmp dword [edi*4 + 0x7b2420], 0
jne 0x462d64
mov ebx, 1
add esi, 0x68
inc edi
movsx eax, byte [0x5b36f4]
cmp edi, eax
jl 0x462d23
mov eax, ebx
cmp eax, 1
je 0x462d81
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
ret
push 0x808284
push 0
call fcn.0040c5ac
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
xor eax, eax
jmp 0x462d75
push 0x808258
push 0
call fcn.0040c5ac
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
call dword [0x58b23c]
mov edi, 1
jmp 0x462cf5
call dword [0x58b23c]
mov edi, 1
jmp 0x462ce7
call dword [0x58b23c]
mov edi, 1
jmp 0x462cd9
Function at 0x464574
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x58b430]
test eax, eax
jg 0x464588
mov dword [0x801388], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x464594
mov eax, edx
mov dword [0x801388], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x7a9860]
push 0x34
push edx
call dword [0x5d0480]
add esp, 8
mov dword [ebx + 0x7a9860], 0x34
mov dword [ebx + 0x7a9864], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x4645a0
mov ebx, dword [esp]
mov dword [0x7a9ba0], 1
mov dword [0x7a9ba4], 2
mov dword [0x7a9ba8], 4
mov dword [0x7a9bac], 8
mov dword [0x7a9bb0], 0x10
mov dword [0x7a9bb4], 0x20
mov dword [0x7a9bb8], 0x40
mov dword [0x7a9bbc], 0x80
mov dword [0x7a9bc0], 0x100
mov dword [0x7a9bc4], 0x200
mov dword [0x7a9bc8], 0x400
mov dword [0x7a9bcc], 0x800
mov dword [0x7a9bd0], 0x1000
mov dword [0x7a9bd4], 0x2000
mov dword [0x7a9bd8], 0x4000
mov dword [0x7a9bdc], 0x8000
mov dword [0x7a9be0], 0x10000
mov dword [0x7a9be4], 0x20000
mov dword [0x7a9be8], 0x40000
mov dword [0x7a9bec], 0x80000
mov dword [0x7a9bf0], 0x100000
mov dword [0x7a9bf4], 0x200000
mov dword [0x7a9bf8], 0x400000
mov dword [0x7a9bfc], 0x800000
mov dword [0x7a9c00], 0x1000000
mov dword [0x7a9c04], 0x2000000
mov dword [0x7a9c08], 0x4000000
mov dword [0x7a9c0c], 0x8000000
mov dword [0x7a9c10], 0x10000000
mov dword [0x7a9c14], 0x20000000
mov dword [0x7a9c18], 0x40000000
mov dword [0x7a9c1c], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x464c2c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5e53a0], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5e539c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5e53a0], edx
inc eax
cmp eax, 0x270
jl 0x464c3a
mov dword [0x5b36d8], eax
ret
Function at 0x48ed08
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
not eax
test ecx, ecx
je 0x48ed2f
test dl, 3
je 0x48ed2f
movzx ebx, byte [edx]
xor ebx, eax
movzx ebx, bl
shr eax, 8
add edx, 1
xor eax, dword [ebx*4 + 0x5908a0]
add ecx, 0xffffffff
jne 0x48ed10
cmp ecx, 0x20
jb 0x48ef16
xor eax, dword [edx]
movzx ebx, al
mov ebx, dword [ebx*4 + 0x5914a0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5910a0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x590ca0]
shr eax, 0x18
add ecx, 0xffffffe0
xor ebx, dword [eax*4 + 0x5908a0]
xor ebx, dword [edx + 4]
movzx eax, bl
mov eax, dword [eax*4 + 0x5914a0]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor eax, dword [esi*4 + 0x5910a0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ebx, 0x18
xor eax, dword [esi*4 + 0x590ca0]
xor eax, dword [ebx*4 + 0x5908a0]
xor eax, dword [edx + 8]
movzx ebx, al
mov esi, eax
shr esi, 8
mov ebx, dword [ebx*4 + 0x5914a0]
and esi, 0xff
xor ebx, dword [esi*4 + 0x5910a0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x590ca0]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5908a0]
xor ebx, dword [edx + 0xc]
movzx eax, bl
mov eax, dword [eax*4 + 0x5914a0]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor eax, dword [esi*4 + 0x5910a0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ebx, 0x18
xor eax, dword [esi*4 + 0x590ca0]
xor eax, dword [ebx*4 + 0x5908a0]
xor eax, dword [edx + 0x10]
movzx ebx, al
mov esi, dword [ebx*4 + 0x5914a0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5910a0]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
shr eax, 0x18
xor esi, dword [ebx*4 + 0x590ca0]
xor esi, dword [eax*4 + 0x5908a0]
xor esi, dword [edx + 0x14]
mov eax, esi
and eax, 0xff
mov ebx, esi
shr ebx, 8
mov eax, dword [eax*4 + 0x5914a0]
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5910a0]
mov ebx, esi
shr ebx, 0x10
movzx ebx, bl
xor eax, dword [ebx*4 + 0x590ca0]
shr esi, 0x18
xor eax, dword [esi*4 + 0x5908a0]
xor eax, dword [edx + 0x18]
movzx ebx, al
mov ebx, dword [ebx*4 + 0x5914a0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5910a0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x590ca0]
xor ebx, dword [eax*4 + 0x5908a0]
xor ebx, dword [edx + 0x1c]
movzx eax, bl
mov esi, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x5914a0]
and esi, 0xff
xor eax, dword [esi*4 + 0x5910a0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
xor eax, dword [esi*4 + 0x590ca0]
shr ebx, 0x18
add edx, 0x20
xor eax, dword [ebx*4 + 0x5908a0]
cmp ecx, 0x20
jae 0x48ed38
cmp ecx, 4
jb 0x48ef64
xor eax, dword [edx]
movzx esi, al
mov ebx, dword [esi*4 + 0x5914a0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5910a0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x590ca0]
shr eax, 0x18
mov esi, eax
mov eax, ebx
xor eax, dword [esi*4 + 0x5908a0]
add ecx, 0xfffffffc
add edx, 4
cmp ecx, 4
jae 0x48ef1b
test ecx, ecx
je 0x48ef82
movzx ebx, byte [edx]
xor ebx, eax
movzx ebx, bl
shr eax, 8
add edx, 1
xor eax, dword [ebx*4 + 0x5908a0]
add ecx, 0xffffffff
jne 0x48ef68
not eax
pop ebx
pop esi
ret
Function at 0x494a68
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x494b16
cmp eax, 0xcb
je 0x494aab
cmp eax, 0xcc
je 0x494aa1
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.00494b48
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x494ac4
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x494aa1
mov edx, dword [ebx + 8]
test edx, edx
je 0x494acf
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x494b40
cmp eax, 2
je 0x494ab9
mov edx, dword [ebx + 8]
test edx, edx
je 0x494acf
cmp eax, 3
je 0x494af3
cmp eax, 1
jne 0x494acb
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x494ac7
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x494ac7
push ebx
call fcn.004978a0
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x494b31
mov dword [ebx + 0x14], 0xcb
jmp 0x494aab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x494b48
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x494b71
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x494c0a
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x494b96
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x494bde
mov edx, dword [ebx + 8]
test edx, edx
je 0x494bb8
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x494c2b
cmp eax, dword [ebx + 0x60]
jb 0x494b9b
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x494b94
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x494c19
mov edx, 0xce
jmp 0x494c1e
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x49967c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x4997d1
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x4997ca
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x4996e3
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x499710
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x49976c
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x499750
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x499730
mov edx, dword [esp + 8]
test edx, edx
je 0x4997af
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x49978c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x4996dc
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x49969c
Function at 0x4cf5ce
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4cf6f1
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4cf6d5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4cf627
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4cf605
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4cf9ad
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x4cfadb
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x4cfabb
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x4cfa06
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4cf9e7
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret