Function at 0x44102f
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 0x44601b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4570cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0xc], 2
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
setne dh
cmp dword [ebx + 0xc], 1
sete dl
add eax, 8
mov dword [ebp - 0x20], eax
nop dword [eax]
mov eax, ecx
mov dword [ebp - 0x28], ecx
shr eax, 0xc
mov edi, esi
dec eax
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, ecx
shr eax, 0x1e
and al, 1
or dl, al
or dh, al
mov byte [ebp - 0x13], dl
mov byte [ebp - 0x14], dh
jne 0x441127
test esi, esi
je 0x441127
lea eax, [ecx - 1]
mov byte [ebp - 0x15], 0
xor eax, ecx
and eax, 0xfff
xor ecx, eax
mov eax, ecx
shr eax, 0x13
dec eax
shl eax, 0x13
xor eax, ecx
and eax, 0x3ff80000
xor ecx, eax
sub esi, 1
je 0x4410ed
test ecx, 0x7f000
jne 0x4410ed
mov dl, 1
jmp 0x4410ef
xor dl, dl
mov byte [ebp - 0x11], dl
test ecx, 0x3ff80000
jne 0x441121
test ecx, ecx
js 0x441106
test ecx, 0x7f000
jbe 0x441121
mov eax, ecx
mov byte [ebp - 0x12], 1
and eax, 0xfff80000
add eax, 0x80000
xor eax, ecx
and eax, 0x3ff80000
xor ecx, eax
jmp 0x441175
mov byte [ebp - 0x12], 0
jmp 0x441175
mov byte [ebp - 0x15], 1
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x12], 0
test dh, dh
je 0x44119e
mov eax, ecx
shr eax, 0x13
dec eax
shl eax, 0x13
xor eax, ecx
and eax, 0x3ff80000
xor ecx, eax
test ecx, 0x7f000
jne 0x44119e
test dl, dl
je 0x44117b
mov edx, ecx
mov eax, ecx
shl edx, 0x14
shr eax, 0x13
sar edx, 0x14
and eax, 0x7ff
sub eax, edx
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x54]
setne dl
mov byte [ebp - 0x11], dl
test dl, dl
je 0x44119e
jmp 0x441183
test esi, esi
je 0x44119a
mov byte [ebp - 0x11], 1
mov eax, ecx
and eax, 0xfffff000
add eax, 0x1000
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
jmp 0x44119e
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x28]
mov edx, edi
push ebx
mov ebx, ecx
mov ecx, esi
mov esi, dword [ebp - 0x20]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, eax
mov esi, edx
cmp ecx, dword [ebp - 0x28]
jne 0x4411bd
cmp esi, edi
je 0x4411c8
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
jmp 0x44108c
cmp byte [ebp - 0x12], 0
je 0x4411db
mov ecx, dword [ebp - 0x1c]
push dword [ebx + 0x10]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [ebp - 0x11], 0
je 0x4412cc
xor eax, eax
cmp byte [ebp - 0x13], al
sete al
inc eax
mov dword [ebp - 0x28], eax
call dword [fcn.00448158]
test byte [0x469540], 0x10
mov edi, eax
mov esi, dword [ebp - 0x28]
je 0x441211
push edi
push esi
mov edx, 0x44b8a0
call fcn.0043f641
mov eax, dword [ebp - 0x1c]
push 0
push esi
push edi
push dword [eax + 0x50]
call dword [0x4480cc]
test eax, eax
je 0x441238
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebx + 0x10]
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4412cf
test byte [0x469540], 0x20
je 0x44124d
push edi
push esi
mov edx, 0x44b870
call fcn.0043f641
mov eax, dword [0x4575f4]
mov ecx, 0x4575f4
push 0x1c135e
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
mov eax, ecx
shr eax, 0xc
mov edx, edi
dec eax
mov dword [ebp - 0x28], esi
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, esi
mov esi, dword [ebp - 0x20]
push ebx
mov ebx, ecx
mov ecx, edi
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x28]
jne 0x44129c
cmp ecx, edi
je 0x4412cc
nop
mov esi, eax
mov dword [ebp - 0x28], ecx
shr esi, 0xc
mov edi, eax
dec esi
mov edx, ecx
shl esi, 0xc
xor esi, eax
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
mov esi, dword [ebp - 0x20]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, edi
jne 0x44129c
cmp ecx, dword [ebp - 0x28]
jne 0x44129c
mov esi, dword [ebx + 0x10]
cmp byte [ebp - 0x14], 0
je 0x441303
cmp dword [ebx + 0xc], 3
jne 0x4412e7
mov eax, dword [ebx + 8]
mov dword [esi], eax
mov eax, 3
jmp 0x44130c
cmp byte [ebp - 0x13], 0
jne 0x4412ff
mov eax, dword [0x4575f4]
mov ecx, 0x4575f4
push 0x1c1394
call dword [eax + 4]
xor eax, eax
jmp 0x44130c
xor eax, eax
cmp byte [ebp - 0x15], al
sete al
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc