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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x40478b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40478b
push esi
call fcn.0040ccd0
add esp, 4
test eax, eax
je 0x40476a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x404771
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x404750
jmp 0x404773
mov ebp, 0x1505
jmp 0x404773
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x404797
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4047b4
inc ebx
dec edi
je 0x40478b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40478b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x4047b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ccd0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x4047b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040ccf0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4047b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40478b
cmp dword [eax + 4], 3
jne 0x40478b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40478b

Function at 0x404850
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x404951
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404951
push ebx
call fcn.0040ccd0
add esp, 4
test eax, eax
je 0x4048aa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4048b1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404890
jmp 0x4048b3
mov esi, 0x1505
jmp 0x4048b3
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 0x404951
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4048e4
inc ebp
dec ebx
je 0x40494f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40494f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4048e0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ccd0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4048e0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040ccf0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4048e0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40494f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x404951
mov edi, dword [eax + 8]
jmp 0x404951
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404980
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 0x404a84
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404a84
push ebx
call fcn.0040ccd0
add esp, 4
test eax, eax
je 0x4049da
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4049e1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4049c0
jmp 0x4049e3
mov esi, 0x1505
jmp 0x4049e3
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 0x404a84
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404a14
inc ebp
dec ebx
je 0x404a7f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404a7f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404a10
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ccd0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404a10
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040ccf0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404a10
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404a7f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404a84
mov edi, dword [eax + 8]
jmp 0x404a84
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404a90
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.0040cd40
add esp, 8
test eax, eax
je 0x404afe
mov esi, eax
jmp 0x404ad4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040cd40
add esp, 8
mov esi, eax
test eax, eax
je 0x404afe
mov eax, esi
xor eax, ebp
mov ecx, ebp
not ecx
and ecx, esi
add ecx, ecx
sub ecx, eax
push ecx
push ebp
push edi
call fcn.00404500
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404ac0
cmp dword [eax + 4], 4
jne 0x404ac0
mov edi, dword [eax + 8]
jmp 0x404ac0
xor eax, eax
test edi, edi
je 0x404b5b
test ebp, ebp
je 0x404b5b
push ebp
call fcn.0040ccd0
add esp, 4
test eax, eax
je 0x404b3b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x404b42
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404b20
jmp 0x404b44
mov esi, 0x1505
jmp 0x404b44
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 0x404b63
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 0x404b84
inc ebx
dec ecx
je 0x404b59
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404b59
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404b80
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.0040ccd0
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404b80
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040ccf0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404b80
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404b5b
Function at 0x404c80
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 0x404ced
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404ced
push esi
call fcn.0040ccd0
add esp, 4
test eax, eax
je 0x404cca
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404cd1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404cb0
jmp 0x404cd3
mov ebx, 0x1505
jmp 0x404cd3
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 0x404cf5
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 0x404d04
inc ebp
dec edi
je 0x404ceb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404ceb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404d00
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ccd0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d00
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040ccf0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d00
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404ced
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404ced
Function at 0x405240
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 0x405352
mov esi, dword [esp + 0x28]
test esi, esi
je 0x405352
cmp dword [esp + 0x2c], 0
je 0x405352
push esi
call fcn.0040ccd0
add esp, 4
test eax, eax
je 0x4052aa
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 0x4052b1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x405290
jmp 0x4052b3
mov ebx, 0x1505
jmp 0x4052b3
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 0x40535a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405317
call fcn.00405f60
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405352
push ecx
call fcn.0040ccd0
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 0x4053cd
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 0x405378
inc edi
dec esi
je 0x4052cc
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4052d1
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405370
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040ccd0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405370
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040ccf0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405370
mov eax, 0xffffffff
jmp 0x405352
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4053e8
inc edi
dec esi
je 0x405312
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405317
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4053e0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040ccd0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4053e0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040ccf0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4053e0
jmp 0x405317
Function at 0x405cb0
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 0x405e9a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405e9a
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405e9a
cmp dword [ecx], 0
jne 0x405e9a
push esi
call fcn.0040ccd0
add esp, 4
test eax, eax
je 0x405d1a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405d21
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405d00
jmp 0x405d23
mov edi, 0x1505
jmp 0x405d23
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 0x405df4
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405d81
call fcn.00405f60
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405e9a
push esi
call fcn.0040ccd0
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00405eb0
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040ccd0
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x44b008]
add esp, 4
test eax, eax
je 0x405e95
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040cbf0
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 0x405e9a
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405e18
inc ebx
dec edx
je 0x405d3c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405d41
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405e10
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040ccd0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405e10
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040ccf0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405e10
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404de0
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 0x405de9
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406f30
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4070d6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x4070cf
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x406fc5
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
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
sub esi, dword [esp]
mov edx, 0x15b0
je 0x4070cf
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x40703e
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x406fe0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x406f8d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x407080
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x407060
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406f80
jmp 0x40708f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406f80
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x4070a0
jmp 0x406f80
shl ecx, 0x10
or ecx, edi
jmp 0x4070db
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4070f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x407123
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [edx + edx]
not eax
add eax, edx
test ebx, ebx
je 0x4071ba
test bl, 1
jne 0x40712a
mov edx, ebx
cmp ebx, 1
jne 0x40715b
jmp 0x4071ba
xor eax, eax
jmp 0x4071bc
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 + 0x448c50]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x448c50]
cmp ebx, 1
je 0x4071ba
xor esi, esi
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 + 0x448c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x448c50]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x448c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x448c50]
add esi, 2
cmp edx, esi
jne 0x407160
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x40d220
Capabilities:
Create process on windows
Encode data using xor
Terminate process

Disassembly:
push ebx
push edi
push esi
sub esp, 0x28
call fcn.00441490
test al, al
je 0x40d468
mov dword [esp], 0xe1e6cef3
xor eax, eax
nop
nop
nop
nop
mov ecx, eax
add cl, 0x59
xor cl, byte [esp + eax]
add cl, 0x43
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x40d240
mov ecx, dword [esp]
mov esi, ecx
and esi, 0xc97ed9
mov eax, ecx
xor eax, 0xff368126
neg eax
lea edx, [esi + eax]
add edx, 0xff368126
mov eax, ecx
or ecx, 0xc97ed9
imul ecx, esi
xor esi, 0xc97ed9
or eax, 0xff368126
mov edi, edx
and edi, eax
or eax, edx
not eax
imul eax, edi
mov edi, edx
and edi, esi
or esi, edx
imul esi, edi
add ecx, esi
add ecx, eax
mov esi, ecx
shr esi, 7
lea edx, [ecx + ecx]
not edx
add edx, ecx
mov eax, ecx
and eax, 0x4a19bbc8
and edx, 0xb5e64437
or edx, eax
xor edx, 0xb5e64437
lea eax, [esi + esi]
not eax
add eax, esi
or edx, eax
and eax, ecx
xor eax, edx
lea esi, [eax + eax]
not esi
lea ebx, [eax + esi]
mov edi, ebx
and edi, 0xb9fe1a8
mov ecx, edi
not ecx
lea edx, [ecx + ebx]
add edx, 0xb9fe1a9
and ebx, 0xf4601e57
mov ecx, eax
and ecx, 0xb9fe1a8
imul ebx, ecx
xor ecx, 0xb9fe1a8
add esi, eax
add esi, 0xb9fe1a9
sub edi, esi
and edi, ecx
or eax, 0xf4601e57
and eax, edx
imul eax, edi
add eax, ebx
mov esi, edx
or esi, ecx
mov dword [esp], 0x7f7482ed
mov dword [esp + 4], 0
and ecx, edx
imul ecx, esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x3d
xor bl, byte [esp + edx]
add bl, 0xcf
mov byte [esp + edx], bl
inc edx
cmp edx, 8
jne 0x40d340
add eax, ecx
cmp eax, dword [esp]
jne 0x40d431
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 word [esp + 0x18], 0
mov byte [esp + 0x1a], 0
xor eax, eax
xor ecx, ecx
nop
nop
movzx edx, byte [esp + ecx]
mov esi, eax
and esi, 0x10
mov edi, ecx
xor edi, 0x92f58828
add edi, esi
xor edi, edx
mov edx, edi
and edx, 0x37
xor edi, 0x37
lea edx, [edi + edx*2]
inc dl
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 0x1b
jne 0x40d3a0
mov dword [esp + 0x1c], 0x93e291e7
mov dword [esp + 0x20], 0xafd8add1
mov dword [esp + 0x24], 0xa9a8
mov eax, 0x9b
mov ecx, 0x4d08dd63
movzx edx, byte [esp + eax - 0x7f]
lea esi, [eax - 0x26846eff]
lea edi, [edx + edx]
not edi
add edi, edx
and edi, esi
and edx, ecx
or edx, edi
add dl, 0xf4
mov byte [esp + eax - 0x7f], dl
inc eax
dec ecx
cmp eax, 0xa7
jne 0x40d3f0
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0
push eax
push 0x44a3da
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004391c0
test al, al
je 0x40d463
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.USER32.dll_GetInputState]
test eax, eax
je 0x40d450
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call fcn.0040e3d0
test al, al
je 0x40d463
call fcn.00411070
call fcn.0040fbe0
call fcn.004426b0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40d4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x404
mov dword [esp], ecx
mov esi, dword [esp + 0x418]
movzx eax, word [esi]
lea ebp, [esp + 4]
test ax, ax
je 0x40d605
mov edi, 0x1ff
nop
nop
nop
nop
nop
nop
nop
movzx ebx, ax
lea ecx, [esi + 2]
cmp bx, 0x7f
ja 0x40d510
lea eax, [ebp + 1]
mov byte [ebp], bl
jmp 0x40d5b0
cmp ebx, 0x7ff
ja 0x40d540
cmp edi, 2
jb 0x40d540
mov eax, ebx
shr eax, 6
add al, 0xc0
mov byte [ebp], al
and bl, 0x3f
or bl, 0x80
lea eax, [ebp + 2]
mov byte [ebp + 1], bl
jmp 0x40d5b0
mov eax, ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40d5ca
cmp edi, 4
jb 0x40d5ca
movzx eax, word [esi + 2]
shl ebx, 0xa
mov ecx, eax
xor ecx, 0xdc00
and eax, 0x23ff
add eax, eax
sub eax, ecx
lea ecx, [ebx + eax]
add ecx, 0xfca00000
lea edx, [ebx + eax]
add edx, 0xfca10000
mov ebx, edx
shr ebx, 0x12
add bl, 0xf0
mov byte [ebp], bl
shr edx, 0xc
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 1], dl
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [ebp + 2], cl
and al, 0x3f
or al, 0x80
mov byte [ebp + 3], al
lea eax, [ebp + 4]
add esi, 4
mov ecx, esi
nop
add edi, ebp
sub edi, eax
mov esi, ecx
mov ebp, eax
movzx eax, word [esi]
test ax, ax
je 0x40d605
test edi, edi
jne 0x40d4f0
jmp 0x40d605
movzx eax, ax
cmp eax, 0xdc00
jne 0x40d5d8
mov esi, ecx
jmp 0x40d5b8
cmp edi, 3
jb 0x40d601
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [ebp], al
mov eax, ebx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
and bl, 0x3f
or bl, 0x80
lea eax, [ebp + 3]
mov byte [ebp + 2], bl
jmp 0x40d5b0
mov eax, ebp
jmp 0x40d5b0
mov esi, dword [esp + 0x420]
mov edx, dword [esp + 0x41c]
mov byte [ebp], 0
movzx ebx, byte [esp + 4]
lea eax, [esp + 0x204]
mov edi, eax
test bl, bl
je 0x40d657
lea edi, [esp + 0x204]
lea ebp, [esp + 5]
jmp 0x40d64c
mov byte [edi], cl
inc edi
movzx ebx, byte [ebp]
inc ebp
test bl, bl
je 0x40d657
mov cl, 0x2f
cmp bl, 0x5c
je 0x40d640
mov ecx, ebx
jmp 0x40d640
mov byte [edi], 0
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push esi
push edx
push eax
push ecx
call fcn.00409250
add esp, 0x28
test eax, eax
setne al
add esp, 0x404
pop esi
pop edi
pop ebx
pop ebp
ret 0xc