Function at 0x445650
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 0x578693
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc8
push esi
push edi
mov dword [ebp - 0x14], ecx
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.0042ef00
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.00434900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x40]
cmovae ecx, dword [ebp - 0x50]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00435d70
lea ecx, [ebp - 0xd8]
call fcn.00434880
lea ecx, [ebp - 0x50]
call fcn.0042f050
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x28]
cmovae eax, esi
cmp ecx, 0x10
lea edx, [ebp - 0x38]
mov ecx, edi
cmovae edx, esi
sub ecx, eax
add ecx, edx
cmp ecx, 4
jle 0x445763
cmp dword [ebp - 0x24], 0x10
lea esi, [eax + 4]
lea eax, [ebp - 0x38]
mov edx, 1
cmovae eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x24], 0x10
cmovae ecx, dword [ebp - 0x38]
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.0054b300
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x28], edi
cmp ecx, 0x10
cmovae eax, dword [ebp - 0x38]
add eax, esi
mov esi, dword [ebp - 0x38]
jmp 0x4456f8
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x20]
call fcn.00444d70
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
mov edx, dword [ebp - 0x20]
sub eax, edx
sar eax, 1
cmp eax, 4
ja 0x44582c
mov byte [ebp - 4], 5
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x445a58
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, dword [ebp - 0x14]
add eax, 0x10
mov edx, dword [ebp - 0x20]
mov dword [esi], eax
test edx, edx
je 0x4457f5
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4457d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a62
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x445a29
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445a1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a62
jmp 0x445a1f
lea eax, [edx + 8]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
cmp edx, eax
jne 0x44585e
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
jmp 0x445872
sub eax, edx
lea ecx, [ebp - 0x80]
sar eax, 1
push eax
push edx
call fcn.0042db40
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
add edx, 8
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
cmp edx, ecx
jne 0x4458a8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x4458b6
sub ecx, edx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.0042db40
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x50]
call fcn.0042ef00
mov edi, dword [ebp - 0x80]
xor esi, esi
cmp dword [ebp - 0x58], esi
jbe 0x4458fc
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
mov eax, esi
cmovae ecx, edi
xor edx, edx
div dword [ebp - 0x70]
cmp dword [ebp - 0x3c], 8
lea eax, [ecx + edx*2]
movzx edx, word [eax]
lea ecx, [ebp - 0x50]
cmovae ecx, dword [ebp - 0x50]
xor word [ecx + esi*2], dx
inc esi
cmp esi, dword [ebp - 0x58]
jb 0x4458d0
mov byte [ebp - 4], 8
lea esi, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae esi, dword [ebp - 0x50]
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x445a67
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
push esi
mov byte [ebp - 4], 9
call fcn.0042f750
test al, al
jne 0x44596d
test esi, esi
jne 0x44594b
xor ecx, ecx
push ecx
push esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0042fa90
jmp 0x445970
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445950
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0042fa90
jmp 0x445970
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.0042f050
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x4459b2
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4459a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a62
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x4459e9
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4459df
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a62
push ecx
push edi
call fcn.00549ad4
add esp, 8
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4457f5
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4457d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a62
jmp 0x4457d6
push ecx
push edx
call fcn.00549ad4
add esp, 8
lea ecx, [ebx + 8]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.0042f050
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.0042fa70
call fcn.0054e9bf
push 0x80004005
call fcn.0042fa70
int3