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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x4046b0
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4046b0
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40461a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404621
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404600
jmp 0x404623
mov esi, 0x1505
jmp 0x404623
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x4046b0
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404654
inc edi
dec ebx
je 0x4046ae
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x4046ae
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x404650
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040d180
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x404650
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040d1a0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x404650
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x4046b0
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4046c0
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 0x4047c1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4047c1
push ebx
call fcn.0040d180
add esp, 4
test eax, eax
je 0x40471a
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 0x404721
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404700
jmp 0x404723
mov esi, 0x1505
jmp 0x404723
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 0x4047c1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404754
inc ebp
dec ebx
je 0x4047bf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4047bf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404750
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d180
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404750
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d1a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404750
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4047bf
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4047c1
mov edi, dword [eax + 8]
jmp 0x4047c1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4047f0
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 0x40485b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40485b
push esi
call fcn.0040d180
add esp, 4
test eax, eax
je 0x40483a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x404841
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x404820
jmp 0x404843
mov ebp, 0x1505
jmp 0x404843
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 0x404867
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 0x404884
inc ebx
dec edi
je 0x40485b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40485b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x404880
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d180
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x404880
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040d1a0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x404880
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40485b
cmp dword [eax + 4], 3
jne 0x40485b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40485b

Function at 0x404920
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 0x404a21
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404a21
push ebx
call fcn.0040d180
add esp, 4
test eax, eax
je 0x40497a
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 0x404981
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404960
jmp 0x404983
mov esi, 0x1505
jmp 0x404983
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 0x404a21
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4049b4
inc ebp
dec ebx
je 0x404a1f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404a1f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4049b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d180
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4049b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d1a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4049b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404a1f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x404a21
mov edi, dword [eax + 8]
jmp 0x404a21
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404a50
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 0x404b54
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404b54
push ebx
call fcn.0040d180
add esp, 4
test eax, eax
je 0x404aaa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404ab1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404a90
jmp 0x404ab3
mov esi, 0x1505
jmp 0x404ab3
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 0x404b54
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404ae4
inc ebp
dec ebx
je 0x404b4f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404b4f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404ae0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d180
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404ae0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d1a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404ae0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404b4f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404b54
mov edi, dword [eax + 8]
jmp 0x404b54
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404b60
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.0040d1f0
add esp, 8
test eax, eax
je 0x404bce
mov esi, eax
jmp 0x404ba4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040d1f0
add esp, 8
mov esi, eax
test eax, eax
je 0x404bce
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.004045d0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404b90
cmp dword [eax + 4], 4
jne 0x404b90
mov edi, dword [eax + 8]
jmp 0x404b90
xor eax, eax
test edi, edi
je 0x404c2b
test ebp, ebp
je 0x404c2b
push ebp
call fcn.0040d180
add esp, 4
test eax, eax
je 0x404c0b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x404c12
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404bf0
jmp 0x404c14
mov esi, 0x1505
jmp 0x404c14
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 0x404c33
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 0x404c54
inc ebx
dec ecx
je 0x404c29
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404c29
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404c50
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.0040d180
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404c50
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040d1a0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404c50
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404c2b
Function at 0x404d50
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 0x404dbd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404dbd
push esi
call fcn.0040d180
add esp, 4
test eax, eax
je 0x404d9a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404da1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404d80
jmp 0x404da3
mov ebx, 0x1505
jmp 0x404da3
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 0x404dc5
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 0x404dd4
inc ebp
dec edi
je 0x404dbb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404dbb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404dd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040d180
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404dd0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040d1a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404dd0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404dbd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404dbd
Function at 0x405300
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 0x405412
mov esi, dword [esp + 0x28]
test esi, esi
je 0x405412
cmp dword [esp + 0x2c], 0
je 0x405412
push esi
call fcn.0040d180
add esp, 4
test eax, eax
je 0x40536a
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 0x405371
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x405350
jmp 0x405373
mov ebx, 0x1505
jmp 0x405373
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 0x40541a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4053d7
call fcn.004060d0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405412
push ecx
call fcn.0040d180
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 0x40548d
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 0x405438
inc edi
dec esi
je 0x40538c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405391
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405430
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040d180
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405430
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040d1a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405430
mov eax, 0xffffffff
jmp 0x405412
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4054a8
inc edi
dec esi
je 0x4053d2
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4053d7
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4054a0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040d180
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4054a0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040d1a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4054a0
jmp 0x4053d7
Function at 0x405e20
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 0x40600a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x40600a
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40600a
cmp dword [ecx], 0
jne 0x40600a
push esi
call fcn.0040d180
add esp, 4
test eax, eax
je 0x405e8a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405e91
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405e70
jmp 0x405e93
mov edi, 0x1505
jmp 0x405e93
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 0x405f64
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405ef1
call fcn.004060d0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x40600a
push esi
call fcn.0040d180
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00406020
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040d180
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x445004]
add esp, 4
test eax, eax
je 0x406005
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040cf90
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 0x40600a
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405f88
inc ebx
dec edx
je 0x405eac
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405eb1
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405f80
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040d180
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405f80
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040d1a0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405f80
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404eb0
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 0x405f59
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407050
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 0x4071f6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x4071ef
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x4070e5
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 0x4071ef
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x40715e
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 0x407100
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x4070ad
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x4071a0
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 0x407180
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x4070a0
jmp 0x4071af
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x4070a0
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 0x4071c0
jmp 0x4070a0
shl ecx, 0x10
or ecx, edi
jmp 0x4071fb
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d840
Capabilities:
Terminate process

Disassembly:
sub esp, 8
call fcn.0043b610
test al, al
je 0x40d8c5
call fcn.00434240
test al, al
je 0x40d8c0
mov dword [esp], 0xc9e1a6f9
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x1458ddb0
nop
nop
nop
movzx ecx, byte [esp + eax - 0x1458ddb0]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x90
mov byte [esp + eax - 0x1458ddb0], cl
inc eax
cmp eax, 0x1458ddb7
jne 0x40d870
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x40d8ad
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call fcn.0040e9c0
test al, al
je 0x40d8c0
call fcn.004115c0
call fcn.004101d0
call fcn.0043d040
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40d990
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 edx, [esp + 4]
test ax, ax
je 0x40dae8
mov edi, 0x1ff
nop
nop
nop
nop
nop
nop
nop
movzx ebx, ax
lea eax, [esi + 2]
cmp bx, 0x7f
ja 0x40d9e0
lea ebp, [edx + 1]
mov byte [edx], bl
jmp 0x40da90
cmp ebx, 0x7ff
ja 0x40da10
cmp edi, 2
jb 0x40da10
mov ecx, ebx
shr ecx, 6
add cl, 0xc0
mov byte [edx], cl
and bl, 0x3f
or bl, 0x80
mov byte [edx + 1], bl
lea ebp, [edx + 2]
jmp 0x40da90
mov ecx, ebx
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x40daaa
cmp edi, 4
jb 0x40daaa
movzx eax, word [esi + 2]
add esi, 4
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
mov ebp, edx
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
mov edx, ebp
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [ebp + 2], cl
and al, 0x3f
or al, 0x80
add ebp, 4
mov byte [edx + 3], al
mov eax, esi
nop
nop
nop
add edi, edx
sub edi, ebp
mov esi, eax
mov edx, ebp
movzx eax, word [esi]
test ax, ax
je 0x40dae8
test edi, edi
jne 0x40d9c0
jmp 0x40dae8
movzx ecx, cx
cmp ecx, 0xdc00
jne 0x40dab9
mov esi, eax
jmp 0x40da98
cmp edi, 3
jb 0x40dae4
mov ecx, ebx
shr ecx, 0xc
or cl, 0xe0
mov byte [edx], cl
mov ecx, ebx
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [edx + 1], cl
and bl, 0x3f
or bl, 0x80
lea ebp, [edx + 3]
mov byte [edx + 2], bl
jmp 0x40da90
mov ebp, edx
jmp 0x40da90
mov esi, dword [esp + 0x420]
mov eax, edx
mov edx, dword [esp + 0x41c]
mov byte [eax], 0
xor eax, eax
jmp 0x40db08
mov byte [esp + eax + 0x204], bl
inc eax
movzx ecx, byte [esp + eax + 4]
mov bl, 0x2f
cmp ecx, 0x5c
je 0x40db00
test ecx, ecx
je 0x40db1c
mov ebx, ecx
jmp 0x40db00
mov byte [esp + eax + 0x204], 0
lea eax, [esp + 0x204]
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.00409220
add esp, 0x28
test eax, eax
setne al
add esp, 0x404
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40e9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x198
mov eax, dword [0x44acf8]
mov dword [esp + 0x118], 0xf0e1108
mov dword [esp + 0x11c], 0
mov ecx, 0x2a9e2fc2
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x2a9e2eaa]
xor edx, ecx
mov esi, edx
xor esi, 0x34
and edx, 0x34
lea edx, [esi + edx*2]
add dl, 2
mov byte [esp + ecx - 0x2a9e2eaa], dl
inc ecx
cmp ecx, 0x2a9e2fca
jne 0x40e9f0
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x18], 0x31c53fb5
mov dword [esp + 0x1c], 0x35ca33ce
mov dword [esp + 0x20], 0xc9c237c0
mov dword [esp + 0x24], 0xcdf4cb38
mov dword [esp + 0x28], 0xc132cf28
mov dword [esp + 0x2c], 0xc5c2c33c
mov edx, 0xf5
mov esi, 0xa
nop
nop
nop
nop
nop
nop
nop
mov edi, esi
and edi, 0x24
mov ebx, edx
and ebx, 0xdb
or ebx, edi
xor bl, byte [esp + edx - 0xdd]
xor bl, 0x24
add bl, 0x37
mov byte [esp + edx - 0xdd], bl
inc edx
dec esi
cmp edx, 0x10d
jne case.default.0x40eaba
lea edx, [esp + 0x18]
push ecx
push 0
push edx
call eax
mov ecx, 0x44acc0
push eax
call fcn.0043b2c0
movzx eax, al
mov eax, dword [eax*4 + 0x445a8c]
mov ecx, 0xc8f0f55c
xor ecx, dword [0x445a94]
add eax, ecx
inc eax
jmp eax
push es
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret