joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404990
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 0x404a94
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404a94
push ebx
call fcn.0040cf20
add esp, 4
test eax, eax
je 0x4049ea
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4049f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4049d0
jmp 0x4049f3
mov esi, 0x1505
jmp 0x4049f3
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 0x404a94
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404a24
inc ebp
dec ebx
je 0x404a8f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404a8f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404a20
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cf20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404a20
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404a20
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404a8f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404a94
mov edi, dword [eax + 8]
jmp 0x404a94
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404aa0
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.0040cf90
add esp, 8
test eax, eax
je 0x404b04
mov esi, eax
jmp 0x404ae4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040cf90
add esp, 8
mov esi, eax
test eax, eax
je 0x404b04
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00404510
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404ad0
cmp dword [eax + 4], 4
jne 0x404ad0
mov edi, dword [eax + 8]
jmp 0x404ad0
xor eax, eax
test edi, edi
je 0x404b6b
test ebp, ebp
je 0x404b6b
push ebp
call fcn.0040cf20
add esp, 4
test eax, eax
je 0x404b4b
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 0x404b52
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404b30
jmp 0x404b54
mov esi, 0x1505
jmp 0x404b54
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 0x404b73
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 0x404b94
inc ebx
dec ecx
je 0x404b69
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404b69
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404b90
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.0040cf20
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404b90
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040cf40
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404b90
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404b6b
Function at 0x404c90
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 0x404cfd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404cfd
push esi
call fcn.0040cf20
add esp, 4
test eax, eax
je 0x404cda
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404ce1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404cc0
jmp 0x404ce3
mov ebx, 0x1505
jmp 0x404ce3
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 0x404d05
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 0x404d14
inc ebp
dec edi
je 0x404cfb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404cfb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404d10
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cf20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d10
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d10
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404cfd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404cfd
Function at 0x405020
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 0x40523f
cmp dword [esp + 0x1c], 0
jle 0x4051e6
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [edx + eax]
mov dword [esp], ecx
jmp 0x405078
cmp esi, 0xc0
jne 0x40523d
and ebx, 0x1ff800
cmp ebx, 0xd800
mov ecx, dword [esp]
je 0x40523d
add edx, ebp
cmp edx, ecx
jae 0x4051e6
movzx ebx, byte [edx]
cmp ebx, 0xf4
ja 0x40523d
mov eax, ebx
and al, 0xfe
cmp al, 0xc0
je 0x40523d
mov eax, ebx
and eax, 0xffffffc0
cmp eax, 0x80
je 0x40523d
mov ebp, 1
test bl, bl
jns 0x40506e
mov eax, ebx
not eax
or eax, 0xe0
lea esi, [ebx + eax]
inc esi
cmp esi, 0xc0
jne 0x4050e2
movzx edi, byte [edx + 1]
mov eax, edi
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x40523d
and ebx, 0x1f
shl ebx, 6
mov ebp, 2
jmp 0x40512b
mov eax, ebx
and eax, 0xfffffff0
cmp eax, 0xe0
jne 0x40512f
movzx eax, byte [edx + 1]
mov ecx, eax
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40523d
movzx edi, byte [edx + 2]
mov ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40523d
and ebx, 0xf
shl ebx, 0xc
and eax, 0x3f
shl eax, 6
or ebx, eax
mov ebp, 3
xor ecx, ecx
jmp 0x4051a9
mov eax, ebx
and eax, 0xfffffff8
cmp eax, 0xf0
jne 0x40523d
movzx ecx, byte [edx + 1]
mov eax, ecx
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x40523d
movzx eax, byte [edx + 2]
mov edi, eax
or edi, 0xc0
mov ebp, eax
xor ebp, 0xffffff3f
and ebp, edi
cmp ebp, 0x80
jne 0x40523d
movzx edi, byte [edx + 3]
mov ebp, edi
and ebp, 0xffffffc0
cmp ebp, 0x80
jne 0x40523d
and ebx, 7
shl ebx, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebx
and eax, 0x3f
or eax, ecx
shl eax, 6
mov cl, 1
mov ebp, 4
mov ebx, eax
and edi, 0x3f
or edi, ebx
cmp edi, 0x80
jb 0x40523d
cmp edi, 0x7ff
jbe 0x40504d
cmp edi, 0xffff
ja 0x4051d8
test cl, cl
je 0x405059
jmp 0x40523d
cmp edi, 0x10ffff
jbe 0x405059
jmp 0x40523d
mov edi, dword [esp + 0x1c]
lea eax, [edi + 1]
push eax
call dword [0x448008]
add esp, 4
test eax, eax
je 0x40523d
mov esi, eax
mov byte [eax + edi], 0
push edi
push dword [esp + 0x1c]
push eax
call fcn.0040ce40
add esp, 0xc
push 0x10
call dword [0x448008]
add esp, 4
test eax, eax
je 0x405233
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x40523f
push esi
call dword [0x448004]
add esp, 4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405250
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 0x405362
mov esi, dword [esp + 0x28]
test esi, esi
je 0x405362
cmp dword [esp + 0x2c], 0
je 0x405362
push esi
call fcn.0040cf20
add esp, 4
test eax, eax
je 0x4052ba
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 0x4052c1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4052a0
jmp 0x4052c3
mov ebx, 0x1505
jmp 0x4052c3
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 0x40536a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405327
call fcn.00406020
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405362
push ecx
call fcn.0040cf20
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 0x4053dd
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 0x405388
inc edi
dec esi
je 0x4052dc
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4052e1
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405380
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040cf20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405380
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040cf40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405380
mov eax, 0xffffffff
jmp 0x405362
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4053f8
inc edi
dec esi
je 0x405322
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405327
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4053f0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040cf20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4053f0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040cf40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4053f0
jmp 0x405327
Function at 0x405d70
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 0x405f5a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405f5a
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405f5a
cmp dword [ecx], 0
jne 0x405f5a
push esi
call fcn.0040cf20
add esp, 4
test eax, eax
je 0x405dda
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405de1
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405dc0
jmp 0x405de3
mov edi, 0x1505
jmp 0x405de3
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov esi, edx
sub esi, 1
mov dword [esp + 0xc], esi
jae 0x405eb4
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405e41
call fcn.00406020
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405f5a
push esi
call fcn.0040cf20
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00405f70
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040cf20
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x448008]
add esp, 4
test eax, eax
je 0x405f55
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040ce40
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], esi
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], edi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
xor eax, eax
jmp 0x405f5a
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405ed8
inc ebx
dec edx
je 0x405dfc
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405e01
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405ed0
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040cf20
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405ed0
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040cf40
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405ed0
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404df0
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax + esi*4], ecx
mov esi, ecx
jmp 0x405ea9
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x407129
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x407122
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
nop
nop
nop
xor eax, eax
cmp esi, 8
mov dword [esp], ebx
jb 0x4070e4
mov eax, esi
and eax, 0x1ff8
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
movzx ebx, byte [ebp + ebx]
add ebx, edi
add ecx, ebx
movzx edi, byte [ebp + edx + 1]
add edi, ebx
add ecx, edi
movzx ebx, byte [ebp + edx + 2]
add ebx, edi
add ecx, ebx
movzx edi, byte [ebp + edx + 3]
add edi, ebx
add ecx, edi
movzx ebx, byte [ebp + edx + 4]
add ebx, edi
add ecx, ebx
movzx edi, byte [ebp + edx + 5]
add edi, ebx
add ecx, edi
movzx ebx, byte [ebp + edx + 6]
add ebx, edi
add ecx, ebx
movzx edi, byte [ebp + edx + 7]
add edi, ebx
add ecx, edi
lea ebx, [edx + 8]
add edx, 0xf
cmp edx, esi
jb 0x407070
add ebp, ebx
jmp 0x4070e4
movzx edx, byte [ebp]
inc ebp
add edi, edx
add ecx, edi
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, esi
jb 0x4070d0
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov ebx, dword [esp]
sub ebx, esi
mov esi, 0x15b0
jne 0x407050
shl ecx, 0x10
or ecx, edi
jmp 0x40712e
mov ecx, 1
mov eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407140
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40716e
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x40720c
not eax
test bl, 1
jne 0x407175
mov edx, ebx
cmp ebx, 1
jne 0x4071a6
jmp 0x40720a
xor eax, eax
jmp 0x40720c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x445c50]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x445c50]
cmp ebx, 1
je 0x40720a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x445c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x445c50]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x445c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x445c50]
add esi, 2
cmp edx, esi
jne 0x4071b0
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x40d520
Capabilities:
Create process on windows
Encode data using xor
Terminate process

Disassembly:
push ebx
push edi
push esi
sub esp, 0x28
call fcn.00440220
test al, al
je 0x40d747
mov dword [esp], 0xd7d6123d
mov dword [esp + 4], 0
xor eax, eax
mov ecx, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
or esi, 0x4e
mov edx, eax
or edx, 0x4e
add edx, esi
add edx, eax
inc dl
xor dl, byte [esp + eax]
add dl, 0x7a
mov byte [esp + eax], dl
inc eax
dec ecx
cmp eax, 8
jne 0x40d550
mov ecx, dword [esp]
mov eax, ecx
and eax, 0xff368126
mov edx, ecx
and edx, 0xc97ed9
or ecx, 0xc97ed9
imul ecx, edx
xor edx, 0xc97ed9
imul edx, eax
add ecx, edx
mov edx, ecx
shr edx, 7
mov eax, edx
and eax, ecx
lea esi, [edx + ecx]
not esi
lea eax, [esi + eax*2]
and eax, edx
mov esi, eax
and esi, 0xfffffffd
mov edi, eax
and edi, 2
or eax, 2
imul eax, edi
xor edi, 2
imul edi, esi
sub eax, edx
add eax, edi
mov edx, eax
xor edx, ecx
not eax
and eax, ecx
add eax, eax
sub eax, edx
mov ecx, eax
and ecx, 0xb9fe1a8
mov esi, eax
or esi, 0xb9fe1a8
imul esi, ecx
xor ecx, 0xb9fe1a8
mov dword [esp], 0x1b2c9ead
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
add dl, 3
xor dl, byte [esp + ebx]
add dl, 0xf1
mov byte [esp + ebx], dl
inc ebx
cmp ebx, 4
jne 0x40d600
and eax, 0xf4601e57
imul ecx, eax
add ecx, esi
cmp ecx, dword [esp]
jne 0x40d710
mov dword [esp], 0xe31fe103
mov dword [esp + 4], 0xe7d8e500
mov dword [esp + 8], 0xfb72f91d
mov dword [esp + 0xc], 0xffdefd19
mov dword [esp + 0x10], 0xf311f1cf
mov dword [esp + 0x14], 0xf5f4
mov eax, 0xad7e028
mov ecx, 0xf5281fd7
movzx edx, byte [esp + eax - 0xad7e028]
mov esi, ecx
and esi, 0x200019b8
mov edi, eax
and edi, 0x840e047
or edi, esi
xor edi, edx
xor edi, 0x229719b8
add edi, 0xc9c89f37
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [esp + eax - 0xad7e028], dl
inc eax
dec ecx
cmp eax, 0xad7e040
jne 0x40d660
mov dword [esp + 0x18], 0x19aa1bad
mov dword [esp + 0x1c], 0x65d467b3
mov dword [esp + 0x20], 0x6364
mov word [esp + 0x24], 0
mov eax, 0xb106443b
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4ef9bbdd]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xd9
mov byte [esp + eax + 0x4ef9bbdd], cl
inc eax
cmp eax, 0xb1064449
jne 0x40d6d0
mov eax, esp
lea ecx, [esp + 0x18]
push 5
push 0
push eax
push 0x4473da
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00438440
test al, al
je 0x40d742
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.USER32.dll_GetInputState]
test eax, eax
je 0x40d72f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call fcn.0040e6e0
test al, al
je 0x40d742
call fcn.00411190
call fcn.0040fd50
call fcn.00440e60
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40e6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x198
mov eax, dword [0x44e21c]
mov dword [esp + 0x118], 0x90a130c
xor ecx, ecx
nop
nop
nop
nop
mov edx, ecx
add dl, 3
xor dl, byte [esp + ecx + 0x118]
add dl, 0xf1
mov byte [esp + ecx + 0x118], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 4
jb 0x40e700
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x18], 0x39ad3ba5
mov dword [esp + 0x1c], 0x258e27aa
mov dword [esp + 0x20], 0x21be23b8
mov dword [esp + 0x24], 0x2dfc2fb0
mov dword [esp + 0x28], 0x29be2b80
mov dword [esp + 0x2c], 0x151617bc
mov dword [esp + 0x30], 0
mov edx, 0xec79c4cb
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 0x13863b4d]
mov edi, edx
and edi, esi
add edi, edi
sub esi, edi
add esi, edx
mov edi, esi
and edi, 8
xor esi, 8
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + edx + 0x13863b4d], bl
inc edx
cmp edx, 0xec79c4e7
jne 0x40e770
lea esi, [esp + 0x18]
push ecx
push 0
push esi
call eax
mov ecx, 0x44e1e4
push eax
call fcn.0043ff50
movzx eax, al
mov eax, dword [eax*4 + 0x4489c4]
mov ecx, 0xdd14612a
xor ecx, dword [0x4489cc]
add eax, ecx
inc eax
jmp eax
Function at 0x40ef60
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 0x40f1b5
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 0x40ef9c
cmp edx, esi
jae 0x40f1b5
test edi, edi
je 0x40f1b5
movzx ebp, bl
test bl, bl
js 0x40efd0
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
sub esi, eax
sar esi, 1
sub edi, esi
mov eax, ecx
mov esi, dword [esp + 0x24]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x40ef90
jmp 0x40f1b5
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x40f008
cmp bl, 0xc2
jb 0x40efc0
mov bh, byte [edx + 1]
movzx esi, bh
mov ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40f06a
and ebp, 0x1f
shl ebp, 6
add edx, 2
and esi, 0x3f
or esi, ebp
jmp 0x40f0bc
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x40f032
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x40f074
cmp ebp, 0xe0
jne 0x40f07d
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x40efbc
jmp 0x40f07d
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x40f190
cmp bl, 0xf4
ja 0x40efc0
movzx ecx, byte [edx + 1]
je 0x40f0c7
cmp ebp, 0xf0
jne 0x40f0d0
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x40efbc
jmp 0x40f0d0
inc edx
mov esi, dword [esp + 0x24]
jmp 0x40efc2
cmp cl, 0x9f
ja 0x40efbc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f197
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f19d
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
add edx, 3
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
lea ecx, [eax + 2]
mov word [eax], si
jmp 0x40efb2
cmp cl, 0x8f
ja 0x40efbc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f197
mov bh, byte [edx + 2]
movzx ebp, bh
mov esi, ebp
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f19d
mov bh, byte [edx + 3]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40f1a9
and bl, 7
movzx esi, bl
shl esi, 0x12
and ecx, 0x3f
shl ecx, 0xc
or ecx, esi
and ebp, 0x3f
shl ebp, 6
or ebp, ecx
add edx, 4
mov ecx, ebp
and ecx, 0x1ff800
cmp ecx, 0xd800
je 0x40efbc
mov ecx, dword [esp]
and ecx, 0x3f
or ecx, ebp
cmp ecx, 0x10000
jb 0x40efbc
cmp edi, 2
jb 0x40f190
add ebp, 0xf0000
shr ebp, 0xa
and ebp, 0x3ff
or ebp, 0xd800
mov word [eax], bp
mov esi, 0x3ff
sub esi, ecx
and esi, 0x3ff
xor esi, 0xdfff
lea ecx, [eax + 4]
mov word [eax + 2], si
jmp 0x40efb2
mov ecx, eax
jmp 0x40efb2
inc edx
jmp 0x40efbc
add edx, 2
mov esi, dword [esp + 0x24]
jmp 0x40efc2
add edx, 3
mov esi, dword [esp + 0x24]
jmp 0x40efc2
mov word [eax], 0
sub eax, dword [esp + 0x18]
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x411190
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xcb8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
shr eax, 0x1f
jmp dword [eax*4 + 0x449690]
Function at 0x422990
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, dword [esp + 0x34]
mov ebp, 0xfffffffe
cmp word [ebx + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x4229a0
sar ebp, 1
lea eax, [esp + 4]
push eax
push 0
push 0
push ebp
push ebx
push 0
call dword [0x44f530]
mov edi, dword [esp + 4]
test edi, edi
jns 0x4229cf
mov eax, 0xffffffff
jmp 0x4229d2
lea eax, [edi + edi]
push eax
call fcn.0040ce10
add esp, 4
mov esi, eax
lea eax, [esp + 4]
push eax
push edi
push esi
push ebp
push ebx
push 0
call dword [0x44f530]
lea ebx, [esp + 8]
push ebx
push esi
call fcn.00443de0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44aa44]