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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.00408ed0
add esp, 8
test eax, eax
je 0x4024a6
mov ebx, eax
jmp 0x402484
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00408ed0
add esp, 8
mov ebx, eax
test eax, eax
je 0x4024a6
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00401e90
add esp, 4
xor esi, esi
test eax, eax
je 0x402470
cmp dword [eax + 4], 4
jne 0x402470
mov esi, dword [eax + 8]
jmp 0x402470
xor eax, eax
test esi, esi
je 0x402506
test edi, edi
je 0x402506
push edi
call fcn.00408e60
add esp, 4
test eax, eax
je 0x4024ea
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x4024f1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x4024d0
jmp 0x4024f3
mov ebx, 0x1505
jmp 0x4024f3
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x40250e
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
jmp 0x402524
inc ebp
dec ecx
je 0x402504
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402504
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402520
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x10], ecx
call fcn.00408e60
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402520
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.00408e80
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x402520
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x402506
Function at 0x402630
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 0x40269d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40269d
push esi
call fcn.00408e60
add esp, 4
test eax, eax
je 0x40267a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402681
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402660
jmp 0x402683
mov ebx, 0x1505
jmp 0x402683
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 0x4026a5
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 0x4026b4
inc ebp
dec edi
je 0x40269b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40269b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x4026b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408e60
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4026b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408e80
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4026b0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x40269d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x40269d
Function at 0x4028c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x4029c8
mov esi, edx
test edx, edx
je 0x4029c8
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x4029c8
push esi
call fcn.00408e60
add esp, 4
test eax, eax
je 0x40291a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402921
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402900
jmp 0x402923
mov ebp, 0x1505
jmp 0x402923
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x4029d0
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x40298a
call fcn.00402ac0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x4029c8
push ecx
call fcn.00408e60
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 0x10], eax
jae 0x402a3f
mov edi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + edi*4], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x18]
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], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x4029e8
inc ebx
dec esi
je 0x40293f
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x402944
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x4029e0
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00408e60
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4029e0
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00408e80
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4029e0
mov eax, 0xffffffff
jmp 0x4029c8
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402a58
inc ebx
dec esi
je 0x402985
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x40298a
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x402a50
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00408e60
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402a50
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00408e80
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402a50
jmp 0x40298a
Function at 0x403150
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x403306
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x4032ff
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
jmp 0x4031e3
add ebp, dword [esp + 0xc]
mov esi, dword [esp + 4]
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 + 0x10]
sub ebx, esi
mov esi, 0x15b0
je 0x4032ff
xor edx, edx
cmp esi, 8
mov dword [esp + 4], esi
jb 0x40325d
and esi, 0x1ff8
mov dword [esp], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
movzx edx, byte [ebp + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebp + eax + 1]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 2]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 3]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 4]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 5]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 6]
add edx, esi
mov esi, dword [esp + 4]
add ecx, edx
movzx edi, byte [ebp + eax + 7]
add edi, edx
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, esi
jb 0x403200
add ebp, edx
mov edx, dword [esp]
mov eax, esi
sub eax, edx
mov dword [esp + 0x10], ebx
jbe 0x4031a8
mov dword [esp], edx
not edx
add edx, esi
mov dword [esp + 8], edx
and esi, 3
mov dword [esp + 0xc], eax
je 0x4032b3
neg esi
xor edx, edx
mov ebx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx]
inc ebx
add edi, eax
add ecx, edi
dec edx
cmp esi, edx
jne 0x403290
mov eax, dword [esp]
sub eax, edx
mov edx, eax
mov eax, dword [esp + 8]
cmp eax, 3
jb 0x4031a0
jmp 0x4032c5
mov ebx, ebp
mov eax, dword [esp + 8]
mov edx, dword [esp]
cmp eax, 3
jb 0x4031a0
mov eax, dword [esp + 4]
sub eax, edx
xor edx, edx
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 0x4032d0
jmp 0x4031a0
shl ecx, 0x10
or ecx, edi
jmp 0x40330b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push edi
push esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
not ebx
cmp edx, 4
jb 0x40339d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
shr eax, 8
movzx esi, byte [ecx]
mov edi, ebx
and edi, esi
add ebx, esi
add edi, edi
sub ebx, edi
movzx esi, bl
xor eax, dword [esi*4 + 0x435938]
mov ebx, eax
xor al, byte [ecx + 1]
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x435938]
mov eax, ebx
xor bl, byte [ecx + 2]
shr eax, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x435938]
mov ebx, eax
xor al, byte [ecx + 3]
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x435938]
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x403340
test edx, edx
je 0x4033af
test dl, 1
jne 0x4033b3
mov esi, edx
cmp edx, 1
jne 0x4033cf
jmp 0x40340c
mov eax, ebx
jmp 0x40340c
mov eax, ebx
xor bl, byte [ecx]
shr eax, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x435938]
inc ecx
lea esi, [edx - 1]
mov ebx, eax
cmp edx, 1
je 0x40340c
xor edx, edx
mov eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
shr ebx, 8
xor al, byte [ecx + edx]
movzx eax, al
xor ebx, dword [eax*4 + 0x435938]
mov eax, ebx
shr eax, 8
xor bl, byte [ecx + edx + 1]
movzx edi, bl
xor eax, dword [edi*4 + 0x435938]
add edx, 2
cmp esi, edx
jne 0x4033e0
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x4092c0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x110
call fcn.00430070
test al, 1
jne 0x4092d1
jmp 0x409349
call fcn.0042b6f0
jmp 0x4092d8
test al, 1
jne 0x4092de
jmp 0x409342
mov dword [esp], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x100
call fcn.00408d90
lea eax, [esp + 0x10]
jmp 0x409316
lea ecx, str.eleet_or_leetspeak__is_a_system_of_modified_spellings_used_primarily_on_the_internet._it_often_uses_character_replacements_in_ways_that_play_on_the_similarity_of_their_glyphs_via_reflection_or_other_resemblance
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409360
call fcn.0040a780
test al, 1
jne 0x409333
jmp 0x40933a
call fcn.004114d0
jmp 0x40933a
jmp 0x40933c
jmp 0x40933e
jmp 0x409340
jmp 0x409342
call fcn.00431bc0
jmp 0x409349
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x409400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x409526
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x40943d
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x409461
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x409430
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x409430
lea esi, [ebx + 1]
push esi
call fcn.0042eb60
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x409534
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x4094a8
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x409536
movzx edx, word [edi]
test dx, dx
je 0x409536
cmp dx, 0x7f
jbe 0x409490
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
mov dword [esp + 4], esi
cmp esi, 0x7ff
ja 0x4094f0
cmp ecx, 2
jb 0x4094f0
mov ecx, edx
shr ecx, 6
or cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x409497
xor esi, esi
cmp ecx, 3
jb 0x409497
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x409497
push 1
call fcn.0042eb60
add esp, 4
mov ebp, eax
jmp 0x409536
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x409557
mov ebx, eax
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x409552
test eax, eax
jne 0x409550
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.004056b0
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40a570
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov edx, dword [esp + 0x40]
mov edi, 0xffffffff
mov ecx, 0xfffffffd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edi
add ecx, 3
cmp byte [edx + edi + 1], 0
lea edi, [edi + 1]
jne 0x40a590
shr ecx, 2
movzx eax, byte [edx + edi - 1]
cmp eax, 0x3d
je 0x40a5b1
cmp eax, 0x2e
jne 0x40a5b2
dec ecx
movzx eax, byte [edx + edi - 2]
cmp eax, 0x3d
je 0x40a5c1
cmp eax, 0x2e
jne 0x40a5c2
dec ecx
mov dword [esp + 4], ecx
mov edx, 0
test edi, edi
je 0x40a6b4
xor ecx, ecx
mov ebp, 2
jmp 0x40a5f2
lea eax, [ebp + 4]
add ebp, 2
mov ecx, edx
cmp ebp, edi
mov ebp, eax
jae 0x40a6b4
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
mov esi, edi
mov edi, eax
movzx eax, byte [eax + ebp - 2]
push eax
call fcn.00411220
add esp, 4
mov ebx, eax
movzx eax, byte [edi + ebp - 1]
mov edi, esi
mov esi, dword [esp + 8]
push eax
call fcn.00411220
add esp, 4
mov bh, al
shl bl, 2
shr al, 4
and al, 3
or al, bl
lea edx, [esi + 1]
mov ecx, dword [esp + 0x44]
mov byte [ecx + esi], al
cmp ebp, edi
jae 0x40a5e0
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + ebp]
push eax
mov dword [esp + 4], edx
call fcn.00411220
mov edx, dword [esp + 4]
add esp, 4
cmp al, 0x40
je 0x40a5e0
mov bl, al
shl bh, 4
shr al, 2
and al, 0xf
or al, bh
lea edx, [esi + 2]
mov ecx, dword [esp + 0x44]
mov byte [ecx + esi + 1], al
lea eax, [ebp + 1]
cmp eax, edi
jae 0x40a5e0
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + ebp + 1]
push eax
mov dword [esp + 4], edx
call fcn.00411220
mov edx, dword [esp + 4]
add esp, 4
cmp al, 0x40
je 0x40a5e0
shl bl, 6
add al, bl
mov ecx, dword [esp + 0x44]
mov byte [ecx + esi + 2], al
add esi, 3
mov edx, esi
jmp 0x40a5e0
mov ebx, dword [esp + 4]
cmp edx, ebx
mov eax, 0
jne 0x40a735
lea edi, [esp + 0xc]
mov esi, dword [esp + 0x44]
mov eax, esi
mov ecx, 8
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
add eax, 0xffffffe0
je 0x40a731
xor edi, edi
cmp ebx, 0x21
je 0x40a71b
mov ecx, eax
and ecx, 0xfffffffe
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
mov edx, edi
and edx, 0x1e
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [esi + edi + 0x20]
mov byte [esi + edi], dl
lea edx, [edi + 1]
and edx, 0x1f
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [esi + edi + 0x21]
mov byte [esi + edi + 1], dl
add edi, 2
cmp ecx, edi
jne 0x40a6f0
test bl, 1
je 0x40a731
mov ecx, edi
and ecx, 0x1f
movzx ecx, byte [esp + ecx + 0xc]
xor cl, byte [esi + edi + 0x20]
mov byte [esi + edi], cl
mov byte [esi + eax], 0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x422580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xfc0
mov esi, esp
push 0x1000
call fcn.0042eb60
add esp, 4
mov dword [esi + 0x540], 0x633006dc
mov dword [esi + 0x544], 0x5744171
mov word [esi + 0x548], 0xd93e
mov dword [esi + 0x54a], 0
mov dword [esi + 0x54e], 0
mov dword [esi + 0x552], 0
mov dword [esi + 0x556], 0
mov dword [esi + 0x55a], 0
mov word [esi + 0x55e], 0
mov dword [esi + 0x1a0], 0
mov ecx, dword [esi + 0x1a0]
cmp ecx, 0x1f
ja 0x422647
nop
nop
nop
nop
nop
mov edx, dword [esi + 0x1a0]
mov ecx, dword [esi + 0x1a0]
add dl, 0xa3
xor dl, byte [esi + ecx + 0x540]
add dl, 0x8b
mov ecx, dword [esi + 0x1a0]
mov byte [esi + ecx + 0x540], dl
inc dword [esi + 0x1a0]
mov ecx, dword [esi + 0x1a0]
cmp ecx, 0x20
jb 0x422610
mov ecx, dword [str.Z05cIW__MARADONA]
mov dword [esi + 4], ecx
mov dword [esi + 0x1a0], 0x96644d4b
mov dword [esi + 0x1a4], 0x949441a9
mov dword [esi + 0x1a8], 0x6f5a6baf
mov dword [esi + 0x1ac], 0x837e5963
mov dword [esi + 0x1b0], 0x928f8089
mov dword [esi + 0x1b4], 0x84bd8282
mov dword [esi + 0x1b8], 0x76148a82
mov dword [esi + 0x1bc], 0xb2bb5568
mov dword [esi + 0x1c0], 0x7545acb1
mov dword [esi + 0x1c4], 0xbeb34760
mov dword [esi + 0x1c8], 0x7b54a1b8
mov dword [esi + 0x1cc], 0x7fa8b845
mov dword [esi + 0x1d0], 0x65726c7c
mov dword [esi + 0x1d4], 0x9626760
mov dword [esi + 0x1d8], 0x32367569
mov dword [esi + 0x1dc], 0x6f0e272c
mov dword [esi + 0x1e0], 0
mov word [esi + 0x1e4], 0
mov dword [esi + 0x904], 0
mov ecx, dword [esi + 0x904]
cmp ecx, 0x45
ja 0x422760
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0x904]
mov edx, dword [esi + 0x904]
movzx edx, byte [esi + edx + 0x1a0]
lea edi, [ecx + 6]
add ecx, edx
and edi, edx
add edi, edi
sub ecx, edi
add cl, 0xdc
mov edx, dword [esi + 0x904]
mov byte [esi + edx + 0x1a0], cl
inc dword [esi + 0x904]
mov ecx, dword [esi + 0x904]
cmp ecx, 0x46
jb 0x422720
movzx ecx, byte [esi + 0x1a0]
mov dword [esi + 0x7c], eax
mov ebx, eax
test cl, cl
je 0x42278b
lea edx, [esi + 0x1a1]
mov ebx, dword [esi + 0x7c]
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x422780
mov byte [ebx], 0
mov eax, dword [esi + 4]
movzx ecx, byte [eax]
test cl, cl
je 0x4227ab
inc eax
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x4227a0
mov byte [ebx], 0
movzx eax, byte [esi + 0x540]
test al, al
je 0x4227cb
lea ecx, [esi + 0x541]
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x4227c0
mov byte [ebx], 0
push 0
call fcn.004321d0
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
mov edx, dword [ecx*4 + 0x43d7a4]
mov ecx, 0x8315cf1d
xor ecx, dword [0x43d7ac]
add ecx, edx
inc ecx
jmp ecx
Function at 0x42cd20
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], 0xc3d2e1f0
mov dword [esp + 0xc], 0x10325476
mov dword [esp + 8], 0x98badcfe
mov dword [esp + 4], 0xefcdab89
mov dword [esp], 0x67452301
cmp ebp, 0x40
jb 0x42cddd
mov edi, ebp
shr edi, 6
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebp + esi]
mov dword [esp + esi + 0x18], eax
movzx ecx, byte [ebp + esi + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + esi + 0x18], ecx
movzx eax, byte [ebp + esi + 2]
shl eax, 0x10
or eax, ecx
mov dword [esp + esi + 0x18], eax
movzx ecx, byte [ebp + esi + 3]
shl ecx, 0x18
or ecx, eax
mov dword [esp + esi + 0x18], ecx
add esi, 4
cmp esi, 0x40
jne 0x42cd80
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 4]
push eax
call fcn.0042d440
add esp, 8
inc ebx
lea eax, [esi + ebp]
cmp ebx, edi
jne 0x42cd70
add ebp, esi
mov eax, ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov ebx, ebp
and ebx, 0x3f
je 0x42ceee
mov ecx, ebp
and ecx, 1
xor edx, edx
cmp ebx, 1
je 0x42cecf
mov dword [esp + 0x14], ecx
sub ebx, ecx
xor edx, edx
nop
nop
nop
nop
movzx esi, byte [eax + edx]
mov ebp, edx
xor ebp, 0x1c
mov ecx, edx
or ecx, 2
and ecx, ebp
shl ecx, 3
shl esi, cl
mov ebp, edx
and ebp, 0xfffffffc
xor esi, dword [esp + ebp + 0x18]
mov dword [esp + ebp + 0x18], esi
mov edi, edx
xor edi, 0x1d
mov ecx, edx
or ecx, 3
and ecx, edi
movzx edi, byte [eax + edx + 1]
shl ecx, 3
shl edi, cl
xor edi, esi
mov dword [esp + ebp + 0x18], edi
add edx, 2
cmp ebx, edx
jne 0x42ce80
add eax, edx
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42ceee
movzx eax, byte [eax]
mov esi, edx
xor esi, 0x1c
mov ecx, edx
or ecx, 3
and ecx, esi
shl ecx, 3
shl eax, cl
and edx, 0xfffffffc
xor dword [esp + edx + 0x18], eax
lea ebx, [ebp*8]
mov ecx, ebx
and cl, 0x18
or cl, 7
mov eax, 1
shl eax, cl
mov ecx, ebp
and ecx, 0x3c
xor dword [esp + ecx + 0x18], eax
mov esi, dword [esp + 0x74]
mov eax, ebp
not eax
test al, 0x38
jne 0x42cf32
lea edi, [esp + 0x18]
mov eax, esp
push edi
push eax
call fcn.0042d440
add esp, 8
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov dword [esp + 0x50], ebx
shr ebp, 0x1d
mov dword [esp + 0x54], ebp
lea eax, [esp + 0x18]
mov ecx, esp
push eax
push ecx
call fcn.0042d440
add esp, 8
mov eax, dword [esp]
mov dword [esi], eax
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42d090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov dword [esp + 0x10], 0x9b299975
mov dword [esp + 0x14], 0x8715851d
mov dword [esp + 0x18], 0x832f811c
mov dword [esp + 0x1c], 0x8f428d19
mov dword [esp + 0x20], 0x8b23891a
mov dword [esp + 0x24], 0x77db75ea
mov dword [esp + 0x28], 0x7372719d
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x40]
cmp eax, 0x24
ja 0x42d142
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0x77d017ec
add eax, 0x77d017ec
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
add al, 0x8c
mov ecx, dword [esp + 0x40]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x40]
mov eax, dword [esp + 0x40]
cmp eax, 0x25
jb 0x42d100
movzx edx, word [esp + 0x10]
lea eax, [esp + 0x40]
mov ecx, eax
test dx, dx
je 0x42d171
lea ecx, [esp + 0x40]
lea esi, [esp + 0x12]
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x42d160
mov esi, dword [ebp + 8]
mov word [ecx], 0
lea ecx, [esp + 0x5c]
lea ebx, [esp + 0x10]
push ecx
push 8
push ebx
push 0xd
push eax
push 0
call dword [0x441440]
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x43e70c]
mov ecx, 0x97873698
xor ecx, dword [str._4h]
add eax, ecx
inc eax
jmp eax