Function at 0x100b2d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [0x1022ccd0]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100b3245
mov eax, dword [0x1022ccd0]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100b3245
mov eax, dword [0x1022ee74]
mov ecx, dword [eax]
test ecx, ecx
je 0x100b3259
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100b3259
cmp dword [0x10456864], 0
je 0x100b3259
mov eax, dword [0x1022ccc4]
mov ecx, dword [eax + 0xd0]
mov ecx, dword [ecx]
call fcn.10092be0
cmp byte [eax], 0
je 0x100b2e32
mov eax, dword [0x1022ccc4]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1045683c], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a1d25
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1022ee74]
movss xmm0, dword [0x10456964]
mov eax, dword [edx]
movss xmm1, dword [eax + 0x103c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100b2e6f
movss dword [0x10456964], xmm1
mov dword [0x10456850], 0
mov dword [0x1045684c], 0
mov eax, dword [0x1022ccc8]
cmp byte [eax + 0x369c], 0
je case.0x100b2e8d.0
mov ecx, dword [eax + 0x36a0]
add eax, 0x36a0
cmp ecx, 3
ja case.0x100b2e8d.0
jmp dword [ecx*4 + 0x100b3278]
mov ecx, eax
call fcn.100cf760
mov edx, dword [0x1022ee74]
jmp 0x100b2ea6
mov al, byte [eax + 0x20]
test al, al
je case.0x100b2e8d.0
mov eax, dword [0x1022ccc4]
mov dword [0x1045686c], 0
mov dword [0x10456844], 0
mov dword [0x10456858], 0
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1045683c], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a1d25
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1022e69c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10521534]
cmp eax, dword [esi + 4]
jle 0x100b30e8
push 0x10521534
call fcn.101a22b8
add esp, 4
cmp dword [0x10521534], 0xffffffff
jne 0x100b30e8
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmm0, xmmword [str.KOeV_EKL2__47___:9__.__P]
mov edi, dword [eax + 8]
mov al, byte [0x101f24f4]
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x38], al
movq xmm0, qword [0x101f24ec]
movq qword [esp + 0x30], xmm0
jl 0x100b30a0
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x24]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x102017d0]
movaps xmm5, xmmword [0x10201480]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
nop dword [eax]
movd xmm0, ebx
lea eax, [ebx + 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x20], 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + ebx]
xorps xmm1, xmm0
movd dword [edx + ebx], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x100b2fa0
cmp ebx, 0x19
jge 0x100b30c8
nop word [eax + eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0x19
jl 0x100b30a0
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x10521534
mov dword [0x10521538], eax
call fcn.101a2267
add esp, 4
mov ecx, dword [0x10521538]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov eax, dword [0x10521540]
cmp eax, dword [esi + 4]
jle 0x100b3125
push 0x10521540
call fcn.101a22b8
add esp, 4
cmp dword [0x10521540], 0xffffffff
jne 0x100b3125
push 0x10521540
call fcn.101a2267
add esp, 4
mov eax, dword [0x1045696c]
cmp eax, dword [esi + 4]
jle 0x100b3170
push 0x1045696c
call fcn.101a22b8
add esp, 4
cmp dword [0x1045696c], 0xffffffff
jne 0x100b3170
mov edx, 0xc60bf9f2
mov ecx, 0x101f24bd
call fcn.1007ea30
mov ecx, eax
call fcn.100d5410
push 0x1045696c
mov dword [0x10456968], eax
call fcn.101a2267
add esp, 4
mov eax, dword [0x10456850]
cmp eax, dword [0x10456864]
jl 0x100b3194
call fcn.101960c0
sub eax, dword [0x10456864]
cmp dword [0x10456860], eax
jle 0x100b3263
mov eax, dword [0x1022ccc4]
mov eax, dword [eax + 0x10]
movss xmm1, dword [eax]
movaps xmm0, xmm1
subss xmm0, dword [0x1045683c]
comiss xmm0, dword [0x10200dc8]
jbe 0x100b3263
subss xmm1, dword [0x10456808]
comiss xmm1, dword [0x10200e78]
ja 0x100b31d6
cmp byte [0x1045685c], 0
jne 0x100b3263
call fcn.101960c0
mov ecx, dword [0x10456850]
lea edx, [ecx + 1]
mov dword [0x10456850], edx
cmp ecx, eax
jl 0x100b31f5
call fcn.101960c0
mov edx, eax
mov eax, dword [0x10456860]
mov dword [0x10456850], edx
test eax, eax
jle 0x100b3224
inc dword [0x1045684c]
dec eax
mov dword [0x10456860], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a1d25
mov esp, ebp
pop ebp
ret
inc dword [0x1045684c]
xor eax, eax
mov dword [0x10456860], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a1d25
mov esp, ebp
pop ebp
ret
mov dword [0x10456860], 0
mov dword [0x1045684c], 0
mov dword [0x10456850], 0
mov ecx, dword [esp + 0x3c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101a1d25
mov esp, ebp
pop ebp
ret