Function at 0x40bdb0
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 0x52b62e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x228
push esi
push edi
mov eax, ecx
mov byte [ebp - 0xf0], 0
push dword [ebp - 0xf0]
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x8c], edi
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x8c], eax
call fcn.00497c20
add esp, 4
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], edi
call fcn.004070d0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x11], al
mov dword [ebp - 4], 0xffffffff
call fcn.0048f0e0
cmp byte [ebp - 0x11], 0
je 0x40d7f3
lea ecx, [ebp - 0x100]
call fcn.0040afb0
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], eax
push eax
mov dword [ebp - 4], 1
push 2
mov dword [ebp - 0x238], 0x128
call dword [0x53806c]
mov esi, eax
lea eax, [ebp - 0x238]
push eax
push esi
call dword [0x5381f4]
cmp eax, 1
jne 0x40c267
mov edi, dword [0x5380b0]
lea eax, [ebp - 0x238]
push eax
push esi
call edi
cmp eax, 1
jne 0x40c264
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0xd7c9d581
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov word [ebp - 0x20], 0
mov byte [ebp - 0x1e], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 4
jb 0x40bee1
mov dword [0x5655d8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x74], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bf17
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00402c40
mov eax, dword [ebp - 0x18]
or eax, 0x8000
or eax, 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00506580
add esp, 8
test eax, eax
je 0x40c0f4
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0xc1d0c3c3
mov byte [ebp - 0x50], 0xc0
xor ecx, ecx
movups xmmword [ebp - 0x4f], xmm0
mov dword [ebp - 0x3f], 0
mov word [ebp - 0x3b], 0
mov byte [ebp - 0x39], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 5
jb 0x40bf96
mov dword [0x565544], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x4f], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x58], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bfd0
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402c40
mov eax, dword [ebp - 0x18]
or eax, 0x10000
or eax, 2
mov dword [ebp - 4], 3
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00506580
add esp, 8
test eax, eax
jne 0x40c0f4
xorps xmm0, xmm0
mov dword [ebp - 0xec], 0xdad2c6dc
mov word [ebp - 0xe8], 0xc7dc
xor ecx, ecx
mov byte [ebp - 0xe6], 0xc1
movups xmmword [ebp - 0xe5], xmm0
mov dword [ebp - 0xd5], eax
mov word [ebp - 0xd1], ax
mov byte [ebp - 0xcf], al
nop dword [eax]
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0xec], al
inc ecx
cmp ecx, 7
jb 0x40c060
mov dword [0x565560], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xec]
mov byte [ebp - 0xe5], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x98], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c0a5
sub ecx, edx
lea eax, [ebp - 0xec]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.00402c40
or dword [ebp - 0x18], 0x40004
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
cmovae eax, dword [ebp - 0xac]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00506580
add esp, 8
mov byte [ebp - 0x11], 1
test eax, eax
je 0x40c0f8
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x18]
test al, 4
je 0x40c15d
mov ecx, dword [ebp - 0x98]
and eax, 0xfffffffb
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x40c142
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c135
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov dword [ebp - 4], 2
test al, 2
je 0x40c1b7
mov ecx, dword [ebp - 0x58]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x40c1a5
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c198
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 4], 1
test al, 1
je 0x40c1ff
mov ecx, dword [ebp - 0x74]
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x40c1ff
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c1f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x40c245
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [ebp - 0xf0]
je 0x40c226
mov eax, dword [ebp - 0x230]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0xf8], ecx
jmp 0x40c245
lea eax, [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0xfc]
call fcn.004995e0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x238]
push eax
push esi
call edi
cmp eax, 1
je 0x40bec0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x8c], eax
mov edi, dword [ebp - 0x18]
push esi
call dword [0x5380b4]
mov esi, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb0], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c294
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xc4]
call fcn.00402c40
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov word [ebp - 0x36], 0xec95
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov byte [ebp - 0x1e], 0
nop
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x36], al
inc ecx
cmp ecx, 2
jb 0x40c2d0
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x36]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x74], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c306
sub ecx, edx
lea eax, [ebp - 0x36]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00402c40
or edi, 0x80000
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 5
lea edx, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x88]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x70], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c360
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00402c40
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0xc4]
mov ecx, esp
push eax
call fcn.0048ccc0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 5
call fcn.0040e4f0
add esp, 0x30
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x40c3d4
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c3ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0x108]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x40c420
lea eax, [esi + 0x18]
lea ecx, [ebp - 0xc4]
cmp ecx, eax
je 0x40c420
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40c410
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xc4]
call fcn.0048c8a0
nop dword [eax]
xorps xmm0, xmm0
mov byte [ebp - 0x6c], 0x80
movups xmmword [ebp - 0x6b], xmm0
mov dword [ebp - 0x5b], 0
xor ecx, ecx
mov word [ebp - 0x57], 0
mov byte [ebp - 0x55], 0
nop
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x6c], al
inc ecx
cmp ecx, 1
jb 0x40c440
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x6b], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c473
sub ecx, edx
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or dword [ebp - 0x18], 0x40
lea edi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov esi, dword [ebp - 0x38]
cmovae edi, esi
setae byte [ebp - 0x11]
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40c4a3
sub edx, ecx
cmp dword [ebp - 0xb0], 0x10
push edx
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0xc4]
cmovae ecx, dword [ebp - 0xc4]
push edi
push 0
call fcn.00492370
add esp, 0xc
mov edi, eax
cmp byte [ebp - 0x11], 0
je 0x40c506
mov ecx, dword [ebp - 0x24]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x40c4fc
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push esi
call fcn.00504f31
add esp, 8
cmp edi, 0xffffffff
je 0x40c8e2
xorps xmm0, xmm0
mov byte [ebp - 0xab], 0xf3
movups xmmword [ebp - 0xaa], xmm0
mov dword [ebp - 0x9a], 0
xor ecx, ecx
mov word [ebp - 0x96], 0
mov byte [ebp - 0x94], 0
nop dword [eax]
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0xab], al
inc ecx
cmp ecx, 1
jb 0x40c540
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xab]
mov byte [ebp - 0xaa], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c580
sub ecx, edx
lea eax, [ebp - 0xab]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
mov edi, dword [ebp - 0x18]
or edi, 0x400
mov byte [ebp - 4], 9
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x88], xmm0
cmovae edx, dword [ebp - 0x38]
mov ecx, edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c5d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00402c40
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
mov byte [ebp - 0xe6], 0x80
xor ecx, ecx
movups xmmword [ebp - 0xe5], xmm0
mov dword [ebp - 0xd5], 0
mov word [ebp - 0xd1], 0
mov byte [ebp - 0xcf], 0
nop word [eax + eax]
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0xe6], al
inc ecx
cmp ecx, 1
jb 0x40c620
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xe6]
mov byte [ebp - 0xe5], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c660
sub ecx, edx
lea eax, [ebp - 0xe6]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
or edi, 0x800
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c6b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00402c40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
lea edi, [ebp - 0xc4]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x5c]
cmovae ecx, edx
mov eax, dword [ebp - 0xb4]
setae byte [ebp - 0x11]
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x1c], edx
cmovae edi, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0x70], edi
cmp esi, eax
ja 0x40c7f8
sub eax, esi
test esi, esi
jne 0x40c716
xor edi, edi
jmp 0x40c7d3
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xcc], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.00508700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40c7f5
nop
mov edx, dword [ebp - 0xc8]
mov ecx, edi
sub esi, 4
jb 0x40c761
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40c766
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40c750
cmp esi, 0xfffffffc
je 0x40c79a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40c793
cmp esi, 0xfffffffd
je 0x40c79a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40c793
cmp esi, 0xfffffffe
je 0x40c79a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40c793
cmp esi, 0xffffffff
je 0x40c79a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40c79a
sbb eax, eax
or eax, 1
jmp 0x40c79c
xor eax, eax
test eax, eax
je 0x40c7c8
mov eax, dword [ebp - 0xcc]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x90]
push edi
call fcn.00508700
mov esi, dword [ebp - 0x5c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40c740
jmp 0x40c7f5
sub edi, dword [ebp - 0x70]
cmp edi, 0xffffffff
je 0x40c7f5
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0xc4]
push eax
push esi
push edi
call fcn.0048f3f0
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0xb
je 0x40c82e
mov ecx, dword [ebp - 0x58]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40c824
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x40c866
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c85c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x40c8a1
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c897
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x40c420
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c8d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
jmp 0x40c420
xorps xmm0, xmm0
mov word [ebp - 0x51], 0xecf3
movups xmmword [ebp - 0x4f], xmm0
mov dword [ebp - 0x3f], 0
xor ecx, ecx
mov word [ebp - 0x3b], 0
mov byte [ebp - 0x39], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x51], al
inc ecx
cmp ecx, 2
jb 0x40c902
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x51]
mov byte [ebp - 0x4f], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c935
sub ecx, edx
lea eax, [ebp - 0x51]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or dword [ebp - 0x18], 8
lea edi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov esi, dword [ebp - 0x38]
cmovae edi, esi
setae byte [ebp - 0x11]
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40c965
sub edx, ecx
cmp dword [ebp - 0xb0], 0x10
push edx
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0xc4]
cmovae ecx, dword [ebp - 0xc4]
push edi
push 0
call fcn.00492370
add esp, 0xc
mov edi, eax
cmp byte [ebp - 0x11], 0
je 0x40c9c8
mov ecx, dword [ebp - 0x24]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x40c9be
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push esi
call fcn.00504f31
add esp, 8
cmp edi, 0xffffffff
je 0x40cda0
xorps xmm0, xmm0
mov byte [ebp - 0x88], 0xf3
movups xmmword [ebp - 0x87], xmm0
mov dword [ebp - 0x77], 0
xor ecx, ecx
mov word [ebp - 0x73], 0
mov byte [ebp - 0x71], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 1
jb 0x40c9f5
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x87], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ca31
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
mov edi, dword [ebp - 0x18]
or edi, 0x2000
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0xe8], xmm0
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ca85
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.00402c40
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
mov word [ebp - 0xac], 0xecf3
xor ecx, ecx
movups xmmword [ebp - 0xaa], xmm0
mov dword [ebp - 0x9a], 0
mov word [ebp - 0x96], 0
mov byte [ebp - 0x94], 0
nop
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0xac], al
inc ecx
cmp ecx, 2
jb 0x40cad0
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xaa], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cb10
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or edi, 0x4000
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
cmovae edx, dword [ebp - 0x38]
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cb60
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00402c40
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
lea edi, [ebp - 0xc4]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x5c]
cmovae ecx, edx
mov eax, dword [ebp - 0xb4]
setae byte [ebp - 0x11]
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x1c], edx
cmovae edi, dword [ebp - 0xc4]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0xc8], edi
cmp esi, eax
ja 0x40ccb1
sub eax, esi
test esi, esi
jne 0x40cbc6
xor edi, edi
jmp 0x40cc86
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x90], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.00508700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40ccae
nop
mov edx, dword [ebp - 0x70]
mov ecx, edi
sub esi, 4
jb 0x40cc11
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40cc16
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40cc00
cmp esi, 0xfffffffc
je 0x40cc4a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40cc43
cmp esi, 0xfffffffd
je 0x40cc4a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40cc43
cmp esi, 0xfffffffe
je 0x40cc4a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40cc43
cmp esi, 0xffffffff
je 0x40cc4a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40cc4a
sbb eax, eax
or eax, 1
jmp 0x40cc4c
xor eax, eax
test eax, eax
je 0x40cc78
mov eax, dword [ebp - 0x90]
inc edi
sub eax, edi
push eax
push dword [ebp - 0xcc]
push edi
call fcn.00508700
mov esi, dword [ebp - 0x5c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40cbf0
jmp 0x40ccae
sub edi, dword [ebp - 0xc8]
cmp edi, 0xffffffff
je 0x40ccae
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
push dword [ebp - 0xd8]
cmovae eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xc4]
push eax
push esi
push edi
call fcn.0048f3f0
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0xf
je 0x40cce7
mov ecx, dword [ebp - 0x58]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40ccdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x40cd1f
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cd15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0x10
jb 0x40cd5d
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cd53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x40c8e2
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cd8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
jmp 0x40c8e2
xorps xmm0, xmm0
mov word [ebp - 0x51], 0x9ff3
movups xmmword [ebp - 0x4f], xmm0
mov dword [ebp - 0x3f], 0
xor ecx, ecx
mov word [ebp - 0x3b], 0
mov byte [ebp - 0x39], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x51], al
inc ecx
cmp ecx, 2
jb 0x40cdc0
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x51]
mov byte [ebp - 0x4f], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cdf3
sub ecx, edx
lea eax, [ebp - 0x51]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or dword [ebp - 0x18], 0x20
lea edi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov esi, dword [ebp - 0x38]
cmovae edi, esi
setae byte [ebp - 0x11]
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40ce23
sub edx, ecx
cmp dword [ebp - 0xb0], 0x10
push edx
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0xc4]
cmovae ecx, dword [ebp - 0xc4]
push edi
push 0
call fcn.00492370
add esp, 0xc
mov edi, eax
cmp byte [ebp - 0x11], 0
je 0x40ce86
mov ecx, dword [ebp - 0x24]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x40ce7c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push esi
call fcn.00504f31
add esp, 8
cmp edi, 0xffffffff
je 0x40d260
xorps xmm0, xmm0
mov byte [ebp - 0x88], 0xf3
movups xmmword [ebp - 0x87], xmm0
mov dword [ebp - 0x77], 0
xor ecx, ecx
mov word [ebp - 0x73], 0
mov byte [ebp - 0x71], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 1
jb 0x40ceb3
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x87], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cef0
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
mov edi, dword [ebp - 0x18]
or edi, 0x80
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0xe8], xmm0
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf44
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.00402c40
mov byte [ebp - 4], 0x12
xorps xmm0, xmm0
mov word [ebp - 0xac], 0x9ff3
xor ecx, ecx
movups xmmword [ebp - 0xaa], xmm0
mov dword [ebp - 0x9a], 0
mov word [ebp - 0x96], 0
mov byte [ebp - 0x94], 0
nop dword [eax]
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0xac], al
inc ecx
cmp ecx, 2
jb 0x40cf90
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xaa], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cfd0
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or edi, 0x100
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
cmovae edx, dword [ebp - 0x38]
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d020
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00402c40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
lea edi, [ebp - 0xc4]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x5c]
cmovae ecx, edx
mov eax, dword [ebp - 0xb4]
setae byte [ebp - 0x11]
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x1c], edx
cmovae edi, dword [ebp - 0xc4]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0xc8], edi
cmp esi, eax
ja 0x40d171
sub eax, esi
test esi, esi
jne 0x40d086
xor edi, edi
jmp 0x40d146
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x90], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.00508700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40d16e
nop
mov edx, dword [ebp - 0x70]
mov ecx, edi
sub esi, 4
jb 0x40d0d1
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40d0d6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40d0c0
cmp esi, 0xfffffffc
je 0x40d10a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40d103
cmp esi, 0xfffffffd
je 0x40d10a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40d103
cmp esi, 0xfffffffe
je 0x40d10a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40d103
cmp esi, 0xffffffff
je 0x40d10a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40d10a
sbb eax, eax
or eax, 1
jmp 0x40d10c
xor eax, eax
test eax, eax
je 0x40d138
mov eax, dword [ebp - 0x90]
inc edi
sub eax, edi
push eax
push dword [ebp - 0xcc]
push edi
call fcn.00508700
mov esi, dword [ebp - 0x5c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40d0b0
jmp 0x40d16e
sub edi, dword [ebp - 0xc8]
cmp edi, 0xffffffff
je 0x40d16e
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
push dword [ebp - 0xd8]
cmovae eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xc4]
push eax
push esi
push edi
call fcn.0048f3f0
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0x13
je 0x40d1a7
mov ecx, dword [ebp - 0x58]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40d19d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x40d1df
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d1d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0x10
jb 0x40d21d
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d213
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x40cda0
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d24f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
jmp 0x40cda0
xorps xmm0, xmm0
mov word [ebp - 0x51], 0xec80
movups xmmword [ebp - 0x4f], xmm0
mov dword [ebp - 0x3f], 0
xor ecx, ecx
mov word [ebp - 0x3b], 0
mov byte [ebp - 0x39], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x51], al
inc ecx
cmp ecx, 2
jb 0x40d280
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x51]
mov byte [ebp - 0x4f], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d2b3
sub ecx, edx
lea eax, [ebp - 0x51]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov esi, dword [ebp - 0x38]
cmovae edi, esi
setae byte [ebp - 0x11]
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40d2e3
sub edx, ecx
cmp dword [ebp - 0xb0], 0x10
push edx
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0xc4]
cmovae ecx, dword [ebp - 0xc4]
push edi
push 0
call fcn.00492370
add esp, 0xc
mov edi, eax
cmp byte [ebp - 0x11], 0
je 0x40d346
mov ecx, dword [ebp - 0x24]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x40d33c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push esi
call fcn.00504f31
add esp, 8
cmp edi, 0xffffffff
je 0x40d71e
xorps xmm0, xmm0
mov byte [ebp - 0x88], 0xf3
movups xmmword [ebp - 0x87], xmm0
mov dword [ebp - 0x77], 0
xor ecx, ecx
mov word [ebp - 0x73], 0
mov byte [ebp - 0x71], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 1
jb 0x40d373
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x87], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d3b0
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
mov edi, dword [ebp - 0x18]
or edi, 0x200
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0xe8], xmm0
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d404
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.00402c40
mov byte [ebp - 4], 0x16
xorps xmm0, xmm0
mov word [ebp - 0xac], 0xec80
xor ecx, ecx
movups xmmword [ebp - 0xaa], xmm0
mov dword [ebp - 0x9a], 0
mov word [ebp - 0x96], 0
mov byte [ebp - 0x94], 0
nop dword [eax]
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0xac], al
inc ecx
cmp ecx, 2
jb 0x40d450
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xaa], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d490
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or edi, 0x1000
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
cmovae edx, dword [ebp - 0x38]
mov ecx, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d4e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00402c40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
lea edi, [ebp - 0xc4]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x5c]
cmovae ecx, edx
mov eax, dword [ebp - 0xb4]
setae byte [ebp - 0x11]
cmp dword [ebp - 0xb0], 0x10
mov dword [ebp - 0x1c], edx
cmovae edi, dword [ebp - 0xc4]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0xc8], edi
cmp esi, eax
ja 0x40d631
sub eax, esi
test esi, esi
jne 0x40d546
xor edi, edi
jmp 0x40d606
movsx ecx, byte [ecx]
inc eax
add eax, edi
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x90], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.00508700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40d62e
nop
mov edx, dword [ebp - 0x70]
mov ecx, edi
sub esi, 4
jb 0x40d591
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40d596
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40d580
cmp esi, 0xfffffffc
je 0x40d5ca
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40d5c3
cmp esi, 0xfffffffd
je 0x40d5ca
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40d5c3
cmp esi, 0xfffffffe
je 0x40d5ca
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40d5c3
cmp esi, 0xffffffff
je 0x40d5ca
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40d5ca
sbb eax, eax
or eax, 1
jmp 0x40d5cc
xor eax, eax
test eax, eax
je 0x40d5f8
mov eax, dword [ebp - 0x90]
inc edi
sub eax, edi
push eax
push dword [ebp - 0xcc]
push edi
call fcn.00508700
mov esi, dword [ebp - 0x5c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40d570
jmp 0x40d62e
sub edi, dword [ebp - 0xc8]
cmp edi, 0xffffffff
je 0x40d62e
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
push dword [ebp - 0xd8]
cmovae eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xc4]
push eax
push esi
push edi
call fcn.0048f3f0
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 0x17
je 0x40d667
mov ecx, dword [ebp - 0x58]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x40d65d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x40d69f
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d695
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0x10
jb 0x40d6dd
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d6d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x40d260
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d70f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
jmp 0x40d260
mov esi, dword [ebp - 0x8c]
mov edi, esi
cmp edi, dword [ebp - 0xf8]
je 0x40d764
nop
mov esi, dword [edi]
lea eax, [ebp - 0xc4]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0048ccc0
mov edx, dword [ebp - 0x100]
mov ecx, esi
call fcn.0040b5e0
add edi, 4
add esp, 0x18
cmp edi, dword [ebp - 0xf8]
jne 0x40d730
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x10c]
call fcn.0048eeb0
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0x10
jb 0x40d7a5
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d79b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push edx
call fcn.00504f31
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
test esi, esi
je 0x40d7f3
mov ecx, dword [ebp - 0xf0]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40d7e9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d806
push ecx
push esi
call fcn.00504f31
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.0050a1d0
int3