Function at 0x10029580
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f72ed
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10126008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd4], edi
cmp dword [edi + 4], 0
je 0x1002a698
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
xor ebx, ebx
mov dword [ebp - 0x34], ebx
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
lea esi, [edi + 0x58]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100295fd
mov eax, dword [esi]
test eax, eax
je 0x100295fd
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
lea eax, [edi + 0x5c]
mov byte [ebp - 4], 1
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xd8], ebx
cmp ecx, eax
je 0x1002963e
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov dword [eax], 0
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov dword [eax + 4], 0
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov dword [eax + 8], 0
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 4], 2
test esi, esi
je 0x1002965d
mov eax, dword [esi]
test eax, eax
je 0x10029656
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
cmp ebx, edx
je 0x1002a643
nop dword [eax]
cmp dword [ebx], 0
je 0x1002a632
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10004f50
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
test al, 1
je 0x1002979a
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
mov ecx, dword [edi + 4]
push eax
push 1
call fcn.1001c140
mov ebx, dword [ebp - 0x40]
cmp ebx, dword [ebp - 0x3c]
je 0x10029736
mov esi, ebx
nop dword [eax]
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x3c]
jne 0x100296f0
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029797
mov ecx, dword [ebp - 0x38]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029778
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
test eax, 0x4000
je 0x10029892
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 7
mov ecx, dword [edi + 4]
push eax
push 0x4000
call fcn.1001c140
mov ebx, dword [ebp - 0x4c]
cmp ebx, dword [ebp - 0x48]
je 0x1002982e
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x48]
jne 0x100297e8
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1002988f
mov ecx, dword [ebp - 0x44]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029870
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
test eax, 0x200
je 0x1002998a
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
mov ecx, dword [edi + 4]
push eax
push 0x200
call fcn.1001c140
mov ebx, dword [ebp - 0x58]
cmp ebx, dword [ebp - 0x54]
je 0x10029926
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x54]
jne 0x100298e0
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029987
mov ecx, dword [ebp - 0x50]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029968
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
test eax, 0x100
je 0x10029a82
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
mov ecx, dword [edi + 4]
push eax
push 0x100
call fcn.1001c140
mov ebx, dword [ebp - 0x64]
cmp ebx, dword [ebp - 0x60]
je 0x10029a1e
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x60]
jne 0x100299d8
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029a7f
mov ecx, dword [ebp - 0x5c]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029a60
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
test eax, 0x400
je 0x10029b7a
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
mov ecx, dword [edi + 4]
push eax
push 0x400
call fcn.1001c140
mov ebx, dword [ebp - 0x70]
cmp ebx, dword [ebp - 0x6c]
je 0x10029b16
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x6c]
jne 0x10029ad0
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029b77
mov ecx, dword [ebp - 0x68]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029b58
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x14]
test eax, 0x8000000
je 0x10029c86
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
mov ecx, dword [edi + 4]
push eax
push 0x8000000
call fcn.1001c140
mov ebx, dword [ebp - 0x7c]
cmp ebx, dword [ebp - 0x78]
je 0x10029c22
mov esi, ebx
nop dword [eax + eax]
push 0
push 0x3c
push dword [esi + 0x81c]
push dword [esi + 0x818]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x818], ecx
mov dword [esi + 0x81c], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x78]
jne 0x10029bd0
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029c83
mov ecx, dword [ebp - 0x74]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029c64
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
test al, 0x20
je 0x10029d93
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xc
mov ecx, dword [edi + 4]
push eax
push 0x20
call fcn.1001c140
mov ebx, dword [ebp - 0x88]
cmp ebx, dword [ebp - 0x84]
je 0x10029d29
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x84]
jne 0x10029ce0
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029d90
mov ecx, dword [ebp - 0x80]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029d6b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
test al, 0x40
je 0x10029eac
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xd
mov ecx, dword [edi + 4]
push eax
push 0x40
call fcn.1001c140
mov ebx, dword [ebp - 0x94]
cmp ebx, dword [ebp - 0x90]
je 0x10029e3c
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x90]
jne 0x10029df3
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029ea9
mov ecx, dword [ebp - 0x8c]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029e81
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
test eax, 0x10000000
je 0x10029fcb
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 4]
push eax
push 0x10000000
call fcn.1001c140
mov ebx, dword [ebp - 0xa0]
cmp ebx, dword [ebp - 0x9c]
je 0x10029f5b
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0x9c]
jne 0x10029f12
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029fc8
mov ecx, dword [ebp - 0x98]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x10029fa0
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x14]
test eax, 0x20000000
je 0x1002a0ea
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xf
mov ecx, dword [edi + 4]
push eax
push 0x20000000
call fcn.1001c140
mov ebx, dword [ebp - 0xac]
cmp ebx, dword [ebp - 0xa8]
je 0x1002a07a
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0xa8]
jne 0x1002a031
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1002a0e7
mov ecx, dword [ebp - 0xa4]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x1002a0bf
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x14]
test al, 8
je 0x1002a215
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
mov ecx, dword [edi + 4]
push eax
push 8
call fcn.1001c140
mov ebx, dword [ebp - 0xb8]
cmp ebx, dword [ebp - 0xb4]
je 0x1002a1a5
mov esi, ebx
nop word [eax + eax]
push 0
push 0x3c
push dword [esi + 0x81c]
push dword [esi + 0x818]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x818], ecx
mov dword [esi + 0x81c], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0xb4]
jne 0x1002a150
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1002a212
mov ecx, dword [ebp - 0xb0]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x1002a1ea
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x14]
test eax, 0x40000000
je 0x1002a339
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0
movq qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x11
mov ecx, dword [edi + 4]
push eax
push 0x40000000
call fcn.1001c140
mov ebx, dword [ebp - 0xc4]
cmp ebx, dword [ebp - 0xc0]
je 0x1002a2c9
mov esi, ebx
nop dword [eax + eax]
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0xc0]
jne 0x1002a280
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1002a336
mov ecx, dword [ebp - 0xbc]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x1002a30e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x1002a450
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x12
mov ecx, dword [edi + 4]
push eax
push 0x80000000
call fcn.1001c140
mov ebx, dword [ebp - 0xd0]
cmp ebx, dword [ebp - 0xcc]
je 0x1002a3e3
mov esi, ebx
nop dword [eax]
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f3180
mov ecx, eax
mov edi, edx
shld edi, ecx, 4
push esi
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
sbb edi, edx
shld edi, ecx, 2
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.10029240
add esi, 0x4020
cmp esi, dword [ebp - 0xcc]
jne 0x1002a3a0
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1002a450
mov ecx, dword [ebp - 0xc8]
mov eax, 0x7fc01ff1
sub ecx, ebx
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4020
mov eax, ebx
cmp ecx, 0x1000
jb 0x1002a428
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push ebx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax]
cmp dword [ebp - 0x18], 0
je 0x1002a5f8
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0x13
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebx]
cmp edi, ebx
je 0x1002a56a
mov edx, dword [ebp - 0x24]
nop
mov eax, dword [edi + 0x14]
mov esi, dword [eax]
cmp esi, eax
je 0x1002a526
nop dword [eax]
lea eax, [esi + 0x28]
cmp dword [ebp - 0x20], edx
je 0x1002a4d5
push 0x4028
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x24]
add esp, 0xc
add edx, 0x4028
mov dword [ebp - 0x24], edx
jmp 0x1002a4e2
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.1002b610
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1002a508
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002a504
cmp esi, dword [eax + 8]
jne 0x1002a504
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1002a4f4
mov esi, eax
jmp 0x1002a51e
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1002a51e
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1002a512
cmp esi, dword [edi + 0x14]
jne 0x1002a4b0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x1002a54c
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002a548
cmp edi, dword [eax + 8]
jne 0x1002a548
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1002a538
mov edi, eax
jmp 0x1002a562
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x1002a562
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1002a556
cmp edi, ebx
jne 0x1002a4a0
lea eax, [ebp - 0x28]
push eax
call fcn.10028ef0
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0xd8]
cmp esi, dword [ebp - 0x24]
je 0x1002a594
mov ecx, dword [ebx]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
add esi, 0x4028
cmp esi, dword [ebp - 0x24]
jne 0x1002a581
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1002a5f8
mov ecx, dword [ebp - 0x20]
mov eax, 0x7fb031e1
sub ecx, esi
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x4028
mov eax, esi
cmp ecx, 0x1000
jb 0x1002a5d9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a673
push ecx
push esi
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.1002abf0
push 0x1c
push dword [ebp - 0x1c]
call fcn.100f1aea
mov edi, dword [ebp - 0xd4]
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0xd8], ebx
cmp ebx, edx
jne 0x10029670
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1002a698
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1002a679
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002a679
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f1aea
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f1763
mov esp, ebp
pop ebp
ret