joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c10
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 0x401d14
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401d14
push ebx
call fcn.004097c0
add esp, 4
test eax, eax
je 0x401c6a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401c71
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x401c50
jmp 0x401c73
mov esi, 0x1505
jmp 0x401c73
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 0x401d14
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401ca4
inc ebp
dec ebx
je 0x401d0f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401d0f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401ca0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004097c0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401ca0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004097e0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401ca0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401d0f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x401d14
mov edi, dword [eax + 8]
jmp 0x401d14
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401d20
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.00409830
add esp, 8
test eax, eax
je 0x401d84
mov esi, eax
jmp 0x401d64
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.00409830
add esp, 8
mov esi, eax
test eax, eax
je 0x401d84
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00401790
add esp, 0xc
xor edi, edi
test eax, eax
je 0x401d50
cmp dword [eax + 4], 4
jne 0x401d50
mov edi, dword [eax + 8]
jmp 0x401d50
xor eax, eax
test edi, edi
je 0x401deb
test ebp, ebp
je 0x401deb
push ebp
call fcn.004097c0
add esp, 4
test eax, eax
je 0x401dcb
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 0x401dd2
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x401db0
jmp 0x401dd4
mov esi, 0x1505
jmp 0x401dd4
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 0x401df3
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 0x401e14
inc ebx
dec ecx
je 0x401de9
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401de9
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x401e10
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.004097c0
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x401e10
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.004097e0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x401e10
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401deb
Function at 0x401f10
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 0x401f7d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401f7d
push esi
call fcn.004097c0
add esp, 4
test eax, eax
je 0x401f5a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401f61
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x401f40
jmp 0x401f63
mov ebx, 0x1505
jmp 0x401f63
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 0x401f85
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 0x401f94
inc ebp
dec edi
je 0x401f7b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401f7b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401f90
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.004097c0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401f90
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004097e0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401f90
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401f7d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401f7d
Function at 0x4021a0
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 0x4022b2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4022b2
cmp dword [esp + 0x2c], 0
je 0x4022b2
push esi
call fcn.004097c0
add esp, 4
test eax, eax
je 0x40220a
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 0x402211
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4021f0
jmp 0x402213
mov ebx, 0x1505
jmp 0x402213
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 0x4022ba
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x402277
call fcn.004023b0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x4022b2
push ecx
call fcn.004097c0
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 0x40232d
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 0x4022d8
inc edi
dec esi
je 0x40222c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402231
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4022d0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.004097c0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4022d0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.004097e0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4022d0
mov eax, 0xffffffff
jmp 0x4022b2
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402348
inc edi
dec esi
je 0x402272
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402277
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402340
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.004097c0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402340
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.004097e0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402340
jmp 0x402277
Function at 0x402ae0
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 0x402c86
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
movzx edi, si
shr esi, 0x10
test ebx, ebx
je 0x402c7f
mov ecx, 0x5e6ea9af
mov eax, ebx
mul ecx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ecx, ebx
sub ecx, eax
jmp 0x402b76
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, dword [esp]
add ebp, eax
mov eax, esi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, edi
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub esi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov ebx, dword [esp + 0xc]
sub ebx, ecx
mov ecx, 0x15b0
je 0x402c7f
xor edx, edx
cmp ecx, 8
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
jb 0x402bef
and ecx, 0x1ff8
mov dword [esp], ecx
xor eax, eax
mov edx, eax
movzx ebx, byte [ebp + eax]
add ebx, edi
movzx eax, byte [ebp + eax + 1]
add eax, ebx
add ebx, esi
movzx ecx, byte [ebp + edx + 2]
add ecx, eax
add ebx, eax
movzx eax, byte [ebp + edx + 3]
add eax, ecx
add ebx, ecx
movzx ecx, byte [ebp + edx + 4]
add ecx, eax
add ebx, eax
movzx eax, byte [ebp + edx + 5]
add eax, ecx
add ebx, ecx
movzx ecx, byte [ebp + edx + 6]
add ecx, eax
add ebx, eax
movzx edi, byte [ebp + edx + 7]
add edi, ecx
add ebx, ecx
mov ecx, dword [esp + 4]
lea eax, [edx + 8]
mov esi, ebx
add esi, edi
add edx, 0xf
cmp edx, ecx
jb 0x402b90
add ebp, eax
mov edx, dword [esp]
mov ebx, edx
sub ebx, ecx
jae 0x402b3b
mov eax, ecx
and eax, 3
mov dword [esp], edx
je 0x402c31
mov dword [esp + 8], ebx
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx ecx, byte [edx]
inc edx
add edi, ecx
add esi, edi
dec ebx
cmp eax, ebx
jne 0x402c10
mov eax, dword [esp]
sub eax, ebx
mov ebx, dword [esp + 8]
cmp ebx, 0xfffffffc
ja 0x402b30
jmp 0x402c3e
mov eax, edx
mov edx, ebp
cmp ebx, 0xfffffffc
ja 0x402b30
mov ebx, dword [esp + 4]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx + eax]
add ecx, edi
add esi, ecx
movzx edi, byte [edx + eax + 1]
add edi, ecx
add esi, edi
movzx ecx, byte [edx + eax + 2]
add ecx, edi
add esi, ecx
movzx edi, byte [edx + eax + 3]
add edi, ecx
add esi, edi
add eax, 4
cmp ebx, eax
jne 0x402c50
jmp 0x402b30
shl esi, 0x10
or esi, edi
jmp 0x402c8b
mov esi, 1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402ca0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x402cce
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x402d6c
not eax
test bl, 1
jne 0x402cd5
mov edx, ebx
cmp ebx, 1
jne 0x402d06
jmp 0x402d6a
xor eax, eax
jmp 0x402d6c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x44280c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x44280c]
cmp ebx, 1
je 0x402d6a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x44280c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44280c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x44280c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44280c]
add esi, 2
cmp edx, esi
jne 0x402d10
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x409d90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x44ac98], ecx
mov eax, 0xfffffd92
nop
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x26f
mov dword [eax*4 + 0x44b654], ecx
test eax, eax
je 0x409de1
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x44b658], ecx
add eax, 2
jmp 0x409da0
mov dword [0x44ac94], 0x270
ret

Function at 0x409df0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0x44ac94]
cmp eax, 0x270
jne 0x409e4f
mov eax, 0xfffff640
mov edx, dword [0x44ac98]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x44b65c]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x44bc8c]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x44c018], esi
add eax, 4
jne 0x409e10
mov eax, 0x270
jmp 0x409e65
cmp eax, 0x4e0
jb 0x409e65
mov ecx, 0x44ac94
call fcn.0040a1a0
mov eax, dword [0x44ac94]
lea ecx, [eax + 1]
mov dword [0x44ac94], ecx
mov eax, dword [eax*4 + 0x44ac98]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x44c018]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret
Function at 0x40a1a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0x40a1b0
mov eax, 0x353
mov edx, SysReAllocString
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax - 0x270]
mov ebx, dword [ecx + eax*4 + 4]
and ebx, edx
and esi, 1
mov edi, eax
or edi, 1
add edi, esi
mov esi, dword [ecx + edi*4 + 4]
mov edi, esi
and edi, 0x7ffffffe
or edi, ebx
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [ecx + eax*4 - 0xd48]
xor esi, edi
mov dword [ecx + eax*4 - 0x9bc], esi
inc eax
cmp eax, 0x4df
jne 0x40a200
mov esi, SysReAllocString
and esi, dword [ecx + 0x1380]
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0x7ffffffe
or eax, esi
shr eax, 1
and edx, 1
neg edx
xor eax, dword [ecx + 0x634]
and edx, 0x9908b0df
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x40c8f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0x3c
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x60], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x44c04c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40c99e
sar edx, 1
lea edi, [esi + 0x30]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x445d60]
mov eax, dword [0x445d70]
nop
nop
nop
nop
nop
nop
jmp eax
Function at 0x40d020
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x440
mov dword [esp + 0x40], 0x8f3d8955
mov dword [esp + 0x44], 0x833b8d02
mov dword [esp + 0x48], 0x873a813c
mov dword [esp + 0x4c], 0x9b698525
mov dword [esp + 0x50], 0x9f6c996d
mov dword [esp + 0x54], 0x93729d6c
mov dword [esp + 0x58], 0x973d9168
mov dword [esp + 0x5c], 0x6bd8952d
mov dword [esp + 0x60], 0x6fdd69cc
mov dword [esp + 0x64], 0x63d56de7
mov dword [esp + 0x68], 0x67b46180
mov dword [esp + 0x6c], 0x7b9a65b0
mov dword [esp + 0x70], 0x7f8e7989
mov dword [esp + 0x74], 0x73827d8e
mov dword [esp + 0x78], 0x779671bf
mov dword [esp + 0x7c], 0x4bf375df
mov dword [esp + 0x80], 0x4f8449fa
mov dword [esp + 0x84], 0x438d4db8
mov dword [esp + 0x88], 0x47ce41a0
mov dword [esp + 0x8c], 0x5bae458e
mov dword [esp + 0x90], 0x5fbe59a1
mov dword [esp + 0x94], 0x53e25d9d
mov dword [esp + 0x98], 0x57ea51e0
mov dword [esp + 0x9c], 0x2b8155f1
mov dword [esp + 0xa0], 0x2f88298d
mov dword [esp + 0xa4], 0x239b2df3
mov dword [esp + 0xa8], 0x27d52194
mov dword [esp + 0xac], 0x3bcd25d1
mov dword [esp + 0xb0], 0x3fcc39f3
mov dword [esp + 0xb4], 0x33f83dcb
mov dword [esp + 0xb8], 0x37ce31d0
mov dword [esp + 0xbc], 0xbd235eb
mov dword [esp + 0xc0], 0xfd309dc
mov dword [esp + 0xc4], 0x3fe0dd0
mov dword [esp + 0xc8], 0x7ba01e0
mov dword [esp + 0xcc], 0x1ba505bd
mov dword [esp + 0xd0], 0x1ffe19bd
mov dword [esp + 0xd4], 0x13b71dc7
mov dword [esp + 0xd8], 0x17a911b7
mov dword [esp + 0xdc], 0xeb1315a7
mov dword [esp + 0xe0], 0xef29e908
mov dword [esp + 0xe4], 0xe354ed54
mov dword [esp + 0xe8], 0xe75be153
mov dword [esp + 0xec], 0xfb09e541
mov dword [esp + 0xf0], 0xff0ff909
mov dword [esp + 0xf4], 0xf300fd35
mov dword [esp + 0xf8], 0xf704f100
mov dword [esp + 0xfc], 0xcb38f504
mov dword [esp + 0x100], 0xcf2ec938
mov dword [esp + 0x104], 0xc363cd1b
mov dword [esp + 0x108], 0xc767c17a
mov dword [esp + 0x10c], 0xdb63c572
mov dword [esp + 0x110], 0xdf2bd92b
mov dword [esp + 0x114], 0xd319dd2b
mov dword [esp + 0x118], 0xd721d122
mov dword [esp + 0x11c], 0xabaad51e
mov eax, dword [0x44c040]
lea ecx, [esp + 0x40]
mov edx, 0xc5e8f39d
movzx esi, byte [ecx]
mov ebx, edx
or ebx, esi
lea edi, [edx + 0x3a170d00]
and edi, esi
not ebx
or ebx, edi
mov esi, ebx
and esi, 0x15
xor ebx, 0x15
lea ebx, [ebx + esi*2]
inc bl
mov byte [ecx], bl
inc ecx
dec edx
cmp edx, 0xc5e8f2bd
jne 0x40d270
lea esi, [esp + 0x40]
push 0
push 0
push 0
push 0
push esi
call eax
mov ebp, eax
xor eax, eax
test ebp, ebp
setne al
mov eax, dword [eax*4 + 0x445e18]
mov ecx, 0x4f3203ec
xor ecx, dword [0x445e20]
add eax, ecx
inc eax
jmp eax
Function at 0x415760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [esp + 0x14]
movzx eax, byte [esp + 0x20]
movzx ecx, byte [esp + 0x1c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], cl
mov byte [esi + 9], al
movzx edx, byte [ebx]
test dl, dl
je 0x4157da
lea ecx, [ebx + 1]
xor eax, eax
jmp 0x4157a9
inc eax
movzx edx, byte [ecx]
inc ecx
test dl, dl
je 0x4157dc
movzx edi, dl
mov ebp, edi
and ebp, 0xfffffff0
cmp ebp, 0xe0
je 0x4157a0
test dl, dl
jns 0x4157a0
mov edx, edi
and edx, 0xffffffe0
cmp edx, 0xc0
je 0x4157a0
and edi, 0xfffffff8
cmp edi, 0xf0
jne 0x4157a1
add eax, 2
jmp 0x4157a1
xor eax, eax
mov edi, dword [esp + 0x18]
mov ecx, eax
and ecx, 1
xor eax, 1
lea ebp, [eax + ecx*2]
test ebp, ebp
jns 0x4157f6
mov eax, 0xffffffff
jmp 0x4157fd
lea eax, [ebp*2]
push eax
call fcn.004095a0
add esp, 4
mov dword [esi], eax
push 0
push ebx
push ebp
push eax
call fcn.0040c150
add esp, 0x10
movzx edx, byte [edi]
test dl, dl
je 0x415876
lea ecx, [edi + 1]
xor eax, eax
jmp 0x415839
inc eax
movzx edx, byte [ecx]
inc ecx
test dl, dl
je 0x41586a
movzx ebx, dl
mov ebp, ebx
and ebp, 0xfffffff0
cmp ebp, 0xe0
je 0x415830
test dl, dl
jns 0x415830
mov edx, ebx
and edx, 0xffffffe0
cmp edx, 0xc0
je 0x415830
and ebx, 0xfffffff8
cmp ebx, 0xf0
jne 0x415831
add eax, 2
jmp 0x415831
mov ebx, eax
inc ebx
jns 0x415882
mov eax, 0xffffffff
jmp 0x415889
mov eax, 2
mov ebx, 1
jmp 0x415889
lea eax, [eax*2 + 2]
push eax
call fcn.004095a0
add esp, 4
mov dword [esi + 4], eax
push 0
push edi
push ebx
push eax
call fcn.0040c150
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x415ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x430
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax], 0
lea eax, [eax + 2]
jne 0x415f00
add eax, edi
add eax, 0xfffffffe
mov ecx, edi
not ecx
and ecx, eax
xor eax, edi
add ecx, ecx
sub ecx, eax
mov eax, ecx
sar eax, 1
mov dword [esp + 0xd4], eax
cmp eax, 0xfffffff2
mov dword [esp + 4], ecx
jge 0x415f36
mov eax, 0xffffffff
jmp 0x415f39
lea eax, [ecx + 0x1c]
push eax
call fcn.004095a0
add esp, 4
mov dword [esp], eax
mov dword [esp + 0x108], 0x3f723984
mov dword [esp + 0x10c], 0x23b53d9d
mov dword [esp + 0x110], 0x274621b4
mov dword [esp + 0x114], 0x2b8f259e
mov dword [esp + 0x118], 0x2fb929be
mov dword [esp + 0x11c], 0x13812d85
mov dword [esp + 0x120], 0x17161182
mov dword [esp + 0x124], 0
lea eax, [esp + 0x108]
mov ecx, 0xf5
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax]
mov edx, ecx
or edx, ebx
lea esi, [ebx + ebx]
not esi
add esi, ebx
lea ebx, [ecx - 0xc0]
or ebx, ecx
not ebx
or ebx, esi
and ebx, edx
mov dl, 0xcd
sub dl, bl
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0xd5
jne 0x415fb0
movzx ecx, word [edi]
mov esi, dword [esp]
mov eax, esi
test cx, cx
je 0x416001
add edi, 2
mov eax, esi
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x415ff0
mov word [eax], 0
movzx ecx, word [esp + 0x108]
test cx, cx
je 0x416031
lea edx, [esp + 0x10a]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x416020
mov word [eax], 0
lea eax, [esp + 0x2a8]
push 0x60
push 3
push 0x120089
push eax
push esi
call fcn.00440400
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x446954]