Function at 0x440090
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [esp + 8], 0
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 0x1c1d1a1b
mov word [esp + 0x10], 0
xor eax, eax
xor edx, edx
nop
nop
nop
movzx ebx, byte [esp + edx + 0xc]
mov esi, edx
xor esi, 0x71474eb3
mov ebp, eax
and ebp, 8
sub ebp, esi
lea ecx, [ebp + 0x1466582d]
mov edi, 0x6b99a7d2
sub edi, ebp
or edi, ebx
mov esi, 0xd2
sub esi, ebp
and esi, ebx
xor esi, edi
and esi, ecx
add esi, esi
not esi
lea ecx, [esi + ebp]
add ecx, 0x1466582d
add cl, bl
add cl, 0x9f
mov byte [esp + edx + 0xc], cl
inc edx
add eax, 2
cmp edx, 6
jne 0x4400c0
mov eax, dword [esp + 0xc]
mov edx, dword [0x450d3c]
test edx, edx
je 0x44016f
xor ebx, ebx
mov ebp, dword [0x450d40]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xf3285e74
je 0x440141
inc ebx
cmp edx, ebx
jne 0x440130
jmp 0x44016f
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x44016f
lea eax, [esp + 0x24]
lea ecx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push ecx
push 0xffffffffffffffff
push 6
push dword [0x450d44]
push edx
call fcn.00441410
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
js 0x4401e8
mov ecx, dword [esp + 0x3c]
push 0
push 0
push dword [esi + 8]
push dword [esp + 0x14]
push dword [esi + 4]
push dword [esi]
call fcn.0043f410
test eax, eax
jns 0x4401b8
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp], 0
cmp eax, 0x8000000d
jne 0x4402a9
mov eax, dword [esp + 8]
mov ecx, dword [esi + 8]
add ecx, eax
sub ecx, ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp ecx, eax
jbe 0x4402a9
mov ecx, dword [esp + 0x14]
jmp 0x44023a
mov dword [esp + 4], 0
mov dword [esp], 0
jmp 0x44037a
mov edx, eax
xor edx, 1
or eax, 0x7ffffffe
and eax, edx
add eax, eax
sub eax, edx
add eax, 0x97b20a44
mov edx, eax
xor edx, 0x97b20a44
and eax, 0xe84df5bb
add eax, eax
sub eax, edx
add ecx, eax
inc ecx
mov dword [esp + 4], 0
mov dword [esp], 0
cmp ecx, dword [esp + 0x18]
jae 0x4402a9
test edi, edi
je 0x440243
cmp byte [edi], 0x3f
je 0x44024e
movzx eax, byte [ecx]
mov edx, dword [esp + 0x40]
cmp al, byte [edx]
jne 0x440224
cmp ebx, 2
jb 0x44027f
mov eax, 1
jmp 0x440273
movzx edx, byte [ecx + eax]
mov ebp, dword [esp + 0x40]
cmp dl, byte [ebp + eax]
jne 0x4401fc
inc eax
cmp ebx, eax
je 0x44027f
test edi, edi
je 0x440260
cmp byte [edi + eax], 0x3f
jne 0x440260
jmp 0x44026e
test ecx, ecx
je 0x44029a
sub ecx, dword [esp + 0x14]
mov eax, ecx
sar eax, 0x1f
add ecx, dword [esi]
adc eax, dword [esi + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
jmp 0x4402a9
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0x1c1d1a1b
mov word [esp + 0x10], 0
xor ebx, ebx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + esi + 0xc]
mov ebp, esi
xor ebp, 0x71474eb3
mov edi, ebx
and edi, 8
sub edi, ebp
lea edx, [edi + 0x1466582d]
mov ecx, 0x6b99a7d2
sub ecx, edi
or ecx, eax
mov ebp, 0xd2
sub ebp, edi
and ebp, eax
xor ebp, ecx
and ebp, edx
add ebp, ebp
not ebp
lea ecx, [edi + ebp]
add ecx, 0x1466582d
add cl, al
add cl, 0x9f
mov byte [esp + esi + 0xc], cl
inc esi
add ebx, 2
cmp esi, 6
jne 0x4402d0
mov ecx, dword [0x450d3c]
test ecx, ecx
je 0x44037a
mov esi, dword [esp + 0xc]
xor edi, edi
mov ebx, dword [0x450d40]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x731cdbf3
je 0x440350
inc edi
cmp ecx, edi
jne 0x440340
jmp 0x44037a
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x44037a
lea eax, [esp + 0x20]
lea edx, [esp + 8]
push 0x8000
push eax
push edx
push 0xffffffffffffffff
push 4
push dword [0x450d44]
push ecx
call fcn.00441410
add esp, 0x1c
mov eax, dword [esp + 4]
mov edx, dword [esp]
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 0x10