joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045b0
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 0x404690
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404690
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4045fa
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404601
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4045e0
jmp 0x404603
mov esi, 0x1505
jmp 0x404603
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 0x404690
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404634
inc edi
dec ebx
je 0x40468e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40468e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x404630
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040cef0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x404630
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040cf10
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x404630
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404690
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4046a0
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 0x4047a1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4047a1
push ebx
call fcn.0040cef0
add esp, 4
test eax, eax
je 0x4046fa
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 0x404701
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4046e0
jmp 0x404703
mov esi, 0x1505
jmp 0x404703
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 0x4047a1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404734
inc ebp
dec ebx
je 0x40479f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40479f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404730
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cef0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404730
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404730
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40479f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4047a1
mov edi, dword [eax + 8]
jmp 0x4047a1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4047d0
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 0x40483b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40483b
push esi
call fcn.0040cef0
add esp, 4
test eax, eax
je 0x40481a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x404821
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x404800
jmp 0x404823
mov ebp, 0x1505
jmp 0x404823
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 0x404847
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 0x404864
inc ebx
dec edi
je 0x40483b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40483b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x404860
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cef0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x404860
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040cf10
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x404860
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40483b
cmp dword [eax + 4], 3
jne 0x40483b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40483b

Function at 0x404900
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 0x404a01
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404a01
push ebx
call fcn.0040cef0
add esp, 4
test eax, eax
je 0x40495a
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 0x404961
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404940
jmp 0x404963
mov esi, 0x1505
jmp 0x404963
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 0x404a01
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404994
inc ebp
dec ebx
je 0x4049ff
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4049ff
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404990
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cef0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404990
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404990
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4049ff
cmp dword [eax + 4], 5
mov edi, 0
jne 0x404a01
mov edi, dword [eax + 8]
jmp 0x404a01
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404a30
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 0x404b34
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404b34
push ebx
call fcn.0040cef0
add esp, 4
test eax, eax
je 0x404a8a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404a91
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404a70
jmp 0x404a93
mov esi, 0x1505
jmp 0x404a93
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 0x404b34
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404ac4
inc ebp
dec ebx
je 0x404b2f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404b2f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404ac0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cef0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404ac0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404ac0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404b2f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404b34
mov edi, dword [eax + 8]
jmp 0x404b34
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404b40
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.0040cf60
add esp, 8
test eax, eax
je 0x404ba4
mov esi, eax
jmp 0x404b84
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040cf60
add esp, 8
mov esi, eax
test eax, eax
je 0x404ba4
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.004045b0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404b70
cmp dword [eax + 4], 4
jne 0x404b70
mov edi, dword [eax + 8]
jmp 0x404b70
xor eax, eax
test edi, edi
je 0x404c0b
test ebp, ebp
je 0x404c0b
push ebp
call fcn.0040cef0
add esp, 4
test eax, eax
je 0x404beb
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 0x404bf2
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404bd0
jmp 0x404bf4
mov esi, 0x1505
jmp 0x404bf4
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 0x404c13
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 0x404c34
inc ebx
dec ecx
je 0x404c09
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404c09
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404c30
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.0040cef0
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404c30
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040cf10
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404c30
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404c0b
Function at 0x404d30
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 0x404d9d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404d9d
push esi
call fcn.0040cef0
add esp, 4
test eax, eax
je 0x404d7a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404d81
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404d60
jmp 0x404d83
mov ebx, 0x1505
jmp 0x404d83
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 0x404da5
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 0x404db4
inc ebp
dec edi
je 0x404d9b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404d9b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404db0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cef0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404db0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404db0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404d9d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404d9d
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.0040cef0
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.004060b0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405412
push ecx
call fcn.0040cef0
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.0040cef0
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.0040cf10
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.0040cef0
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.0040cf10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4054a0
jmp 0x4053d7
Function at 0x405e00
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 0x405fea
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405fea
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405fea
cmp dword [ecx], 0
jne 0x405fea
push esi
call fcn.0040cef0
add esp, 4
test eax, eax
je 0x405e6a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405e71
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405e50
jmp 0x405e73
mov edi, 0x1505
jmp 0x405e73
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 0x405f44
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405ed1
call fcn.004060b0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405fea
push esi
call fcn.0040cef0
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00406000
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040cef0
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x449008]
add esp, 4
test eax, eax
je 0x405fe5
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040cd70
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 0x405fea
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405f68
inc ebx
dec edx
je 0x405e8c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405e91
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405f60
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040cef0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405f60
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040cf10
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405f60
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404e90
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 0x405f39
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407110
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x4072c6
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x4072bf
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebx, esi
sub ebx, eax
jmp 0x4071a5
add ebp, dword [esp + 0xc]
mov eax, edi
mov ebx, 0x80078071
mul ebx
shr edx, 0xf
imul esi, edx, 0xfff1
mov eax, ecx
mul ebx
sub edi, esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov esi, dword [esp + 0x10]
mov eax, esi
not eax
mov edx, dword [esp]
and eax, edx
not edx
and esi, edx
mov ebx, 0x15b0
sub esi, eax
je 0x4072bf
mov dword [esp + 0x10], esi
xor edx, edx
cmp ebx, 8
mov dword [esp], ebx
jb 0x40722b
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp]
add edx, edi
add ecx, edx
movzx esi, byte [ebp + 1]
mov edi, edx
xor edi, esi
and edx, esi
lea edx, [edi + edx*2]
add ecx, edx
movzx esi, byte [ebp + 2]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + 3]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + 4]
add esi, edx
mov edx, ecx
xor edx, esi
and ecx, esi
movzx ebx, byte [ebp + 5]
add ebx, esi
movzx esi, byte [ebp + 6]
add esi, ebx
add ebx, edx
movzx edi, byte [ebp + 7]
add edi, esi
lea ecx, [ebx + ecx*2]
mov ebx, dword [esp]
add ecx, esi
add ecx, edi
mov esi, eax
and esi, 8
xor eax, 8
lea edx, [eax + esi*2]
add ebp, 8
lea esi, [eax + esi*2]
add esi, 7
mov eax, edx
cmp esi, ebx
jb 0x4071c0
mov eax, edx
sub eax, ebx
jae 0x407164
sub ebx, edx
mov dword [esp + 0xc], ebx
and ebx, 3
mov dword [esp + 4], ebx
je 0x407270
mov dword [esp + 8], eax
neg dword [esp + 4]
xor esi, esi
mov ebx, ebp
movzx eax, byte [ebx]
inc ebx
add edi, eax
add ecx, edi
dec esi
cmp dword [esp + 4], esi
jne 0x407250
sub edx, esi
mov eax, dword [esp + 8]
cmp eax, 0xfffffffc
ja 0x407160
jmp 0x40727b
mov ebx, ebp
cmp eax, 0xfffffffc
ja 0x407160
mov eax, dword [esp]
sub eax, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x407290
jmp 0x407160
shl ecx, 0x10
or ecx, edi
jmp 0x4072cb
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40cc20
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 0x40cc8c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x40cc6e
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x40cc70
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 0x40cc50
jmp 0x40cc70
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 0x40cc8a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x40cc8c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40da80
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x10], eax
mov word [esp], 0x9be5
mov byte [esp + 2], 0x92
mov dword [esp + 3], 0
xor edx, edx
mov ebp, 0xffffffff
xor edi, edi
nop
nop
movzx eax, byte [esp + edi]
mov ebx, edx
and ebx, 8
mov esi, edi
or esi, 0xfa1d325b
mov ecx, ebp
or ecx, 0x5e2cda4
and ecx, esi
not ecx
or ecx, ebx
mov esi, ecx
and esi, eax
add ecx, eax
add esi, esi
sub ecx, esi
add cl, 0xcc
mov byte [esp + edi], cl
inc edi
add edx, 2
dec ebp
cmp edi, 7
jne 0x40dab0
mov dword [esp + 8], 0x42405c26
mov dword [esp + 0xc], 0x5542
mov edi, 0x6e
nop
nop
movzx eax, byte [esp + edi - 0x66]
mov ecx, eax
and ecx, edi
add cl, cl
sub al, cl
movzx eax, al
add eax, edi
add al, 0xda
mov byte [esp + edi - 0x66], al
inc edi
cmp edi, 0x76
jne 0x40db00
mov dword [esp + 0x18], 0x828c5857
mov dword [esp + 0x1c], 0x868a5450
mov dword [esp + 0x20], 0x95829c57
mov dword [esp + 0x24], 0x9e999281
mov dword [esp + 0x28], 0x4e918d82
mov dword [esp + 0x2c], 0x8c7b312b
mov dword [esp + 0x30], 0xb3a9b78e
mov dword [esp + 0x34], 0xaa4274b4
mov dword [esp + 0x38], 0xbcbbbbb1
mov dword [esp + 0x3c], 0xbca1bba7
mov dword [esp + 0x40], 0xbb726dbe
mov dword [esp + 0x44], 0x66a5a1a1
mov dword [esp + 0x48], 0xbeaebcb0
mov dword [esp + 0x4c], 0xbaac7f65
mov dword [esp + 0x50], 0x721c8af
mov byte [esp + 0x54], 0x60
mov dword [esp + 0x55], 0
mov word [esp + 0x59], 0
mov edi, 7
mov ebx, 0xf8
mov edx, dword [esp + 0x78]
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, ebx
and ecx, 0xe6
mov eax, edi
and eax, 0x19
or eax, ecx
xor al, byte [esp + edi + 0x11]
xor al, 0xe6
add al, 0xdd
mov byte [esp + edi + 0x11], al
inc edi
dec ebx
cmp edi, 0x4a
jne 0x40dbc0
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x18]
mov edi, eax
test cl, cl
mov esi, dword [esp + 0x74]
je 0x40dc0b
lea ebx, [esp + 0x19]
mov edi, eax
nop
mov byte [edi], cl
inc edi
movzx ecx, byte [ebx]
inc ebx
test cl, cl
jne 0x40dc00
mov byte [edi], 0
movzx ecx, byte [esi]
test cl, cl
je 0x40dc2b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], cl
inc edi
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40dc20
mov byte [edi], 0
movzx ecx, byte [esp + 8]
test cl, cl
je 0x40dc4b
lea esi, [esp + 9]
nop
nop
nop
nop
nop
mov byte [edi], cl
inc edi
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40dc40
mov byte [edi], 0
movzx ecx, byte [edx]
test cl, cl
je 0x40dc6b
inc edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], cl
inc edi
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40dc60
mov byte [edi], 0
movzx ecx, byte [esp]
test cl, cl
je 0x40dc8b
lea edx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [edi], cl
inc edi
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40dc80
mov byte [edi], 0
sub edi, eax
mov eax, dword [esp + 0x14]
add dword [eax + 0x60], edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc