Function at 0x445da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov dword [esp + 4], 0xe0e7e6e5
mov word [esp + 8], 0
xor eax, eax
mov ecx, eax
add cl, 0xa9
xor cl, byte [esp + eax + 4]
add cl, 0xb3
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 6
jne 0x445dc0
mov eax, dword [esp + 4]
mov ebx, dword [0x452164]
test ebx, ebx
je 0x445e2c
xor ecx, ecx
mov edx, dword [0x452168]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x445e00
inc ecx
cmp ebx, ecx
jne 0x445df0
jmp 0x445e2c
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x445e2c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push dword [0x45216c]
push edx
call fcn.00442160
add esp, 0x24
cmp eax, 0xc0000023
jne 0x446082
push dword [esp + 0x10]
call fcn.0043e990
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], 0xe0e7e6e5
mov word [esp + 8], 0
xor edx, edx
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0xa9
xor bl, byte [esp + edx + 4]
add bl, 0xb3
mov byte [esp + edx + 4], bl
inc edx
cmp edx, 6
jne 0x445e60
mov ebp, dword [esp + 4]
mov edx, dword [0x452164]
test edx, edx
je 0x445eb7
mov dword [esp + 0xc], ecx
mov ecx, ebp
xor esi, esi
mov ebp, dword [0x452168]
mov ebx, dword [esp + 0x44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0xc59b8bcb
je 0x445ebd
inc esi
cmp edx, esi
jne 0x445ea0
mov esi, dword [esp + 0x3c]
mov ebp, ecx
jmp 0x445efd
mov ebx, dword [esp + 0x44]
jmp 0x445efd
mov edx, dword [ebp + esi*8 + 4]
mov ebp, ecx
cmp edx, ecx
mov esi, dword [esp + 0x3c]
je 0x445efd
lea esi, [esp + 0x10]
push esi
push dword [esp + 0x10]
push dword [esp + 8]
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push dword [0x45216c]
push edx
mov esi, eax
call fcn.00442160
add esp, 0x24
mov ebp, eax
mov eax, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
test ebp, ebp
mov ebp, dword [esp + 0x40]
js 0x446073
cmp dword [esp + 0x38], 0
je 0x445ffd
test edi, edi
je 0x445fef
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
cmp edx, ecx
jb 0x445f34
mov edx, ecx
test edx, edx
je 0x445fea
add eax, 0x14
mov ecx, edx
and ecx, 3
je 0x445f80
mov dword [esp + 0x14], edx
xor esi, esi
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x445f50
mov edx, dword [esp + 0x14]
mov ecx, edx
sub ecx, esi
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp edx, 4
jae 0x445f90
jmp 0x445fea
mov ecx, edx
cmp edx, 4
jb 0x445fea
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x445f90
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov word [edi], 0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
test esi, esi
je 0x446009
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [esi], eax
test ebx, ebx
je 0x446073
test ebp, ebp
je 0x44606b
mov edx, dword [ebx]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
cmp edx, eax
jb 0x44601f
mov edx, eax
mov ecx, dword [esp]
mov eax, dword [ecx + 8]
add eax, ecx
mov ecx, edx
shr ecx, 2
mov esi, eax
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
not ecx
mov esi, ecx
or esi, 0xfffffffc
add esi, edx
inc esi
add ebp, esi
add eax, esi
or ecx, 3
add edx, ecx
inc edx
mov ecx, edx
shr ecx, 1
mov esi, eax
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
je 0x44606b
and edx, 0xfffffffe
movzx eax, byte [eax + edx]
mov byte [ebp + edx], al
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [ebx], eax
push dword [esp]
call fcn.0043ea00
add esp, 4
mov eax, dword [esp + 0xc]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret