Function at 0x445470
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bc6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe0
push esi
push edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebx + 8]
mov edx, eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4454d0
sub edx, esi
lea ecx, [ebp - 0x44]
sar edx, 1
push edx
push eax
call fcn.0042d600
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x9c]
call fcn.0042e9e0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.00434420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x8c]
cmovae ecx, dword [ebp - 0x9c]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00435890
lea ecx, [ebp - 0xf0]
call fcn.004343a0
lea ecx, [ebp - 0x9c]
call fcn.0042eb40
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x445591
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445587
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44585b
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp ecx, 0x10
mov edi, dword [ebp - 0x18]
cmovae eax, esi
cmp ecx, 0x10
lea edx, [ebp - 0x28]
mov ecx, edi
cmovae edx, esi
sub ecx, eax
add ecx, edx
cmp ecx, 4
jle 0x44560e
cmp dword [ebp - 0x14], 0x10
lea esi, [eax + 4]
lea eax, [ebp - 0x28]
mov edx, 1
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
sub edi, edx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.0054f360
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x18], edi
cmp ecx, 0x10
cmovae eax, dword [ebp - 0x28]
add eax, esi
mov esi, dword [ebp - 0x28]
jmp 0x4455a3
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x50]
call fcn.004447f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
mov edx, dword [ebp - 0x50]
sub eax, edx
sar eax, 1
cmp eax, 4
ja 0x44568f
mov byte [ebp - 4], 7
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x445851
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x50]
add eax, 0x10
mov dword [edi], eax
call fcn.00445990
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x44580f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445805
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44585b
jmp 0x445805
lea eax, [edx + 8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
cmp edx, eax
jne 0x4456bf
xor edi, edi
mov dword [ebp - 0x54], 7
xor eax, eax
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], ax
jmp 0x4456d6
sub eax, edx
lea ecx, [ebp - 0x68]
sar eax, 1
push eax
push edx
call fcn.0042d600
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x58]
mov byte [ebp - 4], 8
add edx, 8
mov dword [ebp - 0x70], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
cmp edx, ecx
jne 0x44570c
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
jmp 0x44571a
sub ecx, edx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.0042d600
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x44]
call fcn.0042e9e0
xor esi, esi
cmp dword [ebp - 0x70], esi
jbe 0x44575d
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
mov eax, esi
cmovae ecx, dword [ebp - 0x68]
xor edx, edx
div edi
cmp dword [ebp - 0x30], 8
lea eax, [ecx + edx*2]
movzx edx, word [eax]
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
xor word [ecx + esi*2], dx
inc esi
cmp esi, dword [ebp - 0x70]
jb 0x445731
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x445860
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp - 0x2c]
add eax, 0x10
mov dword [edi], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0042f250
test al, al
jne 0x4457bf
test esi, esi
jne 0x4457a2
xor ecx, ecx
jmp 0x4457b6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4457a7
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.0042f580
lea ecx, [ebp - 0x44]
call fcn.0042eb40
lea ecx, [ebp - 0x80]
call fcn.0042eb40
lea ecx, [ebp - 0x68]
call fcn.0042eb40
lea ecx, [ebp - 0x50]
call fcn.00445990
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x44580f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445805
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44586a
push ecx
push edx
call fcn.0054db34
add esp, 8
mov edx, dword [ebx + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44583c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.0042f560
call fcn.00552a0f
push 0x80004005
call fcn.0042f560
call fcn.00552a0f
int3