Function at 0x445090
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
je 0x4450c3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x4450b0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x4450d3
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x3c]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0x20272625
mov dword [esp + 4], 0
mov eax, esp
mov ecx, 0xf6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
lea edi, [ecx - 0xa3fc700]
or edi, edx
not edi
and edx, ecx
or edx, edi
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
add dl, 0xd2
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0xee
jne 0x445100
mov ebx, dword [esp]
mov eax, dword [0x450c18]
test eax, eax
je 0x44517f
xor ecx, ecx
mov edx, dword [0x450c1c]
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x445150
inc ecx
cmp eax, ecx
jne 0x445140
jmp 0x44517f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44517f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push dword [0x450c20]
push eax
call fcn.00440770
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x37f6f987
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
mov edi, 0xa9
sub edi, eax
lea ecx, [eax + 0x56]
or ecx, edx
not edx
or edx, edi
and ecx, edx
add cl, 0x52
mov byte [esp + eax], cl
mov ecx, eax
xor ecx, 1
and eax, 1
lea eax, [ecx + eax*2]
cmp eax, 7
jb 0x4451a0
cmp ebx, dword [esp]
jne 0x445344
push dword [esp + 0xc]
call fcn.0043d980
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x17161926
mov byte [esp + 0x14], 0
xor edx, edx
mov bl, 0x39
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx + 0x10]
xor cl, bl
mov ch, 0x21
sub ch, cl
mov byte [esp + edx + 0x10], ch
inc edx
dec bl
cmp edx, 5
jne 0x445200
mov edx, dword [esp + 0x10]
mov dword [esp], 0x20272625
mov dword [esp + 4], 0
mov ebx, esp
mov ebp, 0xf6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebx]
lea edi, [ebp - 0xa3fc700]
or edi, ecx
not edi
and ecx, ebp
or ecx, edi
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
add cl, 0xd2
mov byte [ebx], cl
inc ebx
dec ebp
cmp ebp, 0xee
jne 0x445240
mov ebx, dword [esp]
mov ebp, dword [0x450c18]
test ebp, ebp
je 0x4452c3
xor edi, edi
mov ecx, dword [0x450c1c]
cmp dword [ecx + edi*8], 0xc0a4c970
je 0x445290
inc edi
cmp ebp, edi
jne 0x445280
jmp 0x4452c3
mov ebp, dword [ecx + edi*8 + 4]
cmp ebp, ebx
je 0x4452c3
lea ecx, [esp + 0xc]
lea edi, [esp + 0x18]
push ecx
push dword [esp + 0xc]
push eax
push edx
push edi
push dword [esp + 0x48]
push 6
push dword [0x450c20]
push ebp
mov edi, eax
call fcn.00440770
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x44533b
test esi, esi
je 0x4452d0
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x44], 0
je 0x44533b
mov esi, dword [esp + 0x40]
test esi, esi
je 0x445332
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x4452ee
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x445332
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
push eax
call fcn.0043da70
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret