Function at 0x40a170
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 0x503046
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x50
push esi
push edi
push 0
push 0x5204b8
mov ecx, 0x533bbc
mov dword [ebp - 4], 2
call fcn.00466240
xor esi, esi
nop dword [eax + eax]
push 0
push 0xce406
call fcn.00408920
mov cl, byte [esi + 0x5183c0]
add esp, 8
mov edx, dword [0x533bcc]
xor cl, al
mov edi, dword [0x533bd0]
mov byte [ebp - 0x2c], cl
cmp edx, edi
jae 0x40a1bb
lea eax, [edx + 1]
cmp edi, 0x10
mov dword [0x533bcc], eax
mov eax, 0x533bbc
cmovae eax, dword [0x533bbc]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x40a1d1
push dword [ebp - 0x2c]
mov byte [ebp - 0x24], 0
mov ecx, 0x533bbc
push dword [ebp - 0x24]
push 1
call fcn.004034f0
inc esi
cmp esi, 0x10ce
jb 0x40a170
mov edi, dword [0x533ab4]
mov esi, dword [0x533ab0]
push 0
push 2
push edi
push esi
call fcn.00502cd0
mov ecx, dword [0x533ab8]
sub ecx, eax
mov eax, dword [0x533abc]
mov dword [ebp - 0x2c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x24], eax
xor ecx, esi
mov dword [0x533abc], eax
xor eax, edi
or ecx, eax
je 0x40a22b
add esi, dword [ebp - 0x2c]
mov dword [0x533ab0], esi
adc edi, dword [ebp - 0x24]
mov dword [0x533ab4], edi
test edi, edi
jl 0x40a244
jg 0x40a239
cmp esi, 0x8d8a
jbe 0x40a244
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
mov dword [ebp - 0x1b], 0x100e0e4
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40a250
xorps xmm0, xmm0
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a280
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403410
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13]
xorps xmm0, xmm0
mov word [ebp - 0x13], 0xa
mov byte [ebp - 0x11], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a2c0
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00403410
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov edi, 0x533bbc
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x34]
cmovae ecx, edx
cmp dword [0x533bd0], 0x10
mov eax, dword [0x533bcc]
cmovae edi, dword [0x533bbc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], edi
cmp esi, eax
ja 0x40a3e7
sub eax, esi
test esi, esi
jne 0x40a31d
xor edi, edi
jmp 0x40a3c9
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.004e0fa0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40a3e4
mov edx, dword [ebp - 0x2c]
mov ecx, edi
sub esi, 4
jb 0x40a361
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40a366
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40a350
cmp esi, 0xfffffffc
je 0x40a39a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40a393
cmp esi, 0xfffffffd
je 0x40a39a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40a393
cmp esi, 0xfffffffe
je 0x40a39a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40a393
cmp esi, 0xffffffff
je 0x40a39a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40a39a
sbb eax, eax
or eax, 1
jmp 0x40a39c
xor eax, eax
test eax, eax
je 0x40a3be
mov eax, dword [ebp - 0x24]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x20]
push edi
call fcn.004e0fa0
mov esi, dword [ebp - 0x34]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40a340
jmp 0x40a3e4
sub edi, dword [ebp - 0x1c]
cmp edi, 0xffffffff
je 0x40a3e4
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
mov ecx, 0x533bbc
push eax
push esi
push edi
call fcn.00468dd0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40a41e
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a414
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afb8
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40a456
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a44c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afb8
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov edi, dword [0x533ab4]
mov esi, dword [0x533ab0]
push 0
push 2
push edi
push esi
call fcn.00502cd0
mov ecx, dword [0x533ab8]
sub ecx, eax
mov eax, dword [0x533abc]
mov dword [ebp - 0x2c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x24], eax
xor ecx, esi
mov dword [0x533abc], eax
xor eax, edi
or ecx, eax
je 0x40a4a7
add esi, dword [ebp - 0x2c]
mov dword [0x533ab0], esi
adc edi, dword [ebp - 0x24]
mov dword [0x533ab4], edi
test edi, edi
jl 0x40a4c0
jg 0x40a4b5
cmp esi, 0x8d8a
jbe 0x40a4c0
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
mov dword [ebp - 0x1b], 0x100e0e4
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40a4d0
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x18], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov edi, dword [0x533ab4]
mov esi, dword [0x533ab0]
push 0
push 2
push edi
push esi
call fcn.00502cd0
mov ecx, dword [0x533ab8]
sub ecx, eax
mov eax, dword [0x533abc]
mov dword [ebp - 0x2c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x24], eax
xor ecx, esi
mov dword [0x533abc], eax
xor eax, edi
or ecx, eax
je 0x40a540
add esi, dword [ebp - 0x2c]
mov dword [0x533ab0], esi
adc edi, dword [ebp - 0x24]
mov dword [0x533ab4], edi
test edi, edi
jl 0x40a559
jg 0x40a54e
cmp esi, 0x8d8a
jbe 0x40a559
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
push 0
push 0xce45b
call fcn.00408920
mov esi, eax
push 0
push 0xce447
mov dword [ebp - 0x20], esi
call fcn.00408920
xor ecx, ecx
add esp, 0x10
cmp ecx, edx
jb 0x40a82f
mov ecx, dword [ebx + 0x18]
ja 0x40a590
cmp ecx, eax
jbe 0x40a82f
mov eax, esi
xor edi, edi
sub eax, ecx
mov esi, eax
and eax, 1
shr esi, 1
add eax, esi
je 0x40a5df
mov dword [ebp - 0x2c], 0x6b7e0b
xor ecx, ecx
mov byte [ebp - 0x28], 1
nop
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 3
jb 0x40a5b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov eax, dword [ebp - 0x20]
inc edi
sub eax, dword [ebx + 0x18]
and eax, 1
add eax, esi
cmp edi, eax
jb 0x40a5a1
mov edi, dword [0x533ab4]
push 0
push 2
push edi
push dword [0x533ab0]
call fcn.00502cd0
mov ecx, dword [0x533ab8]
sub ecx, eax
mov eax, dword [0x533abc]
mov dword [ebp - 0x2c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov edx, dword [0x533ab0]
xor ecx, edx
mov dword [ebp - 0x24], eax
mov dword [0x533abc], eax
xor eax, edi
or ecx, eax
je 0x40a635
add edx, dword [ebp - 0x2c]
mov dword [0x533ab0], edx
adc edi, dword [ebp - 0x24]
mov dword [0x533ab4], edi
test edi, edi
jl 0x40a64e
jg 0x40a643
cmp edx, 0x8d8a
jbe 0x40a64e
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
lea ecx, [ebp - 0x13]
mov word [ebp - 0x1a], 0x20
mov byte [ebp - 0x18], 0
lea edx, [ecx + 1]
mov word [ebp - 0x13], 0x20
mov byte [ebp - 0x11], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a668
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x40af9a
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
push eax
push ecx
lea eax, [ebp - 0x13]
push eax
push ecx
push dword [ebp - 0x2b]
lea ecx, [ebp - 0x44]
call fcn.0046e020
lea eax, [ebp - 0x1a]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x44]
call fcn.00466370
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x533bbc
call fcn.004663e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40a71d
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a713
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af9f
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40a755
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a74b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af9f
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov edi, dword [0x533ab4]
push 0
push 2
push edi
push dword [0x533ab0]
call fcn.00502cd0
mov ecx, dword [0x533ab8]
sub ecx, eax
mov eax, dword [0x533abc]
mov dword [ebp - 0x2c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov edx, dword [0x533ab0]
xor ecx, edx
mov dword [ebp - 0x24], eax
mov dword [0x533abc], eax
xor eax, edi
or ecx, eax
je 0x40a7ab
add edx, dword [ebp - 0x2c]
mov dword [0x533ab0], edx
adc edi, dword [ebp - 0x24]
mov dword [0x533ab4], edi
test edi, edi
jl 0x40a7c4
jg 0x40a7b9
cmp edx, 0x8d8a
jbe 0x40a7c4
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
test esi, esi
je 0x40a804
nop dword [eax + eax]
mov dword [ebp - 0x2c], 0x6b7e0b
xor ecx, ecx
mov byte [ebp - 0x28], 1
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 3
jb 0x40a7e0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
sub esi, 1
jne 0x40a7d0
mov dword [ebp - 0x1b], 0x100e0e4
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40a810
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x18], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov esi, dword [0x533ab4]
mov edi, dword [0x533ab0]
push 0
push 2
push esi
push edi
call fcn.00502cd0
mov ecx, dword [0x533ab8]
sub ecx, eax
mov eax, dword [0x533abc]
mov dword [ebp - 0x1c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x14], eax
xor ecx, edi
mov dword [0x533abc], eax
xor eax, esi
or ecx, eax
je 0x40a880
add edi, dword [ebp - 0x1c]
mov dword [0x533ab0], edi
adc esi, dword [ebp - 0x14]
mov dword [0x533ab4], esi
test esi, esi
jl 0x40a8a5
jg 0x40a88e
cmp edi, 0x8d8a
jbe 0x40a8a5
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
mov esi, dword [0x533ab4]
mov edi, dword [0x533ab0]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x40aa8b
mov eax, dword [ebp - 0x20]
xor edi, edi
sub eax, edx
mov esi, eax
and eax, 1
shr esi, 1
add eax, esi
je 0x40a901
mov dword [ebp - 0x2c], 0x6b7e0b
xor ecx, ecx
mov byte [ebp - 0x28], 1
nop
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 3
jb 0x40a8d0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov eax, dword [ebp - 0x20]
inc edi
mov edx, dword [ebx + 0x30]
sub eax, edx
and eax, 1
add eax, esi
cmp edi, eax
jb 0x40a8c2
lea ecx, [ebp - 0x13]
mov word [ebp - 0x1a], 0x20
mov byte [ebp - 0x18], 0
lea edi, [ecx + 1]
mov word [ebp - 0x13], 0x20
mov byte [ebp - 0x11], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a920
mov eax, 0x7fffffff
sub ecx, edi
sub eax, edx
cmp eax, ecx
jb 0x40afa4
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push edx
cmovae eax, dword [ebx + 0x20]
push eax
push ecx
lea eax, [ebp - 0x13]
push eax
push ecx
push dword [ebp - 0x2b]
lea ecx, [ebp - 0x44]
call fcn.0046e020
lea eax, [ebp - 0x1a]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x44]
call fcn.00466370
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x533bbc
call fcn.004663e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40a9d2
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a9c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afa9
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40aa0a
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aa00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afa9
push ecx
push edx
call fcn.004dd7d1
add esp, 8
test esi, esi
je 0x40aa44
nop
mov dword [ebp - 0x2c], 0x6b7e0b
xor ecx, ecx
mov byte [ebp - 0x28], 1
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 3
jb 0x40aa20
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
sub esi, 1
jne 0x40aa10
mov dword [ebp - 0x1b], 0x100e0e4
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40aa50
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x18], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov eax, dword [0x533abc]
mov esi, dword [0x533ab4]
mov edi, dword [0x533ab0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x533ab8]
mov dword [ebp - 0x1c], eax
push 0
push 2
push esi
push edi
call fcn.00502cd0
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x14], eax
xor ecx, edi
mov dword [0x533abc], eax
xor eax, esi
or ecx, eax
je 0x40aacb
add edi, dword [ebp - 0x1c]
mov dword [0x533ab0], edi
adc esi, dword [ebp - 0x14]
mov dword [0x533ab4], esi
test esi, esi
jl 0x40aaf0
jg 0x40aad9
cmp edi, 0x8d8a
jbe 0x40aaf0
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
mov esi, dword [0x533ab4]
mov edi, dword [0x533ab0]
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x40ad6b
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x24], 0
mov ecx, eax
and eax, 1
shr ecx, 1
mov dword [ebp - 0x2c], ecx
add eax, ecx
je 0x40ab81
mov esi, ecx
nop word [eax + eax]
mov dword [ebp - 0x1c], 0x6b7e0b
xor ecx, ecx
mov byte [ebp - 0x18], 1
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 3
jb 0x40ab30
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x18], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov eax, dword [ebp - 0x20]
sub eax, dword [ebx + 0x48]
mov edx, dword [ebp - 0x24]
and eax, 1
inc edx
add eax, esi
mov dword [ebp - 0x24], edx
cmp edx, eax
jb 0x40ab20
mov eax, dword [0x533abc]
mov esi, dword [0x533ab4]
mov edi, dword [0x533ab0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x533ab8]
mov dword [ebp - 0x1c], eax
push 0
push 2
push esi
push edi
call fcn.00502cd0
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x14], eax
xor ecx, edi
mov dword [0x533abc], eax
xor eax, esi
or ecx, eax
je 0x40abc1
add edi, dword [ebp - 0x1c]
mov dword [0x533ab0], edi
adc esi, dword [ebp - 0x14]
mov dword [0x533ab4], esi
test esi, esi
jl 0x40abda
jg 0x40abcf
cmp edi, 0x8d8a
jbe 0x40abda
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
lea ecx, [ebp - 0x13]
mov word [ebp - 0x1a], 0x20
mov byte [ebp - 0x18], 0
lea edx, [ecx + 1]
mov word [ebp - 0x13], 0x20
mov byte [ebp - 0x11], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40abf4
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x48]
sub eax, edx
cmp eax, ecx
jb 0x40afae
cmp dword [ebx + 0x4c], 0x10
lea eax, [ebx + 0x38]
push edx
cmovae eax, dword [ebx + 0x38]
push eax
push ecx
lea eax, [ebp - 0x13]
push eax
push ecx
push dword [ebp - 0x2b]
lea ecx, [ebp - 0x44]
call fcn.0046e020
lea eax, [ebp - 0x1a]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x44]
call fcn.00466370
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
push eax
mov ecx, 0x533bbc
call fcn.004663e0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40aca9
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ac9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afb3
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40ace1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40acd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afb3
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x40ad24
nop dword [eax + eax]
mov dword [ebp - 0x2c], 0x6b7e0b
xor ecx, ecx
mov byte [ebp - 0x28], 1
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 3
jb 0x40ad00
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
sub esi, 1
jne 0x40acf0
mov dword [ebp - 0x1b], 0x100e0e4
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40ad30
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x18], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov eax, dword [0x533abc]
mov esi, dword [0x533ab4]
mov edi, dword [0x533ab0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x533ab8]
mov dword [ebp - 0x1c], eax
push 0
push 2
push esi
push edi
call fcn.00502cd0
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x14], eax
xor ecx, edi
mov dword [0x533abc], eax
xor eax, esi
or ecx, eax
je 0x40adab
add edi, dword [ebp - 0x1c]
mov dword [0x533ab0], edi
adc esi, dword [ebp - 0x14]
mov dword [0x533ab4], esi
test esi, esi
jl 0x40adc4
jg 0x40adb9
cmp edi, 0x8d8a
jbe 0x40adc4
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
xor esi, esi
nop word [eax + eax]
push 0
push 0xce406
call fcn.00408920
mov cl, byte [esi + 0x519490]
add esp, 8
mov edx, dword [0x533bcc]
xor cl, al
mov edi, dword [0x533bd0]
mov byte [ebp - 0x2c], cl
cmp edx, edi
jae 0x40ae1b
lea eax, [edx + 1]
cmp edi, 0x10
mov dword [0x533bcc], eax
mov eax, 0x533bbc
cmovae eax, dword [0x533bbc]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x40ae31
push dword [ebp - 0x2c]
mov byte [ebp - 0x24], 0
mov ecx, 0x533bbc
push dword [ebp - 0x24]
push 1
call fcn.004034f0
inc esi
cmp esi, 0x14a
jb 0x40add0
mov edi, dword [0x533ab4]
mov esi, dword [0x533ab0]
push 0
push 2
push edi
push esi
call fcn.00502cd0
mov ecx, dword [0x533ab8]
sub ecx, eax
mov eax, dword [0x533abc]
mov dword [ebp - 0x2c], ecx
sbb eax, edx
mov dword [0x533ab8], ecx
mov dword [ebp - 0x24], eax
xor ecx, esi
mov dword [0x533abc], eax
xor eax, edi
or ecx, eax
je 0x40ae8b
add esi, dword [ebp - 0x2c]
mov dword [0x533ab0], esi
adc edi, dword [ebp - 0x24]
mov dword [0x533ab4], edi
test edi, edi
jl 0x40aea4
jg 0x40ae99
cmp esi, 0x8d8a
jbe 0x40aea4
xorps xmm0, xmm0
movlpd qword [0x533ab0], xmm0
mov dword [ebp - 0x1b], 0x100e0e4
xor edx, edx
nop dword [eax]
lea eax, [edx - 0x17]
xor byte [ebp + edx - 0x1b], al
inc edx
cmp edx, 2
jb 0x40aeb0
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x18], 0
push eax
mov ecx, 0x533bbc
call fcn.00466370
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x40af03
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aef9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afb8
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x40af45
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afb8
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
cmp ecx, 0x10
jb 0x40af87
mov edx, dword [ebx + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40afb8
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402c40
call fcn.004e2a70
call fcn.00402c40
call fcn.004e2a70
call fcn.00402c40
call fcn.004e2a70
call fcn.004e2a70
int3