joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4049b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x404ab4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404ab4
push ebx
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x404a0a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404a11
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4049f0
jmp 0x404a13
mov esi, 0x1505
jmp 0x404a13
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404ab4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404a44
inc ebp
dec ebx
je 0x404aaf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404aaf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404a40
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cee0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404a40
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf00
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404a40
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404aaf
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404ab4
mov edi, dword [eax + 8]
jmp 0x404ab4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404ac0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.0040cf50
add esp, 8
test eax, eax
je 0x404b24
mov esi, eax
jmp 0x404b04
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040cf50
add esp, 8
mov esi, eax
test eax, eax
je 0x404b24
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00404530
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404af0
cmp dword [eax + 4], 4
jne 0x404af0
mov edi, dword [eax + 8]
jmp 0x404af0
xor eax, eax
test edi, edi
je 0x404b8b
test ebp, ebp
je 0x404b8b
push ebp
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x404b6b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x404b72
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404b50
jmp 0x404b74
mov esi, 0x1505
jmp 0x404b74
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x404b93
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x404bb4
inc ebx
dec ecx
je 0x404b89
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404b89
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404bb0
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.0040cee0
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404bb0
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040cf00
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404bb0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404b8b
Function at 0x404cb0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x404d1d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404d1d
push esi
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x404cfa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404d01
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404ce0
jmp 0x404d03
mov ebx, 0x1505
jmp 0x404d03
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x404d25
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404d34
inc ebp
dec edi
je 0x404d1b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404d1b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404d30
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cee0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d30
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf00
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d30
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404d1d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404d1d
Function at 0x405040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
xor eax, eax
cmp dword [esp + 0x18], 0
je 0x405275
cmp dword [esp + 0x1c], 0
jle 0x405212
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea esi, [edx + ecx]
mov dword [esp], esi
jmp 0x405098
cmp esi, 0xc0
jne 0x405275
and edi, 0x1ff800
cmp edi, 0xd800
mov esi, dword [esp]
je 0x405275
add edx, ebp
cmp edx, esi
jae 0x405212
movzx ebx, byte [edx]
cmp ebx, 0xf4
ja 0x405275
mov ecx, ebx
and cl, 0xfe
cmp cl, 0xc0
je 0x405275
mov ecx, ebx
and ecx, 0xffffffc0
cmp ecx, 0x80
je 0x405275
mov ebp, 1
test bl, bl
jns 0x40508e
mov esi, ebx
and esi, 0xffffffe0
cmp esi, 0xc0
jne 0x405103
movzx edi, byte [edx + 1]
mov ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x405275
and ebx, 0x1f
shl ebx, 6
and edi, 0x3f
or edi, ebx
mov ebp, 2
jmp 0x405152
mov ecx, ebx
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x405165
movzx ebp, byte [edx + 1]
mov ecx, ebp
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x405275
movzx edi, byte [edx + 2]
mov ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x405275
and ebx, 0xf
shl ebx, 0xc
and ebp, 0x3f
shl ebp, 6
or ebp, ebx
and edi, 0x3f
or edi, ebp
mov ebp, 3
xor ebx, ebx
cmp edi, 0x80
jae 0x4051e6
jmp 0x405275
mov ecx, ebx
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x405275
movzx edi, byte [edx + 1]
mov ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x405275
movzx ebp, byte [edx + 2]
mov ecx, ebp
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x405275
movzx eax, byte [edx + 3]
mov ecx, eax
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x405273
and ebx, 7
shl ebx, 0xc
and edi, 0x3f
shl edi, 6
or edi, ebx
and ebp, 0x3f
or ebp, edi
shl ebp, 6
lea edi, [eax + ebp]
add edi, 0xffffff80
mov bl, 1
mov ebp, 4
xor eax, eax
cmp edi, 0x80
jb 0x405275
cmp edi, 0x7ff
jbe 0x40506d
cmp edi, 0xffff
ja 0x405204
test bl, bl
je 0x405079
jmp 0x405275
cmp edi, 0x10ffff
jbe 0x405079
jmp 0x405275
mov edi, dword [esp + 0x1c]
mov eax, edi
and eax, 1
mov ecx, edi
xor ecx, 1
lea eax, [ecx + eax*2]
push eax
call dword [0x44a008]
add esp, 4
test eax, eax
je 0x405273
mov esi, eax
mov byte [eax + edi], 0
push edi
push dword [esp + 0x1c]
push eax
call fcn.0040ce00
add esp, 0xc
push 0x10
call dword [0x44a008]
add esp, 4
test eax, eax
je 0x405269
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x405275
push esi
call dword [0x44a004]
add esp, 4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405280
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x405392
mov esi, dword [esp + 0x28]
test esi, esi
je 0x405392
cmp dword [esp + 0x2c], 0
je 0x405392
push esi
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x4052ea
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x4052f1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4052d0
jmp 0x4052f3
mov ebx, 0x1505
jmp 0x4052f3
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x40539a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405357
call fcn.00405f70
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405392
push ecx
call fcn.0040cee0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40540d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4053b8
inc edi
dec esi
je 0x40530c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405311
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4053b0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040cee0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4053b0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040cf00
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4053b0
mov eax, 0xffffffff
jmp 0x405392
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x405428
inc edi
dec esi
je 0x405352
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405357
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405420
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040cee0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405420
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040cf00
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405420
jmp 0x405357
Function at 0x405cc0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, 0xffffffff
cmp dword [esp + 0x28], 0
je 0x405eaa
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x405eaa
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405eaa
cmp dword [ecx], 0
jne 0x405eaa
push edi
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x405d2a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [edi + ebx]
test edx, edx
je 0x405d31
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x405d10
jmp 0x405d33
mov esi, 0x1505
jmp 0x405d33
mov esi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov edi, edx
sub edi, 1
mov dword [esp + 0xc], edi
jae 0x405e0d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x2c]
jb 0x405d91
call fcn.00405f70
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x405eaa
push ebx
call fcn.0040cee0
add esp, 4
lea edi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, ebx
push edi
push esi
push eax
call fcn.00405ec0
add esp, 0xc
mov ebp, eax
push ebx
call fcn.0040cee0
add esp, 4
mov ebx, eax
and eax, 1
mov ecx, ebx
xor ecx, 1
lea eax, [ecx + eax*2]
push eax
call dword [0x44a008]
add esp, 4
test eax, eax
je 0x405ea5
mov edi, eax
mov byte [eax + ebx], 0
push ebx
push dword [esp + 0x30]
push eax
call fcn.0040ce00
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], edi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], edi
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [edi], eax
xor eax, eax
jmp 0x405eaa
mov dword [esp], eax
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405e28
inc ebx
dec edx
je 0x405d4c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edi, dword [eax + ebp*4]
cmp edi, 0xffffffff
je 0x405d51
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x405e20
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + edi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040cee0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405e20
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040cf00
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405e20
mov eax, dword [ecx + 0x10]
push dword [eax + edi*4]
call fcn.00404e10
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax + edi*4], ecx
mov edi, ecx
jmp 0x405e02
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ccb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov ebx, dword [edx + 8]
mov esi, 1
cmp ebx, eax
jae 0x40cd1c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x40ccfe
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x40cd00
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 0xfffffffd
mov ebp, ebx
and ebp, 2
or ebx, 2
imul ebx, ebp
xor ebp, 2
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0x40cce0
jmp 0x40cd00
mov ebx, eax
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0x40cd1a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x40cd1c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40d5c0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push edi
push esi
sub esp, 8
call fcn.004404d0
test al, al
je 0x40d672
call fcn.00439370
test al, al
je 0x40d66d
mov dword [esp], 0x875f626b
mov word [esp + 4], 0
xor eax, eax
mov ecx, 0x1892e9f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x1892e9f]
mov esi, ecx
and esi, 0x1882b6d
mov edi, eax
and edi, 0x12
or edi, esi
xor edi, edx
xor edi, 0x30010492
add edi, 0xc958c126
mov edx, edi
and edx, 0x64
xor edi, 0xe4
lea edx, [edi + edx*2]
add dl, 0xdb
mov byte [esp + ecx - 0x1892e9f], dl
dec eax
inc ecx
cmp eax, 0xfffffffa
jne 0x40d600
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x40d65a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call fcn.0040e600
test al, al
je 0x40d66d
call fcn.00410ed0
call fcn.0040fd50
call fcn.00441690
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40e430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov bl, byte [ebp + 8]
call fcn.0040e5f0
sub esp, 8
push eax
test edi, edi
sets al
mov ecx, edi
sub ecx, 1
sete cl
or al, cl
mov ecx, edi
sub ecx, 0x25
setge cl
or al, cl
test al, 1
jne 0x40e467
jmp 0x40e46c
jmp 0x40e5da
movzx eax, bl
mov edi, esi
mov ecx, dword [ebp + 0x10]
add edi, ecx
add edi, 0xffffffff
mov byte [esi + ecx - 1], 0
cmp eax, 0
sete al
test al, 1
jne 0x40e48a
jmp 0x40e499
add edi, 0xffffffff
jmp 0x40e48f
mov byte [edi], 0x30
jmp 0x40e494
jmp 0x40e5d8
cmp dword [ebp + 0x14], 0xa
sete al
jmp 0x40e4a2
test al, 1
jne 0x40e4ab
jmp 0x40e541
jmp 0x40e4ad
movzx ecx, bl
cmp ecx, 0x64
setae al
test al, 1
jne 0x40e4bc
jmp 0x40e4f6
mov esi, 0x64
mov eax, ecx
xor edx, edx
div esi
shl edx, 1
mov al, byte [edx + 0x4486d9]
mov esi, edi
add esi, 0xffffffff
mov byte [edi - 1], al
mov al, byte [edx + 0x4486d8]
add esi, 0xffffffff
mov byte [edi - 2], al
mov edi, 0x64
mov eax, ecx
xor edx, edx
div edi
mov ebx, eax
mov edi, esi
jmp 0x40e4ad
cmp ecx, 0xa
setb al
test al, 1
jne 0x40e502
jmp 0x40e513
mov cl, byte [ecx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov eax, edi
add eax, 0xffffffff
mov byte [edi - 1], cl
jmp 0x40e53a
shl ecx, 1
lea edx, [0x4486d8]
add edx, ecx
mov cl, byte [ecx + 0x4486d9]
jmp 0x40e526
mov eax, edi
add eax, 0xffffffff
mov byte [edi - 1], cl
mov cl, byte [edx]
add eax, 0xffffffff
mov byte [edi - 2], cl
jmp 0x40e538
jmp 0x40e53a
mov edi, eax
jmp 0x40e5d8
cmp dword [ebp + 0x14], 0x10
sete al
test al, 1
jne 0x40e550
jmp 0x40e54e
jmp 0x40e5a7
movzx eax, bl
cmp eax, 0x10
jge 0x40e56a
mov al, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
add edi, 0xffffffff
jmp 0x40e564
mov byte [edi], al
jmp 0x40e568
jmp 0x40e5d8
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 2
mov edx, eax
and edx, 0xfffffffd
imul edx, ecx
mov ecx, eax
and ecx, 2
or eax, 2
imul eax, ecx
add eax, edx
mov dl, byte [eax + 0x4487a2]
mov ecx, edi
add ecx, 0xffffffff
mov byte [edi - 1], dl
mov al, byte [eax + str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF]
add ecx, 0xffffffff
mov byte [edi - 2], al
mov edi, ecx
jmp 0x40e5d8
movzx ecx, bl
cmp ecx, 0
jbe 0x40e5d6
mov eax, ecx
xor edx, edx
div dword [ebp + 0x14]
lea eax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
add eax, edx
mov al, byte [eax]
add edi, 0xffffffff
jmp 0x40e5c5
jmp 0x40e5c7
mov byte [edi], al
mov eax, ecx
xor edx, edx
div dword [ebp + 0x14]
mov ebx, eax
jmp 0x40e5d4
jmp 0x40e5a7
jmp 0x40e5d8
mov esi, edi
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40e600
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x198
mov eax, dword [0x450128]
mov dword [esp], eax
mov dword [esp + 0x118], 0xf10e070c
mov word [esp + 0x11c], 0
mov byte [esp + 0x11e], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
and eax, 5
mov edx, ecx
xor edx, 0x7d
add edx, eax
mov eax, ecx
and eax, 0xfd
add eax, edx
xor al, byte [esp + ecx + 0x118]
add al, 0x8f
mov byte [esp + ecx + 0x118], al
inc ecx
cmp ecx, 7
jne 0x40e640
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x18], 0xcf57c943
mov dword [esp + 0x1c], 0xc35acd5e
mov dword [esp + 0x20], 0xc752c154
mov dword [esp + 0x24], 0xfba8c554
mov dword [esp + 0x28], 0xff62f99c
mov dword [esp + 0x2c], 0xf3f2fd60
mov word [esp + 0x30], 0
mov edx, 0xf3818652
mov esi, 0xc7e79ad
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0xc7e79c6]
mov edi, edx
and edi, ebx
add edi, edi
sub edi, ebx
add edi, esi
and edi, edx
mov eax, edi
and eax, 2
mov ebp, edi
or edi, 2
imul edi, eax
xor eax, 2
and ebp, 0xf381867d
imul ebp, eax
add edi, ebp
lea ebp, [esi - 0xc7e7900]
and ebp, edi
mov eax, edi
not eax
and eax, edx
sub eax, ebp
add al, bl
add al, 0x66
mov byte [esp + edx + 0xc7e79c6], al
inc edx
dec esi
cmp edx, 0xf381866c
jne 0x40e6c0
lea esi, [esp + 0x18]
push ecx
push 0
push esi
call dword [esp + 0xc]
mov ecx, 0x4500f0
push eax
call fcn.00440160
movzx eax, al
jmp dword [eax*4 + 0x44a998]
Function at 0x40eef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movzx ebx, byte [edx]
test bl, bl
je 0x40f146
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x40ef2c
cmp edx, esi
jae 0x40f146
test edi, edi
je 0x40f146
movzx ebp, bl
test bl, bl
js 0x40ef60
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
not esi
add esi, eax
sar esi, 1
add edi, esi
inc edi
mov eax, ecx
mov esi, dword [esp + 0x24]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x40ef20
jmp 0x40f146
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x40ef9d
cmp bl, 0xc2
jb 0x40ef53
movzx ebx, byte [edx + 1]
mov ecx, ebx
not ecx
or ecx, 0xc0
add ecx, ebx
cmp ecx, 0x7f
jne 0x40efff
and ebp, 0x1f
shl ebp, 6
add edx, 2
and ebx, 0x3f
or ebx, ebp
lea ecx, [eax + 2]
mov word [eax], bx
jmp 0x40ef42
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x40efc7
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x40f005
cmp ebp, 0xe0
jne 0x40f00e
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x40ef4f
jmp 0x40f00e
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x40f121
cmp bl, 0xf4
ja 0x40ef53
movzx ecx, byte [edx + 1]
je 0x40f058
cmp ebp, 0xf0
jne 0x40f061
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x40ef53
jmp 0x40f061
inc edx
jmp 0x40ef53
cmp cl, 0x9f
ja 0x40ef4f
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f128
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f12e
add edx, 3
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
mov word [eax], si
lea ecx, [eax + 2]
jmp 0x40ef42
cmp cl, 0x8f
ja 0x40ef53
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f128
mov bh, byte [edx + 2]
movzx ebp, bh
mov esi, ebp
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f12e
mov bh, byte [edx + 3]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f13a
and ecx, 0x3f
shl ecx, 0xc
and ebp, 0x3f
shl ebp, 6
or ebp, ecx
and bl, 7
movzx ecx, bl
shl ecx, 0x12
or ecx, ebp
add edx, 4
mov esi, ecx
and esi, 0x1ff800
cmp esi, 0xd800
je 0x40ef4f
mov ebx, dword [esp]
and ebx, 0x3f
or ebx, ecx
cmp ebx, 0x10000
jb 0x40ef4f
cmp edi, 2
jb 0x40f121
add ecx, 0xf0000
shr ecx, 0xa
and ecx, 0x3ff
or ecx, 0xd800
mov word [eax], cx
mov esi, 0x3ff
sub esi, ebx
and esi, 0x3ff
xor esi, 0xdfff
lea ecx, [eax + 4]
mov word [eax + 2], si
jmp 0x40ef42
mov ecx, eax
jmp 0x40ef42
inc edx
jmp 0x40ef4f
add edx, 2
mov esi, dword [esp + 0x24]
jmp 0x40ef55
add edx, 3
mov esi, dword [esp + 0x24]
jmp 0x40ef55
mov word [eax], 0
sub eax, dword [esp + 0x18]
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret