Function at 0x1002b3a0
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 0x100535f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x10068040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
movzx esi, word [ebx + 8]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x10068b14
mov dword [ebp - 0x54], esi
call fcn.10007820
mov eax, dword [ebp - 0x44]
mov ecx, dword [0x10068b14]
cmp byte [eax + 0xd], 0
jne 0x1002b417
cmp esi, dword [eax + 0x10]
jae 0x1002b419
mov eax, ecx
cmp eax, ecx
jne 0x1002b421
xor edx, edx
jmp 0x1002b424
lea edx, [eax + 0x14]
test edx, edx
je 0x1002b4a2
add edx, 4
cmp dword [edx + 0x14], 0xf
jbe 0x1002b433
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b450
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10001790
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1002b5cc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b5cc
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b496
jmp 0x1002b56c
mov byte [ebp - 0x4c], 0x76
mov cl, 3
xor cl, byte [ebp - 0x4c]
mov al, 0x4a
xor al, byte [ebp - 0x4c]
mov dl, 0x18
mov byte [ebp - 0x4b], al
mov ch, dl
mov byte [ebp - 0x4a], cl
mov dh, 0x19
mov cl, byte [ebp - 0x4c]
mov ah, 0x1d
mov byte [ebp - 0x2d], 1
xor dl, cl
mov al, byte [ebp - 0x2d]
xor dh, cl
xor al, cl
mov byte [ebp - 0x3b], ch
mov byte [ebp - 0x45], al
xor ch, cl
mov al, byte [ebp - 0x3b]
xor ah, cl
xor al, cl
mov byte [ebp - 0x2e], 0x48
mov byte [ebp - 0x44], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x2e]
xor al, cl
mov byte [ebp - 0x47], ch
lea ecx, [ebp - 0x4b]
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x49], dl
mov byte [ebp - 0x46], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x48], ah
mov byte [ebp - 0x43], al
mov byte [ebp - 0x42], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b520
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001790
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1002b5cc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b5cc
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b565
sub ecx, edx
mov dword [ebp - 0x38], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x38]
push edx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10062334]
push edi
call fcn.10038014
mov esi, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x1002b603
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002b5f9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push esi
call fcn.10038006
add esp, 8
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x80], eax
cmp edx, eax
je 0x1002be53
nop dword [eax + eax]
mov edi, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x38], edi
movzx eax, ax
test edi, edi
je 0x1002be41
test ax, ax
je 0x1002be41
mov esi, dword [0x100622dc]
mov eax, 0x10624dd3
mul edi
mov ecx, 0xd78ae8
mov eax, edx
shr eax, 6
mov dword [ebp - 0x40], eax
imul eax, eax, 0x3e8
push eax
call fcn.1000e620
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x1002b9d0
xorps xmm0, xmm0
mov word [ebp - 0x3c], 0x55
lea ecx, [ebp - 0x3b]
mov byte [ebp - 0x3b], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b6a0
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001790
mov eax, 0x12e0be83
mov byte [ebp - 4], 3
mov cl, byte [esi + 4]
mov esi, edi
mul edi
mov byte [ebp - 0x2e], cl
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x1002b781
cmp cl, 0x2d
jae 0x1002b781
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b781
sub esi, dword [ebp - 0x40]
movzx ecx, byte [ebp - 0x2e]
mov edx, dword [0x100622e0]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, edi
push eax
call edx
mov esi, eax
mov edi, esi
mov dword [ebp - 0x5c], edi
test esi, esi
je 0x1002b786
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x5c], edi
je 0x1002b786
push dword [ebp - 0x38]
xor edx, edx
lea ecx, [ebp - 0x74]
push esi
call fcn.1000a640
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.10003d40
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1002b77a
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b770
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push edx
call fcn.10038006
add esp, 8
mov edi, esi
mov dword [ebp - 0x5c], edi
jmp 0x1002b7d6
xor edi, edi
mov dword [ebp - 0x5c], edi
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
push 0
call fcn.1000a640
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.10003d40
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1002b7d6
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b7cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push edx
call fcn.10038006
add esp, 8
movzx eax, byte [ebp - 0x2d]
mov esi, dword [ebp - 0x34]
lea edx, [eax + eax*2]
mov eax, dword [esi + edx*8 + 0x3c]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x78], esi
test eax, eax
je 0x1002b98d
add eax, 4
mov dword [ebp - 0x58], eax
je 0x1002b891
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b88e
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b820
sub ecx, edx
mov dword [ebp - 0x40], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova ecx, dword [ebp - 0x78]
push dword [ebp - 0x40]
push ecx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push 0xffffffffffffffff
push 0
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100622e8]
push edi
call fcn.10038014
mov edi, dword [ebp - 0x5c]
add esp, 4
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + edx*8 + 0x3c]
mov dword [eax + 0x50], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edx*8 + 0x3c]
mov dword [eax + 0x54], edi
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edx*8 + 0x3c]
mov dword [eax + 0x58], 0
test edi, edi
je 0x1002b8c9
mov eax, dword [ebp - 0x50]
movsx ecx, word [edi + 0x56]
movsx eax, word [eax + 0x66]
add ecx, eax
jmp 0x1002b8cd
movsx ecx, word [ecx + 0x66]
mov edi, dword [ebp - 0x34]
mov eax, dword [edi + edx*8 + 0x3c]
mov dword [eax + 0x5c], ecx
mov eax, dword [edi + edx*8 + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x1002b98d
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b969
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b902
sub ecx, edx
mov dword [ebp - 0x40], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x78]
push dword [ebp - 0x40]
push edx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10062314]
push edi
call fcn.10038014
mov edi, dword [ebp - 0x34]
add esp, 4
mov eax, dword [ebp - 0x38]
mov eax, dword [edi + eax*8 + 0x3c]
mov esi, dword [eax]
test esi, esi
je 0x1002b98d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b98d
push 1
mov ecx, esi
call dword [0x1006230c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x1002bcc9
mov edx, dword [ebp - 0x78]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b9c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push edx
call fcn.10038006
add esp, 8
jmp 0x1002bcc9
lea eax, [edi - 1]
cmp eax, 0x5f5e0fe
ja 0x1002bcc9
movzx eax, byte [ebp - 0x2d]
mov esi, dword [ebp - 0x34]
lea eax, [eax + eax*2]
mov dword [esi + eax*8 + 0x28], edi
mov edi, eax
mov dword [ebp - 0x38], eax
cmp dword [esi + edi*8 + 0x3c], 0
je 0x1002bca7
movaps xmm0, xmmword [0x100629b0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x174d5c4b
mov dword [ebp - 0x18], 0x4d415d
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x1002ba17
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba43
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10001790
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x50], esi
mov eax, dword [eax + edi*8 + 0x3c]
add eax, 4
mov dword [ebp - 0x58], eax
je 0x1002bb02
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bb02
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba94
sub ecx, edx
mov dword [ebp - 0x40], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
lea esi, [edi + 0x20]
cmova ecx, dword [ebp - 0x50]
push dword [ebp - 0x40]
push ecx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push 0xffffffffffffffff
push 0
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100622e8]
push edi
call fcn.10038014
mov esi, dword [ebp - 0x50]
add esp, 4
mov edi, dword [ebp - 0x38]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0xf
jbe 0x1002bb39
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002bb2f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push esi
call fcn.10038006
add esp, 8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edi*8 + 0x3c]
cmp dword [eax], 0
je 0x1002bca4
movaps xmm0, xmmword [str.b7__v]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x4c160710
mov dword [ebp - 0x18], 0x161a06
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x1002bb64
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bb90
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10001790
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x50], esi
mov eax, dword [eax + edi*8 + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x1002bc4a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bc4a
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
cmova ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bbe0
sub ecx, edx
mov dword [ebp - 0x40], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x50]
push dword [ebp - 0x40]
push edx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10062314]
push edi
call fcn.10038014
mov esi, dword [ebp - 0x50]
add esp, 4
mov edi, dword [ebp - 0x38]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0xf
jbe 0x1002bc81
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002bc77
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push esi
call fcn.10038006
add esp, 8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edi*8 + 0x3c]
mov esi, dword [eax]
test esi, esi
je 0x1002bca4
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bca4
push eax
mov ecx, esi
call dword [0x1006230c]
mov esi, dword [ebp - 0x34]
mov esi, dword [esi + edi*8 + 0x38]
test esi, esi
je 0x1002bcc9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bcc9
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.1000e550
mov eax, dword [ebp - 0x7c]
mov dl, 0x44
movss xmm1, dword [0x100625c8]
sub esp, 0x20
movzx eax, ax
mov cl, 0x58
mov byte [ebp - 0x4c], 0x76
mov ch, 0x10
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x44], 0
movd xmm0, eax
mov al, 0x53
cvtdq2ps xmm0, xmm0
mov dh, al
mov ah, 0x1a
xor al, byte [ebp - 0x4c]
mov byte [ebp - 0x4b], al
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x2e], dh
xor dl, al
divss xmm0, xmm1
xor dh, al
mov byte [ebp - 0x49], dl
xor cl, al
mov byte [ebp - 0x46], dh
xor ch, al
mov byte [ebp - 0x4a], cl
mov edx, esp
mov byte [ebp - 0x47], ch
xor ah, al
lea ecx, [ebp - 0x4b]
mov al, byte [ebp - 0x2e]
lea esi, [ecx + 1]
xor al, byte [ebp - 0x4c]
mov byte [ebp - 0x48], ah
mov byte [ebp - 0x45], al
minss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x7c], xmm1
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bd60
sub ecx, esi
lea eax, [ebp - 0x4b]
push ecx
push eax
mov ecx, edx
call fcn.10001790
lea eax, [ebp - 0x74]
push eax
call fcn.10009170
add esp, 0x24
mov esi, dword [ebp - 0x34]
mov edx, eax
mov byte [ebp - 4], 6
movzx edi, byte [ebp - 0x2d]
lea ecx, [edi + edi*2]
mov ecx, dword [esi + ecx*8 + 0x30]
call fcn.1000e4b0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1002bdd2
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bdc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push edx
call fcn.10038006
add esp, 8
lea eax, [edi + edi*2]
mov dword [ebp - 0x64], 0
mov esi, dword [esi + eax*8 + 0x34]
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
test esi, esi
je 0x1002be19
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002be19
movss xmm0, dword [ebp - 0x7c]
sub esp, 0xc
mov ecx, esi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10062328]
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + edi*4 + 0xc]
test esi, esi
je 0x1002be3b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002be3b
push 1
mov ecx, esi
call dword [0x1006230c]
inc byte [ebp - 0x2d]
mov edx, dword [ebp - 0x54]
add edx, 8
mov dword [ebp - 0x54], edx
cmp edx, dword [ebp - 0x80]
jne 0x1002b620
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x1002be83
mov ecx, dword [ebx + 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1002be79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bea3
push ecx
push edx
call fcn.10038006
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10037fa5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.1003cf4f
int3