Function at 0x100291c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f6f5d
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 0x1002a2d8
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 0x1002923d
mov eax, dword [esi]
test eax, eax
je 0x1002923d
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 0x1002927e
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 0x1002929d
mov eax, dword [esi]
test eax, eax
je 0x10029296
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 0x1002a283
nop dword [eax]
cmp dword [ebx], 0
je 0x1002a272
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10004f00
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
test al, 1
je 0x100293da
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.1001bdb0
mov ebx, dword [ebp - 0x40]
cmp ebx, dword [ebp - 0x3c]
je 0x10029376
mov esi, ebx
nop dword [eax]
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x3c]
jne 0x10029330
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x100293d7
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 0x100293b8
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x100294d2
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.1001bdb0
mov ebx, dword [ebp - 0x4c]
cmp ebx, dword [ebp - 0x48]
je 0x1002946e
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x48]
jne 0x10029428
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x100294cf
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 0x100294b0
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x100295ca
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.1001bdb0
mov ebx, dword [ebp - 0x58]
cmp ebx, dword [ebp - 0x54]
je 0x10029566
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x54]
jne 0x10029520
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x100295c7
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 0x100295a8
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x100296c2
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.1001bdb0
mov ebx, dword [ebp - 0x64]
cmp ebx, dword [ebp - 0x60]
je 0x1002965e
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x60]
jne 0x10029618
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x100296bf
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 0x100296a0
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x100297ba
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.1001bdb0
mov ebx, dword [ebp - 0x70]
cmp ebx, dword [ebp - 0x6c]
je 0x10029756
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x6c]
jne 0x10029710
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x100297b7
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 0x10029798
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x100298c6
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.1001bdb0
mov ebx, dword [ebp - 0x7c]
cmp ebx, dword [ebp - 0x78]
je 0x10029862
mov esi, ebx
nop dword [eax + eax]
push 0
push 0x3c
push dword [esi + 0x81c]
push dword [esi + 0x818]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x78]
jne 0x10029810
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x100298c3
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 0x100298a4
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x100299d3
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.1001bdb0
mov ebx, dword [ebp - 0x88]
cmp ebx, dword [ebp - 0x84]
je 0x10029969
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x84]
jne 0x10029920
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x100299d0
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 0x100299ab
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x10029aec
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.1001bdb0
mov ebx, dword [ebp - 0x94]
cmp ebx, dword [ebp - 0x90]
je 0x10029a7c
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x90]
jne 0x10029a33
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029ae9
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 0x10029ac1
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x10029c0b
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.1001bdb0
mov ebx, dword [ebp - 0xa0]
cmp ebx, dword [ebp - 0x9c]
je 0x10029b9b
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0x9c]
jne 0x10029b52
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029c08
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 0x10029be0
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x10029d2a
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.1001bdb0
mov ebx, dword [ebp - 0xac]
cmp ebx, dword [ebp - 0xa8]
je 0x10029cba
mov esi, ebx
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0xa8]
jne 0x10029c71
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029d27
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 0x10029cff
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x10029e55
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.1001bdb0
mov ebx, dword [ebp - 0xb8]
cmp ebx, dword [ebp - 0xb4]
je 0x10029de5
mov esi, ebx
nop word [eax + eax]
push 0
push 0x3c
push dword [esi + 0x81c]
push dword [esi + 0x818]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0xb4]
jne 0x10029d90
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029e52
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 0x10029e2a
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x10029f79
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.1001bdb0
mov ebx, dword [ebp - 0xc4]
cmp ebx, dword [ebp - 0xc0]
je 0x10029f09
mov esi, ebx
nop dword [eax + eax]
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0xc0]
jne 0x10029ec0
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 5
test ebx, ebx
je 0x10029f76
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 0x10029f4e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x1002a090
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.1001bdb0
mov ebx, dword [ebp - 0xd0]
cmp ebx, dword [ebp - 0xcc]
je 0x1002a023
mov esi, ebx
nop dword [eax]
push 0
push 0x3c
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100f2e00
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.10028e80
add esi, 0x4020
cmp esi, dword [ebp - 0xcc]
jne 0x10029fe0
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1002a090
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 0x1002a068
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push ebx
call fcn.100f176a
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 0x1002a238
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 0x1002a1aa
mov edx, dword [ebp - 0x24]
nop
mov eax, dword [edi + 0x14]
mov esi, dword [eax]
cmp esi, eax
je 0x1002a166
nop dword [eax]
lea eax, [esi + 0x28]
cmp dword [ebp - 0x20], edx
je 0x1002a115
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 0x1002a122
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.1002b250
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1002a148
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002a144
cmp esi, dword [eax + 8]
jne 0x1002a144
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1002a134
mov esi, eax
jmp 0x1002a15e
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1002a15e
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1002a152
cmp esi, dword [edi + 0x14]
jne 0x1002a0f0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x1002a18c
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002a188
cmp edi, dword [eax + 8]
jne 0x1002a188
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1002a178
mov edi, eax
jmp 0x1002a1a2
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x1002a1a2
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1002a196
cmp edi, ebx
jne 0x1002a0e0
lea eax, [ebp - 0x28]
push eax
call fcn.10028b30
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0xd8]
cmp esi, dword [ebp - 0x24]
je 0x1002a1d4
mov ecx, dword [ebx]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
add esi, 0x4028
cmp esi, dword [ebp - 0x24]
jne 0x1002a1c1
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1002a238
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 0x1002a219
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b3
push ecx
push esi
call fcn.100f176a
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.1002a830
push 0x1c
push dword [ebp - 0x1c]
call fcn.100f176a
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 0x100292b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1002a2d8
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1002a2b9
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002a2b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f176a
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.100f13e3
mov esp, ebp
pop ebp
ret