Function at 0x442d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x278
mov ebx, dword [0x458d74]
mov ebp, dword [0x458d70]
mov eax, ebp
or eax, ebx
jne 0x442e12
mov dword [esp + 0x48], 0x179a198a
mov dword [esp + 0x4c], 0x13861588
mov dword [esp + 0x50], 0xfdc1184
mov dword [esp + 0x54], 0xb9e0d90
mov dword [esp + 0x58], 0x706099c
mov word [esp + 0x5c], 0
mov byte [esp + 0x5e], 0
mov eax, 0xec889bc6
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x13776482]
mov ecx, eax
and ecx, edx
add ecx, ecx
add edx, eax
mov esi, ecx
xor esi, edx
not ecx
and ecx, edx
add ecx, ecx
sub ecx, esi
add cl, 0x22
mov byte [esp + eax + 0x13776482], cl
inc eax
cmp eax, 0xec889bdd
jne 0x442dc0
lea eax, [esp + 0x48]
push eax
call fcn.00442940
add esp, 4
mov ebp, eax
mov dword [0x458d74], edx
mov dword [0x458d70], eax
or eax, edx
je 0x442f0c
mov ebx, edx
lea eax, [esp + 0x148]
push 0x40
push eax
push ebx
push ebp
call fcn.00442700
add esp, 0x10
test eax, eax
js 0x442f0c
mov eax, dword [esp + 0x184]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x188]
push 0xf0
push edx
push ecx
push eax
call fcn.00442700
add esp, 0x10
xor edi, edi
test eax, eax
js 0x442f0e
cmp dword [esp + 0x1fc], 0
je 0x442f0e
mov eax, dword [esp + 0x1f8]
mov esi, 0
test eax, eax
je 0x442f10
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x20]
push 0x28
push edx
push ecx
push eax
call fcn.00442700
add esp, 0x10
test eax, eax
js 0x442f0c
mov esi, dword [esp + 0x34]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x442ebb
lea eax, [esi*4]
push eax
call fcn.0040ce80
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x3c]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], edx
push edx
push ecx
push eax
call fcn.00442700
add esp, 0x10
test eax, eax
js 0x442f1f
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x442f28
mov eax, 0xffffffff
jmp 0x442f2a
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x278
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x443107
add eax, eax
push eax
call fcn.0040ce80
add esp, 4
mov esi, dword [esp + 0x38]
add esi, esi
mov ecx, dword [esp + 0x44]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.00442700
add esp, 0x10
test eax, eax
js 0x4430f7
mov ecx, dword [esp + 0x38]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x442f76
mov eax, esi
push eax
call fcn.0040ce80
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x40]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00442700
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0x4430e5
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jb 0x442fb2
mov esi, eax
test esi, esi
je 0x4430e5
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
jmp 0x442ff5
mov eax, 0xfb520141
cmp eax, dword [esp + 0x28c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
je 0x443118
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x4430e5
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
call fcn.00442700
add esp, 0x10
test eax, eax
jns 0x443022
cmp eax, 0x8000000d
jne 0x442fe8
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x49], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x443030
mov dword [esp], 0x727270e3
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
and dl, 0xb3
xor dl, byte [esp + eax]
xor dl, 0x94
add dl, 0x1c
mov byte [esp + eax], dl
inc eax
cmp eax, 4
jne 0x443050
test ecx, ecx
je 0x442fca
mov edx, dword [esp]
mov ebp, 0xfb520141
lea esi, [esp + 0x48]
cmp ecx, 4
jb 0x4430bf
mov eax, ebx
and eax, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 1]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 2]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, edi
imul ebp, edx
add eax, 0xfffffffc
jne 0x443090
mov edi, dword [esp + 4]
mov eax, ebp
test cl, 3
je 0x442fcf
and ebx, 3
xor ecx, ecx
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp ebx, ecx
jne 0x4430d0
jmp 0x442fcf
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040ce90
add esp, 4
jmp 0x4430fb
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040ce90
add esp, 4
push dword [esp + 0xc]
call fcn.0040ce90
add esp, 4
jmp 0x442f10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x4430e9