Function at 0x4403e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [0x45683c]
mov edi, dword [0x456838]
mov eax, edi
or eax, ebx
jne 0x440492
mov dword [esp + 0x54], 0x299e2b96
mov dword [esp + 0x58], 0x2d822f8c
mov dword [esp + 0x5c], 0x31403380
mov dword [esp + 0x60], 0x359a3794
mov dword [esp + 0x64], 0x393a3b98
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x54]
mov esi, eax
and esi, 0x19
xor esi, 0xcf1c8979
mov ecx, eax
and ecx, 6
sub ecx, esi
xor ecx, edx
mov edx, ecx
not edx
and edx, 0xa4
and ecx, 0x5b
sub ecx, edx
inc cl
mov byte [esp + eax + 0x54], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x14
jb 0x440430
lea eax, [esp + 0x54]
push eax
call fcn.004400a0
add esp, 4
mov edi, eax
mov dword [0x45683c], edx
mov dword [0x456838], eax
or eax, edx
je 0x44058c
mov ebx, edx
lea eax, [esp + 0x154]
push 0x40
push eax
push ebx
push edi
call fcn.0043fef0
add esp, 0x10
test eax, eax
js 0x44058c
mov eax, dword [esp + 0x190]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x194]
push 0xf0
push edx
push ecx
push eax
call fcn.0043fef0
add esp, 0x10
xor esi, esi
test eax, eax
js 0x44058e
cmp dword [esp + 0x208], 0
je 0x44058e
mov eax, dword [esp + 0x204]
mov ebp, 0
test eax, eax
je 0x440590
add eax, edi
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.0043fef0
add esp, 0x10
test eax, eax
js 0x44058c
mov esi, dword [esp + 0x40]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x44053b
lea eax, [esi*4]
push eax
call fcn.0040c8e0
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 + 0x48]
add eax, edi
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], edx
push edx
push ecx
push eax
call fcn.0043fef0
add esp, 0x10
test eax, eax
js 0x44059f
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x4405a8
mov eax, 0xffffffff
jmp 0x4405aa
xor esi, esi
xor ebp, ebp
mov eax, esi
mov edx, ebp
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
xor ebp, ebp
jmp 0x440803
add eax, eax
push eax
call fcn.0040c8e0
add esp, 4
mov esi, dword [esp + 0x44]
add esi, esi
mov ecx, dword [esp + 0x50]
add ecx, edi
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.0043fef0
add esp, 0x10
test eax, eax
js 0x4407f3
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4405f6
mov eax, esi
push eax
call fcn.0040c8e0
add esp, 4
mov edx, dword [esp + 0x4c]
add edx, edi
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x1c], eax
push eax
push ecx
push edx
call fcn.0043fef0
add esp, 0x10
test eax, eax
js 0x4407e1
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x440630
mov esi, eax
test esi, esi
je 0x4407e1
xor ebp, ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
jmp 0x440673
mov edi, 0x36c0b43e
mov ebp, dword [esp + 0x10]
cmp edi, dword [esp + 0x298]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
je 0x440814
inc ebp
cmp ebp, esi
je 0x4407e1
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ebp*4]
add eax, edi
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x58]
push edx
push ecx
push eax
call fcn.0043fef0
add esp, 0x10
test eax, eax
jns 0x4406a0
cmp eax, 0x8000000d
jne 0x44066a
mov dword [esp + 0x10], ebp
mov edx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
cmp byte [esp + edx + 0x55], 0
lea edx, [edx + 1]
lea eax, [eax + 1]
jne 0x4406b0
mov dword [esp], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0x969a9401
xor edx, edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi + 4]
mov eax, esi
xor eax, 0x81d1fa25
mov ebx, edx
and ebx, 4
sub ebx, eax
mov ebp, ebx
and ebp, edi
mov ecx, ebp
or ecx, 0xfd
inc ecx
mov eax, ebp
and eax, 0xfffffffd
imul eax, ecx
mov ecx, ebp
and ecx, 2
or ebp, 2
imul ebp, ecx
add ebx, edi
sub ebx, ebp
add ebx, eax
add bl, 0xb9
mov byte [esp + esi + 4], bl
inc esi
add edx, 2
cmp esi, 4
jne 0x4406e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x440648
mov edx, dword [esp + 4]
mov ecx, edx
not ecx
mov edi, 0x36c0b43e
lea ebx, [esp + 0x54]
cmp eax, 1
je 0x4407b5
mov eax, dword [esp]
and eax, 0xfffffffe
mov dword [esp + 0x1c], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp], eax
movsx ebp, byte [ebx]
xor ebp, edi
mov eax, ebp
not eax
and eax, edx
mov ecx, ebp
mov esi, dword [esp + 0x1c]
and ecx, esi
imul ecx, eax
mov eax, ebp
and eax, edx
or ebp, edx
imul ebp, eax
add ebp, ecx
movsx edi, byte [ebx + 1]
add ebx, 2
xor edi, ebp
mov eax, edi
not eax
and eax, edx
mov ecx, edi
and ecx, esi
imul ecx, eax
mov eax, edi
and eax, edx
or edi, edx
imul edi, eax
add edi, ecx
mov eax, dword [esp]
add eax, 0xfffffffe
jne 0x440760
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
test al, 1
mov ebp, dword [esp + 0x10]
je 0x440651
movsx eax, byte [ebx]
xor edi, eax
mov eax, edi
not eax
and eax, edx
and ecx, edi
imul ecx, eax
mov eax, edi
and eax, edx
or edi, edx
imul edi, eax
add edi, ecx
jmp 0x440651
xor esi, esi
xor ebp, ebp
push dword [esp + 0x18]
call fcn.0040c8f0
add esp, 4
jmp 0x4407f7
xor esi, esi
xor ebp, ebp
push dword [esp + 8]
call fcn.0040c8f0
add esp, 4
push dword [esp + 0xc]
call fcn.0040c8f0
add esp, 4
jmp 0x440590
mov eax, dword [esp + 8]
movzx eax, word [eax + ebp*2]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + eax*4]
mov ecx, edi
and ecx, eax
mov ebp, ecx
shr ebp, 0x1f
add ecx, ecx
xor edi, eax
add edi, ecx
adc ebp, ebx
mov esi, edi
jmp 0x4407e5