Function at 0x4154c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b3a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x70
mov eax, dword [0x450008]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push eax
call fcn.00404bb0
lea ecx, [ebp - 0x58]
call fcn.00411400
add esp, 0x18
test eax, eax
je 0x415895
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00404bb0
lea ecx, [ebp - 0x40]
call fcn.004146d0
add esp, 0x18
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
sub esp, 0x18
push dword [ebp - 0x30]
push eax
call fcn.00405e50
test eax, eax
je 0x415823
cmp byte [0x44cc13], 0
movups xmm0, xmmword [0x44cc00]
mov eax, dword [0x44cc10]
mov dword [ebp - 0x60], eax
movups xmmword [ebp - 0x70], xmm0
je 0x41572f
xor edx, edx
cmp dword [0x4512f8], 2
mov dword [ebp - 0x5c], edx
jl 0x415701
movaps xmm0, xmmword [str.0000000000000000O]
mov eax, 4
movaps xmm4, xmmword [0x44cca0]
movaps xmm3, xmmword [0x44cce0]
movaps xmm6, xmmword [str.4444]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x80]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x44ccc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x70]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x70], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x44ccc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x6c]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x6c], xmm1
add edx, 8
mov dword [ebp - 0x5c], edx
cmp edx, 0x10
jl 0x415602
cmp edx, 0x14
jge 0x41572f
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x5c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x70], cl
inc edx
mov dword [ebp - 0x5c], edx
cmp edx, 0x14
jl 0x415701
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004062e0
test eax, eax
je 0x41581b
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
push dword [ebx + 0x18]
cmovae ecx, dword [ebx + 8]
push ecx
call eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x28], 0
je 0x415766
lea ecx, [ebp - 0x28]
call fcn.00406450
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41579a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415790
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41592e
push edx
push ecx
call fcn.004162d7
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4157ce
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4157c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415933
push edx
push ecx
call fcn.004162d7
add esp, 8
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x415814
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41580a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415938
push edx
push ecx
call fcn.004162d7
add esp, 8
mov al, 1
jmp 0x415910
lea ecx, [ebp - 0x28]
call fcn.00406450
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x40]
mov byte [eax], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x58]
mov byte [eax], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x28], 0
je 0x41585f
lea ecx, [ebp - 0x28]
call fcn.00406450
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41589a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415889
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41593d
push edx
push ecx
call fcn.004162d7
add esp, 8
jmp 0x41589a
call fcn.00415950
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4158ce
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4158c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415942
push edx
push ecx
call fcn.004162d7
add esp, 8
mov edx, dword [ebx + 0x1c]
cmp edx, 0x10
jb 0x41590e
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415904
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415947
jmp 0x415904
push edx
push ecx
call fcn.004162d7
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00416291
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041ca55
call fcn.0041ca55
call fcn.0041ca55
call fcn.0041ca55
call fcn.0041ca55
call fcn.0041ca55
int3