Function at 0x445580
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0x686b6a65
mov word [esp + 8], 0
mov ebp, dword [esp + 0x2c]
mov eax, 0x1506d5e7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x1506d5e3]
xor ecx, eax
neg ecx
mov edx, ecx
and edx, 4
xor ecx, 0x84
lea ecx, [ecx + edx*2]
mov dl, 1
sub dl, cl
mov byte [esp + eax - 0x1506d5e3], dl
inc eax
cmp eax, 0x1506d5ed
jne 0x4455b0
mov esi, dword [esp + 4]
mov eax, dword [0x450c68]
test eax, eax
je 0x44563a
xor ecx, ecx
mov edx, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xffff4170
je 0x445610
inc ecx
cmp eax, ecx
jne 0x445600
jmp 0x44563a
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44563a
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 5
push dword [0x450c70]
push eax
call fcn.00441a90
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x44589e
push dword [esp + 0x10]
call fcn.0043ef40
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x686b6a65
mov word [esp + 8], 0
mov edx, 0x1506d5e7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx - 0x1506d5e3]
xor ecx, edx
neg ecx
mov esi, ecx
and esi, 4
xor ecx, 0x84
lea ebx, [ecx + esi*2]
mov cl, 1
sub cl, bl
mov byte [esp + edx - 0x1506d5e3], cl
inc edx
cmp edx, 0x1506d5ed
jne 0x445680
mov esi, dword [esp + 4]
mov edx, dword [0x450c68]
test edx, edx
je 0x4456e0
xor edi, edi
mov ecx, dword [0x450c6c]
mov ebx, dword [esp + 0x38]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0xffff4170
je 0x4456e6
inc edi
cmp edx, edi
jne 0x4456d0
jmp 0x44571c
mov ebx, dword [esp + 0x38]
jmp 0x445720
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
mov edi, dword [esp + 0x44]
je 0x445720
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push dword [esp + 8]
push 2
push dword [esp + 0x38]
push 5
push dword [0x450c70]
push edx
mov edi, eax
call fcn.00441a90
add esp, 0x20
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x44]
test esi, esi
mov edx, dword [esp + 0x48]
js 0x445893
mov dword [esp + 0xc], esi
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
je 0x44583c
test ebp, ebp
je 0x44582d
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov esi, dword [esp + 0x30]
mov esi, dword [esi]
cmp esi, ecx
jb 0x44575f
mov esi, ecx
test esi, esi
je 0x44581f
add eax, 0x2c
mov ecx, esi
and ecx, 3
je 0x4457b1
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x445780
mov ecx, esi
sub esi, edi
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
cmp ecx, 4
jae 0x4457c0
jmp 0x44581f
mov ecx, esi
cmp ecx, 4
jb 0x44581f
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebp], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebp + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebp + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebp + 6], cx
add ebp, 8
lea eax, [edi + eax*2]
add esi, 0xfffffffc
jne 0x4457c0
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov word [ebp], 0
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ebp, dword [esp + 0x30]
mov dword [ebp], eax
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x44584d
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ebp], eax
test ebx, ebx
je 0x44585b
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test esi, esi
je 0x445869
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [esi], eax
test ecx, ecx
je 0x445875
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
test edi, edi
mov esi, dword [esp + 0xc]
je 0x445887
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edi], eax
test edx, edx
je 0x445893
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov dword [edx], eax
push dword [esp]
call fcn.0043efa0
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret