Function at 0x42c9b0
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ebx, [ebp - 0x18]
sub esp, 0xa8
mov eax, dword [ecx]
mov edi, dword [ecx + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], ebx
lea ebx, [ebp - 0x6c]
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x54], 0x4f3670
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x50], 0x4f4d18
mov dword [ebp - 0x48], 0x42cdf0
mov dword [esp], ebx
call fcn.00458010
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [esp], 0x400
mov dword [ebp - 0x68], 0xffffffff
call fcn.0041f480
sub esp, 4
mov ecx, 0x20
mov dword [esp + 4], 0x400
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x9c]
call fcn.0042a750
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0x100
mov dword [ebp - 0x98], eax
mov dword [esp + 4], 1
mov dword [esp], 0x480
call sub.msvcrt.dll_calloc
test eax, eax
mov dword [ebp - 0x24], eax
mov edx, eax
je 0x42cdce
mov ecx, edx
mov eax, 0x40
and ecx, 0x3f
sub eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 1
mov dword [esp], 0x1000080
call sub.msvcrt.dll_calloc
test eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], 0x400000
je 0x42cda6
mov ebx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x7c]
mov eax, ebx
and eax, 0x3f
mov edi, eax
mov dword [ebp - 0x94], eax
mov eax, ebx
sub eax, edi
mov edi, dword [ebp - 0x98]
add eax, 0x40
mov dword [ebp - 0x74], eax
xor eax, eax
lea esi, [esi]
movzx edx, byte [edi + eax]
mov ecx, eax
mov ebx, eax
and ecx, 3
and ebx, 0xfffffffc
add eax, 1
shl ecx, 3
shl edx, cl
add dword [esi + ebx], edx
cmp eax, 0x400
jne 0x42cb00
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
add eax, 0x1000000
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x7c]
jmp 0x42cb43
mov eax, dword [ebp - 0x24]
mov esi, eax
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
call fcn.0041f0b0
add dword [ebp - 0x70], 0x400
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x78]
jne 0x42cb40
mov dword [ebp - 0x8c], 0x4000
lea esi, [esi]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x3c0]
and edx, 0x3fff
mov edi, edx
mov edx, eax
shr edx, 2
shl edi, 8
neg edx
and edx, 3
je 0x42cd20
mov esi, dword [ebp - 0x74]
mov ecx, dword [esi + edi*4]
xor dword [eax], ecx
cmp edx, 1
je 0x42cd63
lea ecx, [edi + 1]
lea ebx, [ecx*4]
mov ecx, dword [esi + ecx*4]
xor dword [eax + 4], ecx
cmp edx, 2
je 0x42cd50
mov ecx, dword [esi + ebx + 4]
xor dword [eax + 8], ecx
mov dword [ebp - 0x7c], 0xfd
mov dword [ebp - 0x78], 3
mov ebx, 0x100
mov dword [ebp - 0x70], 0x3f
sub ebx, edx
mov dword [ebp - 0x84], 0xfc
mov dword [ebp - 0x80], ebx
mov esi, dword [ebp - 0x90]
lea ecx, [edi + edx + 0x10]
lea ebx, [eax + edx*4]
xor edx, edx
lea esi, [esi + ecx*4]
sub esi, dword [ebp - 0x94]
xor ecx, ecx
movdqu xmm0, xmmword [esi + edx]
add ecx, 1
pxor xmm0, xmmword [ebx + edx]
movaps xmmword [ebx + edx], xmm0
add edx, 0x10
cmp dword [ebp - 0x70], ecx
ja 0x42cc08
mov ebx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
add edx, ebx
sub ecx, ebx
cmp dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ecx
je 0x42cc6c
mov ecx, dword [ebp - 0x74]
lea ebx, [edx + edi]
mov ebx, dword [ecx + ebx*4]
xor dword [eax + edx*4], ebx
lea ebx, [edx + 1]
cmp dword [ebp - 0x70], 1
je 0x42cc6c
lea esi, [ebx + edi]
add edx, 2
mov esi, dword [ecx + esi*4]
xor dword [eax + ebx*4], esi
cmp dword [ebp - 0x70], 2
je 0x42cc6c
lea ecx, [edx + edi]
mov edi, dword [ebp - 0x74]
mov ecx, dword [edi + ecx*4]
xor dword [eax + edx*4], ecx
call fcn.0041f0b0
sub dword [ebp - 0x8c], 1
jne 0x42cb70
mov ebx, dword [ebp - 0x98]
xor eax, eax
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x24]
mov esi, eax
mov ecx, eax
sar esi, 2
and ecx, 3
shl ecx, 3
mov edx, dword [edx + esi*4]
shr edx, cl
mov byte [ebx + eax], dl
add eax, 1
cmp eax, 0x400
jne 0x42cc90
mov edx, dword [ebp - 0x88]
test edx, edx
jne 0x42cd93
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x42cd80
mov edx, dword [ebp - 0x30]
mov dword [esp + 4], 0x20
mov ecx, 0x400
mov eax, dword [ebp - 0xa0]
mov dword [esp], eax
mov eax, dword [ebp - 0x9c]
call fcn.0042a750
lea ecx, [ebp - 0x30]
mov dword [esp], 0
mov dword [ebp - 0x68], 0
call fcn.0041f480
lea eax, [ebp - 0x6c]
sub esp, 4
mov dword [esp], eax
call fcn.004580a0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0x100
mov dword [ebp - 0x80], 0x100
mov dword [ebp - 0x70], 0x40
mov dword [ebp - 0x84], 0x100
jmp 0x42cbee
mov dword [ebp - 0x7c], 0xfe
mov dword [ebp - 0x78], 2
jmp 0x42cbd3
mov dword [ebp - 0x7c], 0xff
mov dword [ebp - 0x78], 1
jmp 0x42cbd3
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004628a0
jmp 0x42cccb
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.004628a0
jmp 0x42ccc0
mov dword [esp], 0x4facd2
mov dword [ebp - 0x68], 2
call fcn.00402a80
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x7c], eax
jmp 0x42cad1
mov dword [ebp - 0x20], 0
mov dword [esp], 0x4facd2
mov dword [ebp - 0x68], 1
call fcn.00402a80
mov edx, dword [ebp - 0x24]
jmp 0x42ca8e