Function at 0x447160
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 0x57ef8e
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 0x4471c0
sub edx, esi
lea ecx, [ebp - 0x44]
sar edx, 1
push edx
push eax
call fcn.0042cb00
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x9c]
call fcn.004306a0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.004360d0
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.004375c0
lea ecx, [ebp - 0xf0]
call fcn.00436050
lea ecx, [ebp - 0x9c]
call fcn.00430800
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x447281
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x447277
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44754b
push ecx
push edx
call fcn.00550d24
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 0x4472fe
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.00552550
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 0x447293
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x50]
call fcn.004464e0
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 0x44737f
mov byte [ebp - 4], 7
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x447541
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.00447680
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4474ff
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4474f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44754b
jmp 0x4474f5
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 0x4473af
xor edi, edi
mov dword [ebp - 0x54], 7
xor eax, eax
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], ax
jmp 0x4473c6
sub eax, edx
lea ecx, [ebp - 0x68]
sar eax, 1
push eax
push edx
call fcn.0042cb00
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 0x4473fc
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
jmp 0x44740a
sub ecx, edx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.0042cb00
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x44]
call fcn.004306a0
xor esi, esi
cmp dword [ebp - 0x70], esi
jbe 0x44744d
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 0x447421
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x447550
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.00430f00
test al, al
jne 0x4474af
test esi, esi
jne 0x447492
xor ecx, ecx
jmp 0x4474a6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447497
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00431230
lea ecx, [ebp - 0x44]
call fcn.00430800
lea ecx, [ebp - 0x80]
call fcn.00430800
lea ecx, [ebp - 0x68]
call fcn.00430800
lea ecx, [ebp - 0x50]
call fcn.00447680
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4474ff
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4474f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44755a
push ecx
push edx
call fcn.00550d24
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 0x44752c
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.00431210
call fcn.00555bff
push 0x80004005
call fcn.00431210
call fcn.00555bff
int3