Function at 0x442c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x264
mov ebp, dword [0x458ed4]
mov edi, dword [0x458ed0]
mov eax, edi
or eax, ebp
jne 0x442cca
mov dword [esp + 0x34], 0x910a9f02
mov dword [esp + 0x38], 0x950e9334
mov dword [esp + 0x3c], 0x89489708
mov dword [esp + 0x40], 0x8d168b2c
mov dword [esp + 0x44], 0x818e8f10
mov byte [esp + 0x48], 0
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xe5
xor cl, byte [esp + eax + 0x34]
add cl, 0x87
mov byte [esp + eax + 0x34], cl
inc eax
cmp eax, 0x15
jne 0x442c90
lea eax, [esp + 0x34]
push eax
call fcn.00442840
add esp, 4
mov edi, eax
mov dword [0x458ed4], edx
mov dword [0x458ed0], eax
or eax, edx
je 0x442da4
mov ebp, edx
lea eax, [esp + 0x134]
push 0x40
push eax
push ebp
push edi
call fcn.004425e0
add esp, 0x10
test eax, eax
js 0x442da4
mov eax, dword [esp + 0x170]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, ebp
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x174]
push 0xf0
push edx
push ecx
push eax
call fcn.004425e0
add esp, 0x10
xor ebx, ebx
test eax, eax
js 0x442da6
cmp dword [esp + 0x1e8], 0
je 0x442da6
mov eax, dword [esp + 0x1e4]
mov esi, 0
test eax, eax
je 0x442da8
add eax, edi
mov ecx, ebp
adc ecx, 0
lea edx, [esp + 0xc]
push 0x28
push edx
push ecx
push eax
call fcn.004425e0
add esp, 0x10
test eax, eax
js 0x442da4
mov ecx, dword [esp + 0x20]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x442d6d
mov eax, esi
push eax
call fcn.0040c820
add esp, 4
mov edx, dword [esp + 0x28]
add edx, edi
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 8], eax
push eax
push ecx
push edx
call fcn.004425e0
add esp, 0x10
test eax, eax
js 0x442db7
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x442dc0
mov eax, 0xffffffff
jmp 0x442dc2
xor ebx, ebx
xor esi, esi
mov eax, ebx
mov edx, esi
add esp, 0x264
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
xor esi, esi
jmp 0x442ebc
add eax, eax
push eax
call fcn.0040c820
add esp, 4
mov esi, dword [esp + 0x24]
add esi, esi
mov ecx, dword [esp + 0x30]
add ecx, edi
mov edx, ebp
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.004425e0
add esp, 0x10
test eax, eax
js 0x442ead
mov ecx, dword [esp + 0x24]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x442e0e
mov eax, esi
push eax
call fcn.0040c820
add esp, 4
mov edx, dword [esp + 0x2c]
add edx, edi
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.004425e0
add esp, 0x10
test eax, eax
js 0x442e9b
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x442e44
mov esi, eax
test esi, esi
je 0x442e9b
xor ebx, ebx
jmp 0x442e6c
push 0xfb520141
lea eax, [esp + 0x38]
push eax
call fcn.00442ef0
add esp, 8
cmp eax, dword [esp + 0x278]
je 0x442ecd
inc ebx
cmp esi, ebx
je 0x442e9b
mov eax, dword [esp + 8]
mov eax, dword [eax + ebx*4]
add eax, edi
mov ecx, ebp
adc ecx, 0
push 0x100
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.004425e0
add esp, 0x10
test eax, eax
jns 0x442e4c
cmp eax, 0x8000000d
jne 0x442e67
jmp 0x442e4c
xor ebx, ebx
xor esi, esi
push dword [esp + 8]
call fcn.0040c830
add esp, 4
jmp 0x442eb1
xor ebx, ebx
xor esi, esi
push dword [esp]
call fcn.0040c830
add esp, 4
push dword [esp + 4]
call fcn.0040c830
add esp, 4
jmp 0x442da8
mov eax, dword [esp]
movzx eax, word [eax + ebx*2]
mov ecx, dword [esp + 4]
add edi, dword [ecx + eax*4]
adc ebp, 0
mov ebx, edi
mov esi, ebp
jmp 0x442e9f