Function at 0x440550
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0
mov dword [esp + 0x18], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0xdcdddedf
mov dword [esp + 0xc], 0
xor eax, eax
mov edx, 0x31588af
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 8]
mov ebx, edx
and ebx, 0x314880d
mov ebp, eax
and ebp, 2
mov esi, edi
and esi, 0x5d
or esi, 0x90454822
and edi, 0xffffffa2
add ebx, ebp
add ebx, 0x28480100
xor ebx, edi
xor ebx, esi
mov esi, ebx
xor esi, 0xb767e2ef
mov ebp, ebx
and ebp, 0x100090
xor ebp, 0xf7aab7f
and ebp, esi
mov edi, ebp
and edi, 0xfd
and esi, 2
or ebp, 2
imul ebp, esi
xor esi, 2
imul esi, edi
xor ebx, 0x10
add ebx, ebp
add ebx, esi
inc bl
mov byte [esp + eax + 8], bl
inc eax
dec edx
cmp eax, 8
jne 0x440590
mov eax, dword [esp + 8]
mov edx, dword [0x45064c]
test edx, edx
je 0x440662
xor esi, esi
mov ebx, dword [0x450650]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x3e416e49
je 0x440630
inc esi
cmp edx, esi
jne 0x440620
jmp 0x440662
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x440662
lea eax, [esp + 0x20]
lea esi, [esp + 4]
push 4
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
push 6
push dword [0x450654]
push edx
mov esi, ecx
call fcn.00441b40
mov ecx, esi
add esp, 0x24
test eax, eax
mov edi, dword [esp + 0x44]
js 0x4406d6
push 0
push 0
mov esi, dword [esp + 0x20]
push dword [esi + 8]
push dword [esp + 0x10]
push dword [esi + 4]
push dword [esi]
call fcn.0043f6e0
test eax, eax
jns 0x4406a0
mov ecx, eax
mov dword [esp], 0
mov edx, 0
cmp eax, 0x8000000d
jne 0x440761
mov eax, dword [esp + 4]
mov ecx, dword [esi + 8]
add ecx, eax
sub ecx, dword [esp + 0x40]
mov dword [esp], 0
mov edx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp ecx, eax
jbe 0x440761
mov eax, dword [esp + 0x40]
lea ebp, [eax - 1]
mov ecx, dword [esp + 0x10]
jmp 0x4406f9
mov dword [esp], 0
xor edx, edx
jmp 0x44084e
add ecx, eax
inc ecx
mov dword [esp], 0
mov edx, 0
cmp ecx, dword [esp + 0x14]
jae 0x440761
test edi, edi
je 0x440702
cmp byte [edi], 0x3f
je 0x44070d
movzx eax, byte [ecx]
mov edx, dword [esp + 0x3c]
cmp al, byte [edx]
jne 0x4406e6
cmp dword [esp + 0x40], 2
jb 0x440741
xor eax, eax
jmp 0x440734
movzx edx, byte [ecx + eax + 1]
mov ebx, dword [esp + 0x3c]
cmp dl, byte [ebx + eax + 1]
jne 0x4406e4
inc eax
cmp ebp, eax
je 0x440741
test edi, edi
je 0x440720
cmp byte [edi + eax + 1], 0x3f
jne 0x440720
jmp 0x44072f
test ecx, ecx
je 0x440758
sub ecx, dword [esp + 0x10]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov dword [esp], ecx
jmp 0x440761
mov dword [esp], 0
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0xdcdddedf
mov dword [esp + 0xc], 0
xor ecx, ecx
mov eax, 0x31588af
movzx esi, byte [esp + ecx + 8]
mov ebx, eax
and ebx, 0x314880d
mov ebp, ecx
and ebp, 2
mov edi, esi
and edi, 0x5d
or edi, 0x90454822
and esi, 0xffffffa2
add ebx, ebp
add ebx, 0x28480100
xor ebx, esi
xor ebx, edi
mov ebp, ebx
xor ebp, 0xb767e2ef
mov edi, ebx
and edi, 0x100090
xor edi, 0xf7aab7f
and edi, ebp
mov esi, edi
and esi, 0xfd
and ebp, 2
or edi, 2
imul edi, ebp
xor ebp, 2
imul ebp, esi
xor ebx, 0x10
add ebx, edi
add ebx, ebp
inc bl
mov byte [esp + ecx + 8], bl
inc ecx
dec eax
cmp ecx, 8
jne 0x440780
mov ecx, dword [0x45064c]
test ecx, ecx
je 0x44084e
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x450650]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x440820
inc edi
cmp ecx, edi
jne 0x440810
jmp 0x44084e
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x44084e
lea eax, [esp + 0x1c]
lea esi, [esp + 4]
push 0x8000
push eax
push esi
push 0xffffffffffffffff
push 4
push dword [0x450654]
push ecx
mov edi, edx
call fcn.00441b40
mov edx, edi
add esp, 0x1c
mov eax, dword [esp]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10