Function at 0x1002cd40
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 0x1005f0ab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1007a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0
call fcn.1002c860
xor edi, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd4]
sub eax, ecx
mov dword [ebp - 0x44], edi
sar eax, 6
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x1002d0a0
mov dword [ebp - 0x4c], edi
nop dword [eax]
lea edx, [ebp - 0x3b]
mov word [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1002cdf0
sub edx, ecx
lea eax, [ebp - 0x3b]
cmp dword [ebx + 0x24], 0xf
lea ecx, [ebx + 0x10]
push edx
cmova ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x20]
push eax
call fcn.10010c80
add esp, 8
test al, al
jne 0x1002d009
mov eax, dword [esi + 0xd0]
mov edx, dword [edi + eax + 0x1c]
test edx, edx
jne 0x1002ce31
xor edi, edi
jmp 0x1002ceda
mov ecx, dword [0x10072548]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [esi + 0xd0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + ecx + 0x1c]
mov ecx, dword [ebp - 0x48]
mov edi, ecx
mov dword [ebp - 0x40], edx
test ecx, ecx
je 0x1002ceda
cmp dword [ecx], 0
je 0x1002ceda
test edx, edx
je 0x1002ced8
mov edi, dword [ebp - 0x40]
mov eax, 0x12e0be83
mul edx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x1002ced8
cmp byte [ecx + 4], 0x2d
jae 0x1002ced8
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002ced3
mov esi, dword [0x1007254c]
mov eax, 0x10624dd3
mul dword [ebp - 0x40]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
mov edi, dword [ebp - 0x48]
movzx ecx, byte [edi + 4]
add eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jmp 0x1002cee1
mov edi, dword [ebp - 0x48]
jmp 0x1002ceda
mov edi, ecx
mov dword [ebp - 0x40], 0
mov eax, dword [esi + 0xd0]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + eax + 0x1c]
dec eax
cmp eax, 0x5f5e0fe
ja 0x1002cfa1
sub esp, 0x18
lea eax, [ebx + 0x10]
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.10004300
mov edi, dword [ebp - 0x4c]
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov eax, dword [esi + 0xd0]
add eax, edi
push eax
call fcn.10004300
mov byte [ebp - 4], 1
call fcn.100108a0
add esp, 0x30
test al, al
je 0x1002d071
mov esi, dword [esi + 0xd0]
add esi, edi
mov edi, dword [ebp - 0x1c]
push esi
cmp edi, dword [ebp - 0x18]
je 0x1002cf9b
mov ecx, edi
mov dword [ebp - 0x54], edi
call fcn.10004300
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x18]
lea ecx, [edi + 0x30]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
call fcn.10010cf0
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov byte [ebp - 4], 1
add dword [ebp - 0x1c], 0x40
jmp 0x1002d06e
push edi
jmp 0x1002d066
test edi, edi
je 0x1002d071
sub esp, 0x18
lea eax, [ebx + 0x10]
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.10004300
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov edx, edi
push dword [ebp - 0x40]
call fcn.1000f9e0
add esp, 4
mov byte [ebp - 4], 1
call fcn.100108a0
add esp, 0x30
test al, al
je 0x1002d071
mov esi, dword [esi + 0xd0]
add esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x1c]
push esi
cmp edi, dword [ebp - 0x18]
je 0x1002cf9b
mov ecx, edi
mov dword [ebp - 0x54], edi
call fcn.10004300
mov byte [ebp - 4], 6
jmp 0x1002cf58
add edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
push edi
cmp esi, dword [ebp - 0x18]
je 0x1002d063
mov ecx, esi
mov dword [ebp - 0x54], esi
call fcn.10004300
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x30]
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
call fcn.10010cf0
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 1
add dword [ebp - 0x1c], 0x40
jmp 0x1002d06e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.1002f830
mov esi, dword [ebp - 0x5c]
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd4]
mov edx, dword [ebp - 0x44]
sub eax, ecx
mov edi, dword [ebp - 0x4c]
inc edx
add edi, 0x40
sar eax, 6
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], ecx
cmp edx, eax
jb 0x1002cde0
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, edi
sar eax, 6
test eax, eax
jne 0x1002d143
lea eax, [esi + 0x80]
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x60], eax
mov esi, eax
mov edi, dword [esi]
test edi, edi
je 0x1002d0de
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d0de
push eax
mov ecx, edi
call dword [0x10072578]
add esi, 4
sub dword [ebp - 0x44], 1
jne 0x1002d0c2
mov esi, dword [ebp - 0x5c]
mov edi, dword [esi + 0xbc]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x60], eax
test edi, edi
je 0x1002d112
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d112
push dword [ebp - 0x60]
mov ecx, edi
call dword [0x100725a8]
mov dword [esi + 0x18], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1002df42
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1002df01
nop
mov ecx, esi
call fcn.10030680
add esi, 0x40
cmp esi, edi
jne 0x1002d130
jmp 0x1002defe
mov edx, dword [ebp - 0x1c]
mov ecx, edi
push 0x1002b920
push eax
call fcn.1002f0b0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 6
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10073b10]
divsd xmm0, qword [0x10073610]
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fstp qword [esp]
call fcn.1005a1e0
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
add esp, 8
andps xmm0, xmmword [0x10073ea0]
or ecx, 0xffffffff
cvttsd2si eax, xmm0
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [esi + 0x18], eax
nop dword [eax]
inc ecx
mov dword [ebp - 0x4c], ecx
cmp ecx, 0xb
jg 0x1002deb9
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 6
dec eax
cmp edi, eax
jle 0x1002d1f1
mov edi, dword [esi + ecx*4 + 0x80]
test edi, edi
je 0x1002dea9
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002dea6
push eax
jmp 0x1002de9e
mov eax, dword [ebp - 0x20]
shl edi, 6
mov dword [ebp - 0x48], edi
mov edx, dword [edi + eax + 0x1c]
test edx, edx
jne 0x1002d206
xor eax, eax
jmp 0x1002d21f
mov ecx, dword [0x10072548]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov edi, dword [edi + edx + 0x1c]
mov dword [ebp - 0x54], edi
lea ecx, [edi - 1]
cmp ecx, 0x5f5e0fe
ja 0x1002d583
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
shl edi, 6
mov dword [ebp - 0x3c], edi
mov ecx, dword [eax + edx + 0x18]
mov eax, dword [esi + 0xc4]
mov dword [edi + eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + eax + 0x1c]
mov eax, dword [esi + 0xc4]
mov dword [edi + eax + 4], ecx
mov ecx, dword [ebp - 0x48]
mov eax, dword [esi + 0xc4]
add ecx, 0x30
mov edx, dword [ebp - 0x20]
add eax, 8
add eax, edi
add ecx, edx
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x1002d29c
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x44]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.10010e00
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xc4]
mov eax, dword [edi + eax + 0x20]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1002d2ce
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d2ce
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
call dword [0x100725a4]
mov esi, dword [esi + 0xc4]
mov edx, dword [edi + esi + 0xc]
sub edx, dword [edi + esi + 8]
sar edx, 2
call fcn.10010590
mov ecx, dword [edi + esi + 8]
mov edx, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x40], edx
test edx, edx
je 0x1002d570
mov ecx, dword [0x10072548]
mov eax, 0x10624dd3
mul edx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x54], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
je 0x1002d578
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0xc
cmp dword [edi], 0
je 0x1002d409
mov esi, dword [ebp - 0x40]
mov eax, 0x12e0be83
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x1002d409
cmp byte [edi + 4], 0x2d
jae 0x1002d409
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d409
sub esi, dword [ebp - 0x54]
movzx ecx, byte [edi + 4]
mov edx, dword [0x1007254c]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0x10b8050]
add eax, dword [ebp - 0x40]
push eax
call edx
mov esi, eax
mov edi, eax
test esi, esi
je 0x1002d40b
cmp dword [esi + 0x3c], 0
je 0x1002d40b
push dword [ebp - 0x40]
xor edx, edx
lea ecx, [ebp - 0x8c]
push esi
call fcn.1000f620
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.10009940
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002d405
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d3fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov edi, esi
jmp 0x1002d461
xor edi, edi
push dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x8c]
push 0
call fcn.1000f620
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.10009940
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002d461
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d457
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [esi + 0xc4]
mov eax, dword [eax + ecx + 0x38]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1002d50c
add eax, 4
je 0x1002d4a1
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d49e
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ecx + 4]
call dword [0x10072558]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [esi + 0xc4]
mov edx, dword [ebp - 0x44]
mov eax, dword [eax + ecx + 0x38]
mov dword [eax + 0x60], edx
mov eax, dword [esi + 0xc4]
mov eax, dword [eax + ecx + 0x38]
mov dword [eax + 0x64], edi
mov eax, dword [esi + 0xc4]
mov eax, dword [eax + ecx + 0x38]
mov dword [eax + 0x68], 0
test edi, edi
je 0x1002d4df
movsx ecx, word [edi + 0x4e]
movsx eax, word [edx + 0x5e]
add ecx, eax
jmp 0x1002d4e3
movsx ecx, word [edx + 0x5e]
mov eax, dword [esi + 0xc4]
mov edx, dword [ebp - 0x3c]
mov eax, dword [eax + edx + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + eax + 0x2c]
mov eax, dword [esi + 0xc4]
mov eax, dword [eax + edx + 0x38]
mov dword [eax + 0x44], ecx
mov ecx, edx
mov eax, dword [esi + 0xc4]
mov edi, dword [eax + ecx + 0x34]
test edi, edi
je 0x1002d533
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d533
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call dword [0x10072584]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1002d57b
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d561
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
mov edi, dword [ebp - 0x3c]
jmp 0x1002d8b3
mov esi, dword [ebp - 0x5c]
jmp 0x1002d8b6
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x3c]
jmp 0x1002d8b6
test eax, eax
jne 0x1002d58f
mov ecx, dword [ebp - 0x4c]
jmp 0x1002d1cb
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0xd
cmp dword [eax], 0
je 0x1002d69a
test edi, edi
je 0x1002d69a
mov eax, 0x12e0be83
mul edi
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x1002d69a
mov eax, dword [ebp - 0x40]
cmp byte [eax + 4], 0x2d
jae 0x1002d69a
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d69a
mov eax, 0x10624dd3
mov esi, dword [0x1007254c]
mul dword [ebp - 0x54]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x40]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, eax
mov edi, eax
test esi, esi
je 0x1002d695
cmp dword [esi + 0x3c], 0
je 0x1002d695
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 0x48]
push dword [ecx + eax + 0x1c]
lea ecx, [ebp - 0x8c]
push esi
call fcn.1000f620
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.10009940
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002d68e
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d684
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov edi, esi
mov esi, dword [ebp - 0x5c]
jmp 0x1002d6f9
mov esi, dword [ebp - 0x5c]
jmp 0x1002d69c
xor edi, edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
push dword [ecx + eax + 0x1c]
lea ecx, [ebp - 0x8c]
push 0
call fcn.1000f620
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.10009940
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002d6f9
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d6ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
shl edx, 6
mov dword [ebp - 0x3c], edx
mov ecx, dword [ecx + eax + 0x18]
mov eax, dword [esi + 0xc4]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + eax + 0x1c]
mov eax, dword [esi + 0xc4]
mov dword [edx + eax + 4], ecx
mov eax, dword [esi + 0xc4]
mov eax, dword [edx + eax + 0x38]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1002d7cf
add eax, 4
je 0x1002d763
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d760
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ecx + 4]
call dword [0x10072558]
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0xc4]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + eax + 0x38]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0xc4]
mov eax, dword [edx + eax + 0x38]
mov dword [eax + 0x64], edi
mov eax, dword [esi + 0xc4]
mov eax, dword [edx + eax + 0x38]
mov dword [eax + 0x68], 0
test edi, edi
je 0x1002d7a1
movsx edx, word [edi + 0x4e]
movsx eax, word [ecx + 0x5e]
add edx, eax
jmp 0x1002d7a5
movsx edx, word [ecx + 0x5e]
mov eax, dword [esi + 0xc4]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax + 0x38]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ecx + eax + 0x2c]
mov eax, dword [esi + 0xc4]
mov eax, dword [edx + eax + 0x38]
mov dword [eax + 0x44], ecx
mov eax, dword [esi + 0xc4]
mov eax, dword [edx + eax + 0x34]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1002d7fa
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d7fa
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x38]
push eax
call dword [0x10072584]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push edi
call fcn.1000f9e0
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [esi + 0xc4]
mov edi, dword [ebp - 0x3c]
mov eax, dword [edi + ecx + 0x20]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1002d840
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d840
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
call dword [0x100725a4]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002d87b
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d871
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1002d8b6
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d8a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
mov dword [ebp - 0x3c], edi
add esp, 8
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + edx + 0x28]
cmp eax, 1
jne 0x1002dc18
mov byte [ebp - 4], 0xf
mov edx, dword [ecx + edx + 0x24]
lea ecx, [ebp - 0x38]
call fcn.10011030
or dword [ebp - 0x90], 1
mov eax, 3
mov edx, dword [ebp - 0x28]
mov edi, edx
mov dword [ebp - 0x44], eax
cmp edi, eax
jle 0x1002d95a
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1002df97
mov esi, dword [ebp - 0x24]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1002d932
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1003db20
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1002d944
push 0x2e
push 1
push ecx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x38]
push 1
call fcn.1000a8a0
mov eax, dword [ebp - 0x44]
inc edi
add eax, 4
mov dword [ebp - 0x44], eax
cmp edi, eax
jle 0x1002d957
mov edx, dword [ebp - 0x28]
jmp 0x1002d8f1
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
movaps xmm0, xmmword [str.qQQ:2Q_]
cmova eax, dword [ebp - 0x38]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x64], 0
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0xf
jb 0x1002d977
sub esp, 0x18
mov byte [ebp - 0x64], 0
mov edx, esp
lea ecx, [ebp - 0x73]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d9a7
sub ecx, edi
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x8c]
push eax
call fcn.100043f0
add esp, 0x20
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x10
mov ecx, dword [esi + 0xc4]
shl edx, 6
mov edi, dword [edx + ecx + 0x24]
test edi, edi
je 0x1002d9fe
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d9fe
push dword [ebp - 0x54]
mov ecx, edi
call dword [0x100725a4]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002da39
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002da2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
and dword [ebp - 0x90], 0xfffffffe
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1002da8d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002da83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x38]
mov edx, dword [eax + edx + 0x20]
call fcn.10010ab0
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 0xf
jbe 0x1002dab2
mov eax, dword [eax]
movaps xmm0, xmmword [0x10073cc0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x64], 0xd
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x10
jb 0x1002dac6
sub esp, 0x18
mov byte [ebp - 0x63], 0
mov edx, esp
lea ecx, [ebp - 0x73]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
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 0x1002db00
sub ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x8c]
push eax
call fcn.100043f0
add esp, 0x20
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [esi + 0xc4]
mov eax, dword [edi + ecx + 0x28]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1002db56
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002db56
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
call dword [0x100725a4]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002db91
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002db87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1002dbde
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002dbd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov eax, dword [0x1007f010]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test eax, eax
je 0x1002de03
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + ecx + 0x28]
cmp edx, 1
jne 0x1002dd6a
mov eax, dword [eax + 0x4c]
jmp 0x1002dd76
cmp eax, 2
jne 0x1002da90
mov edx, dword [ecx + edx + 0x24]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10010ab0
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0xf
jbe 0x1002dc3d
mov eax, dword [eax]
movaps xmm0, xmmword [0x10073e00]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x64], 0
nop
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0xf
jb 0x1002dc50
sub esp, 0x18
mov byte [ebp - 0x64], 0
mov edx, esp
lea ecx, [ebp - 0x73]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002dc83
sub ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x8c]
push eax
call fcn.100043f0
add esp, 0x20
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [esi + 0xc4]
mov eax, dword [edi + ecx + 0x24]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1002dcd9
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002dcd9
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
call dword [0x100725a4]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002dd14
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002dd0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1002da90
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002dd5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
add esp, 8
jmp 0x1002da90
cmp edx, 2
jne 0x1002de03
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0x48]
cmp eax, dword [edx + ecx + 0x24]
jae 0x1002de03
mov eax, dword [esi + 0xc4]
mov edi, dword [eax + edi + 0x24]
test edi, edi
je 0x1002ddab
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002ddab
push 0xfff78dad
mov ecx, edi
call dword [0x100725ac]
mov eax, dword [esi + 0xc4]
mov edi, dword [ebp - 0x3c]
mov edi, dword [eax + edi + 0x2c]
test edi, edi
je 0x1002ddd6
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002ddd6
lea ecx, [edi + 0xb8]
mov dl, 7
call fcn.100129a0
mov eax, dword [esi + 0xc4]
mov edi, dword [ebp - 0x3c]
mov edi, dword [eax + edi + 0x30]
test edi, edi
je 0x1002de81
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002de81
mov dl, 7
jmp 0x1002de76
mov eax, dword [esi + 0xc4]
mov edi, dword [eax + edi + 0x24]
test edi, edi
je 0x1002de2b
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002de2b
push 0xff92fcaf
mov ecx, edi
call dword [0x100725ac]
mov eax, dword [esi + 0xc4]
mov ecx, dword [ebp - 0x3c]
mov edi, dword [eax + ecx + 0x2c]
test edi, edi
je 0x1002de56
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002de56
lea ecx, [edi + 0xb8]
mov dl, 2
call fcn.100129a0
mov eax, dword [esi + 0xc4]
mov edi, dword [ebp - 0x3c]
mov edi, dword [eax + edi + 0x30]
test edi, edi
je 0x1002de81
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002de81
mov dl, 2
lea ecx, [edi + 0xb8]
call fcn.100129a0
mov ecx, dword [ebp - 0x4c]
mov edi, dword [esi + ecx*4 + 0x80]
test edi, edi
je 0x1002dea9
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002dea6
push 1
mov ecx, edi
call dword [0x10072578]
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x60]
inc edi
mov dword [ebp - 0x60], edi
cmp edi, 0xc
jl 0x1002d1b0
mov edi, dword [esi + 0x14]
mov esi, dword [esi + 0xbc]
test esi, esi
je 0x1002dedc
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002dedc
push edi
mov ecx, esi
call dword [0x100725a8]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1002df42
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1002defe
nop word [eax + eax]
mov ecx, esi
call fcn.10030680
add esi, 0x40
cmp esi, edi
jne 0x1002def0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x1002df23
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push esi
call fcn.1003bf86
mov dword [ebp - 0x18], 0
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebx + 0x24]
cmp ecx, 0xf
jbe 0x1002df72
mov edx, dword [ebx + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002df68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002df92
push ecx
push edx
call fcn.1003bf86
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.1003bf25
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
call fcn.10041254
call fcn.100099c0
int3