Function at 0x42379e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
push ebx
push edi
push 0x10
pop ecx
mov eax, 0x79cc4519
lea edi, [ebp - 0x258]
rep stosd dword es:[edi], eax
push 0x30
mov eax, 0x7a879d8a
pop ecx
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
movzx eax, byte [edx]
shl eax, 8
movzx ecx, byte [edx + 1]
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 2]
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 3]
or eax, ecx
mov dword [ebp - 0x158], eax
movzx eax, byte [edx + 4]
movzx ecx, byte [edx + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 6]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 7]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 9]
mov dword [ebp - 0x154], eax
movzx eax, byte [edx + 8]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0xa]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0xb]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0xd]
mov dword [ebp - 0x150], eax
movzx eax, byte [edx + 0xc]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0xe]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0xf]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x11]
mov dword [ebp - 0x14c], eax
movzx eax, byte [edx + 0x10]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x12]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x13]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x15]
mov dword [ebp - 0x148], eax
movzx eax, byte [edx + 0x14]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x16]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x17]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x19]
mov dword [ebp - 0x144], eax
movzx eax, byte [edx + 0x18]
shl eax, 8
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 0x1a]
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 0x1b]
or eax, ecx
mov dword [ebp - 0x140], eax
movzx eax, byte [edx + 0x1c]
shl eax, 8
movzx ecx, byte [edx + 0x1d]
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 0x1e]
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 0x1f]
or eax, ecx
mov dword [ebp - 0x13c], eax
movzx eax, byte [edx + 0x20]
shl eax, 8
movzx ecx, byte [edx + 0x21]
or eax, ecx
shl eax, 8
movzx ecx, byte [edx + 0x22]
or eax, ecx
movzx ecx, byte [edx + 0x23]
shl eax, 8
or eax, ecx
mov dword [ebp - 0x138], eax
movzx eax, byte [edx + 0x24]
movzx ecx, byte [edx + 0x25]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x26]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x27]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x29]
mov dword [ebp - 0x134], eax
movzx eax, byte [edx + 0x28]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x2a]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x2b]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x2d]
mov dword [ebp - 0x130], eax
movzx eax, byte [edx + 0x2c]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x2e]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x2f]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x31]
mov dword [ebp - 0x12c], eax
movzx eax, byte [edx + 0x30]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x32]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x33]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x35]
mov dword [ebp - 0x128], eax
movzx eax, byte [edx + 0x34]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x39]
mov dword [ebp - 0x124], eax
movzx eax, byte [edx + 0x38]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x3a]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x3b]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x3d]
mov dword [ebp - 0x120], eax
movzx eax, byte [edx + 0x3c]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x3e]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0x3f]
shl eax, 8
or eax, ecx
push 0x34
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x158]
pop edx
mov ecx, dword [eax + 0x34]
mov edi, dword [eax + 0xc]
rol ecx, 0xf
xor ecx, dword [eax + 0x1c]
xor ecx, dword [eax]
rol edi, 7
mov ebx, ecx
rol ebx, 0xf
xor edi, ebx
mov ebx, ecx
ror ebx, 9
xor edi, ebx
xor edi, dword [eax + 0x28]
add eax, 4
xor edi, ecx
dec edx
mov dword [eax + 0x3c], edi
jne 0x423a21
xor eax, eax
mov ecx, dword [ebp + eax - 0x148]
xor ecx, dword [ebp + eax - 0x158]
add eax, 4
cmp eax, 0x100
mov dword [ebp + eax - 0x35c], ecx
jl 0x423a50
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + ecx*4 - 0x258]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
rol eax, 0xc
rol edx, cl
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x14]
add edx, eax
add edx, dword [ebp - 4]
add ecx, dword [ebp + ebx*4 - 0x358]
mov ebx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
rol edx, 7
xor eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, ebx
xor eax, dword [ebp - 0x10]
xor eax, dword [ebp - 4]
add eax, dword [ebp + ecx*4 - 0x158]
add eax, edx
add eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 8]
rol edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x10]
ror edx, 0xd
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], ebx
mov edx, eax
ror edx, 0xf
mov ebx, eax
rol ebx, 9
xor edx, ebx
xor edx, eax
inc ecx
cmp ecx, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], ecx
jl 0x423aa4
push 0x10
pop ecx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + ecx*4 - 0x258]
mov eax, dword [ebp - 0x20]
rol eax, 0xc
rol edx, cl
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
add edx, eax
add edx, dword [ebp - 4]
and ebx, dword [ebp - 4]
rol edx, 7
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x20]
or edx, dword [ebp - 8]
xor eax, dword [ebp - 0x2c]
and edx, dword [ebp - 0xc]
or edx, ecx
mov ecx, dword [ebp - 0x1c]
add edx, dword [ebp + ecx*4 - 0x358]
add edx, dword [ebp - 0x24]
add eax, edx
mov edx, eax
mov eax, dword [ebp - 4]
not eax
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
or eax, ebx
add eax, dword [ebp + ecx*4 - 0x158]
mov ebx, dword [ebp - 0xc]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ebx
add eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 8]
rol ebx, 9
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x10]
ror edx, 0xd
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ebx
mov edx, eax
ror edx, 0xf
mov ebx, eax
rol ebx, 9
xor edx, ebx
xor edx, eax
inc ecx
cmp ecx, 0x40
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], ecx
jl 0x423b43
mov eax, dword [esi + 0xc]
xor eax, dword [ebp - 8]
xor edi, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
xor eax, dword [ebp - 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
xor eax, dword [ebp - 0x24]
pop edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x18]
xor eax, edx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x1c]
xor eax, dword [ebp - 0x10]
pop ebx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
xor eax, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x24]
xor eax, dword [ebp - 0x28]
mov dword [esi + 0x24], eax
leave
ret