Function at 0x4407d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, ecx
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 0x14], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x7c7d7e7f
mov byte [esp + 8], 0
mov eax, 0x99e8fc40
mov edx, 0xbf
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x661703c4]
mov ebp, ebx
not ebp
mov esi, eax
and esi, ebp
or ebp, edx
add ebx, ebp
inc ebx
or ebx, esi
add ebx, 0xfe7312bf
mov esi, ebx
and esi, 1
xor ebx, 1
lea ebx, [ebx + esi*2]
mov byte [esp + eax + 0x661703c4], bl
inc eax
dec edx
cmp eax, 0x99e8fc45
jne 0x440810
mov eax, dword [esp + 4]
mov edx, dword [0x450c68]
test edx, edx
je 0x4408a0
xor ebp, ebp
mov ebx, dword [0x450c6c]
nop
nop
cmp dword [ebx + ebp*8], 0xf3285e74
je 0x440870
inc ebp
cmp edx, ebp
jne 0x440860
jmp 0x4408a0
mov edx, dword [ebx + ebp*8 + 4]
cmp edx, eax
je 0x4408a0
lea eax, [esp + 0x1c]
mov esi, esp
push 4
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
push 6
push dword [0x450c70]
push edx
mov ebx, ecx
call fcn.00441a90
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x440901
push 0
push 0
mov esi, dword [esp + 0x1c]
push dword [esi + 8]
push dword [esp + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.0043fbd0
test eax, eax
mov ebx, dword [esp + 0x3c]
jns 0x4408da
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0x8000000d
jne 0x44098c
mov ecx, dword [esp]
mov ebp, dword [esi + 8]
add ebp, ecx
sub ebp, ebx
xor eax, eax
mov edx, 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
cmp ebp, ecx
jbe 0x44098c
mov ecx, dword [esp + 0xc]
jmp 0x440925
xor eax, eax
xor edx, edx
jmp 0x440a40
mov edx, eax
and edx, 0xfffffffe
or eax, 0xfffffffe
add eax, edx
add ecx, eax
inc ecx
inc ecx
xor eax, eax
mov edx, 0
cmp ecx, dword [esp + 0x10]
jae 0x44098c
test edi, edi
je 0x44092e
cmp byte [edi], 0x3f
je 0x440939
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
cmp al, byte [edx]
jne 0x440917
cmp ebx, 2
jb 0x440972
mov eax, 1
jmp 0x440966
movzx edx, byte [ecx + eax]
mov ebp, edi
mov edi, dword [esp + 0x38]
cmp dl, byte [edi + eax]
mov edi, ebp
jne 0x44090a
inc eax
cmp ebx, eax
je 0x440972
test edi, edi
je 0x440950
cmp byte [edi + eax], 0x3f
jne 0x440950
jmp 0x440961
test ecx, ecx
je 0x440988
sub ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov eax, ecx
jmp 0x44098c
xor eax, eax
xor edx, edx
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0x7c7d7e7f
mov byte [esp + 8], 0
mov ecx, 0x99e8fc40
mov esi, 0xbf
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx + 0x661703c4]
mov ebx, edi
not ebx
mov ebp, ecx
and ebp, ebx
or ebx, esi
add edi, ebx
inc edi
or edi, ebp
add edi, 0xfe7312bf
mov ebx, edi
and ebx, 1
xor edi, 1
lea ebx, [edi + ebx*2]
mov byte [esp + ecx + 0x661703c4], bl
inc ecx
dec esi
cmp ecx, 0x99e8fc45
jne 0x4409b0
mov ecx, dword [0x450c68]
test ecx, ecx
je 0x440a40
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x450c6c]
nop
cmp dword [ebx + edi*8], 0x731cdbf3
je 0x440a10
inc edi
cmp ecx, edi
jne 0x440a00
jmp 0x440a40
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x440a40
lea esi, [esp + 0x18]
mov edi, esp
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x450c70]
push ecx
mov esi, eax
mov edi, edx
call fcn.00441a90
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x10