joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ac80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001ac90
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001acad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x26
jl 0x1001ac90
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001acc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001acd0
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001aced
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x20
jl 0x1001acd0
mov byte [esi + 0x20], 0
mov eax, esi
ret

Function at 0x1001b250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x29
xor ecx, ecx
jmp 0x1001b260
mov al, byte [edi + ecx + 0x1e7b41dd]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b27d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b260
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001b290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x6c
xor ecx, ecx
jmp 0x1001b2a0
mov al, byte [edi + ecx + 0x6fad512a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b2bd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b2a0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001b2d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x49
xor ecx, ecx
jmp 0x1001b2e0
mov al, byte [edi + ecx + 0x16440e0f]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b2fd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b2e0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001ba70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xfa
xor ecx, ecx
jmp 0x1001ba80
mov al, byte [edi + ecx - 0x2b3158]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001ba9d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001ba80
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001bcf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1f
xor ecx, ecx
jmp 0x1001bd00
mov al, byte [edi + ecx - 0x97d5a03]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bd1d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001bd00
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001d610
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020818
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1001d673
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.1001d3d0
mov ecx, esi
call fcn.1001d480
mov ecx, edi
mov ebx, esi
call fcn.1001d560
cmp dword [ebp + 0x1c], 0x10
jb 0x1001d6a2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
Function at 0x1001d9a0
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020008
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
lea esp, [esp]
mov bl, byte [eax + 0x1002752c]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], bl
jns 0x1001d9fd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1001d9e0
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.1001d760
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1001da51
xor eax, eax
jmp 0x1001da88
push esi
push eax
call fcn.1001d760
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1001da4d
test edi, edi
jle 0x1001da7f
lea eax, [ebp + 0xc]
mov ecx, edi
jmp 0x1001da70
mov edx, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
dec ecx
jne 0x1001da70
call dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret

Function at 0x1001df15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002c018]
jne 0x1001df1f
repz ret
jmp fcn.1001e3df
Function at 0x4025b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x402697
test edx, edx
je 0x402697
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x4025fa
xor edi, edi
mov ecx, 0x1505
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402601
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4025e0
jmp 0x402603
mov esi, 0x1505
jmp 0x402603
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0x402697
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x402634
inc ebx
dec ebp
je 0x402695
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402695
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402630
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00409500
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402630
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00409520
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402630
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x402697
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4026a0
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 0x4027a9
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4027a9
push ebx
call fcn.00409500
add esp, 4
test eax, eax
je 0x4026fa
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402701
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4026e0
jmp 0x402703
mov esi, 0x1505
jmp 0x402703
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x4027a9
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402734
inc ebp
dec ebx
je 0x4027a7
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4027a7
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402730
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402730
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00409520
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402730
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4027a7
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4027a9
mov edi, dword [eax + 8]
jmp 0x4027a9
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4027e0
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 0x402848
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402848
push esi
call fcn.00409500
add esp, 4
test eax, eax
je 0x40282a
xor edi, edi
mov ecx, 0x1505
movzx edx, byte [esi + edi]
test edx, edx
je 0x402831
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402810
jmp 0x402833
mov ebp, 0x1505
jmp 0x402833
mov ebp, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov edx, edi
sub edx, 1
jae 0x402854
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 + 0xc], eax
mov dword [esp], edx
jmp 0x402874
inc ebx
dec edi
je 0x402848
mov eax, ebx
and eax, edx
mov esi, dword [esp + 0xc]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402848
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402870
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402870
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x38]
call fcn.00409520
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402870
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x402848
cmp dword [eax + 4], 3
jne 0x402848
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x402848
Function at 0x402920
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 0x402a29
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402a29
push ebx
call fcn.00409500
add esp, 4
test eax, eax
je 0x40297a
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402981
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402960
jmp 0x402983
mov esi, 0x1505
jmp 0x402983
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402a29
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x4029b4
inc ebp
dec ebx
je 0x402a27
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402a27
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4029b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4029b0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00409520
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4029b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402a27
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402a29
mov edi, dword [eax + 8]
jmp 0x402a29
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402a60
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 0x402b6c
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402b6c
push ebx
call fcn.00409500
add esp, 4
test eax, eax
je 0x402aba
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402ac1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402aa0
jmp 0x402ac3
mov esi, 0x1505
jmp 0x402ac3
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402b6c
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402af4
inc ebp
dec ebx
je 0x402b67
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402b67
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402af0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402af0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00409520
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402af0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402b67
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x402b6c
mov edi, dword [eax + 8]
jmp 0x402b6c
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402b80
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.00409570
add esp, 8
test eax, eax
je 0x402be6
mov ebx, eax
jmp 0x402bc4
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00409570
add esp, 8
mov ebx, eax
test eax, eax
je 0x402be6
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.004025b0
add esp, 4
xor esi, esi
test eax, eax
je 0x402bb0
cmp dword [eax + 4], 4
jne 0x402bb0
mov esi, dword [eax + 8]
jmp 0x402bb0
xor eax, eax
test esi, esi
je 0x402c46
test edi, edi
je 0x402c46
push edi
call fcn.00409500
add esp, 4
test eax, eax
je 0x402c2a
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x402c31
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x402c10
jmp 0x402c33
mov ebx, 0x1505
jmp 0x402c33
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x402c4e
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 0x402c64
inc ebp
dec ecx
je 0x402c44
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402c44
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402c60
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.00409500
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402c60
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.00409520
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x402c60
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x402c46
Function at 0x402d70
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 0x402ddd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x402ddd
push esi
call fcn.00409500
add esp, 4
test eax, eax
je 0x402dba
xor edi, edi
mov ecx, 0x1505
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402dc1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402da0
jmp 0x402dc3
mov ebx, 0x1505
jmp 0x402dc3
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 0x402de5
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 0x402df4
inc ebp
dec edi
je 0x402ddb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402ddb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x402df0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409500
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402df0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409520
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402df0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x402ddd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x402ddd
Function at 0x403000
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x403108
mov esi, edx
test edx, edx
je 0x403108
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x403108
push esi
call fcn.00409500
add esp, 4
test eax, eax
je 0x40305a
xor edi, edi
mov ecx, 0x1505
movzx edx, byte [esi + edi]
test edx, edx
je 0x403061
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x403040
jmp 0x403063
mov ebp, 0x1505
jmp 0x403063
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 0x403110
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4030ca
call fcn.00403200
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x403108
push ecx
call fcn.00409500
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 0x40317f
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 0x403128
inc ebx
dec esi
je 0x40307f
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x403084
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x403120
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00409500
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403120
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00409520
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403120
mov eax, 0xffffffff
jmp 0x403108
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x403198
inc ebx
dec esi
je 0x4030c5
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x4030ca
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x403190
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00409500
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403190
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00409520
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403190
jmp 0x4030ca
Function at 0x403890
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 0x403a26
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x403a1f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0x403921
add ebp, dword [esp + 0x10]
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 + 0xc]
mov eax, 0x15b0
je 0x403a1f
xor edx, edx
cmp eax, 8
mov dword [esp + 8], esi
jb 0x403995
mov edx, eax
and edx, 0x1ff8
mov dword [esp], edx
mov edx, 7
nop
nop
nop
nop
mov ebx, eax
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + 7]
add edi, eax
mov eax, ebx
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, ebx
jb 0x403940
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov ebx, eax
sub ebx, edx
mov dword [esp + 0xc], eax
jbe 0x4038e8
mov dword [esp], edx
not edx
add edx, eax
mov dword [esp + 4], edx
mov edx, eax
and edx, 3
mov dword [esp + 0x10], ebx
je 0x4039d4
neg edx
xor eax, eax
mov ebx, ebp
nop
movzx esi, byte [ebx]
inc ebx
add edi, esi
add ecx, edi
dec eax
cmp edx, eax
jne 0x4039c0
mov edx, dword [esp]
sub edx, eax
jmp 0x4039d9
mov ebx, ebp
mov edx, dword [esp]
mov eax, dword [esp + 4]
cmp eax, 3
jb 0x4038e0
mov eax, dword [esp + 0xc]
sub eax, edx
xor edx, edx
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 0x4039f0
jmp 0x4038e0
shl ecx, 0x10
or ecx, edi
jmp 0x403a2b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x403ab7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x403ab9
not eax
nop
nop
nop
nop
nop
nop
lea esi, [edx + edx]
not edx
movzx edi, byte [ecx]
inc ecx
mov ebx, eax
shr ebx, 4
mov ebp, eax
xor ebp, 0x3ffffff0
or eax, 0xf
and eax, ebp
mov ebp, edi
and ebp, 0xf
xor ebp, eax
xor ebx, dword [ebp*4 + 0x43fa18]
mov eax, ebx
shr eax, 4
mov ebp, ebx
and ebp, 0xf
shr edi, 4
and ebx, edi
add edi, ebp
add ebx, ebx
sub edi, ebx
mov edi, dword [edi*4 + 0x43fa18]
mov ebx, eax
and ebx, edi
add eax, edi
add ebx, ebx
sub eax, ebx
add edx, esi
jne 0x403a60
not eax
jmp 0x403ab9
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret