Function at 0x1000c11f
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push esi
push edi
push 0x180
mov dword [ebp - 0x14], ecx
call fcn.1003b640
mov edi, eax
mov dword [ebp - 0x10], edi
push 0x180
push 0
push edi
mov dword [ebp - 4], 0
call fcn.1003d9f0
add esp, 0x10
mov ecx, edi
call fcn.10016ed0
mov dword [edi + 0xf0], 0
lea eax, [edi + 0xf0]
mov dword [eax + 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 7
movups xmmword [edi + 0x100], xmm0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 7
movups xmmword [edi + 0x118], xmm0
mov dword [ebp - 0x34], eax
lea eax, [edi + 0xf8]
mov dword [eax + 0x50], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov byte [eax + 0x64], 0
mov dword [ebp - 0x24], eax
lea eax, [edi + 0x160]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x70], eax
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov byte [edi + 0x17c], 0
mov dword [ebp - 0x1c], edi
push 0x10
mov dword [ebp - 4], 1
call fcn.1003b640
mov esi, eax
mov dword [ebp - 0x78], edi
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
lea eax, [esi + 4]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x60], eax
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [eax], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_struct_blackbone::ImageContext_.0
mov dword [esi + 0xc], edi
sub esp, 0x14
mov dword [ebp - 4], 2
mov ecx, esp
push dword [ebp + 0xc]
call fcn.100044b0
lea ecx, [ebp - 0x5c]
call fcn.10012cc0
mov ecx, dword [ebp - 0x24]
add esp, 0x18
add ecx, 0x20
mov dword [ebp - 0x18], eax
cmp ecx, eax
je 0x1000bd33
call fcn.10001e00
mov eax, dword [ebp - 0x18]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x128], xmm0
xorps xmm0, xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [eax], xmm0
lea ecx, [ebp - 0x5c]
call fcn.10001e00
lea edx, [edi + 0x118]
lea ecx, [ebp - 0x5c]
call fcn.10012770
mov ecx, dword [ebp - 0x24]
add ecx, 8
mov dword [ebp - 0x18], eax
cmp ecx, eax
je 0x1000bd89
call fcn.10001e00
mov eax, dword [ebp - 0x18]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x110], xmm0
xorps xmm0, xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [eax], xmm0
lea ecx, [ebp - 0x5c]
call fcn.10001e00
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 0x178], ecx
test eax, eax
je 0x1000bdae
push 1
push ecx
push eax
mov ecx, edi
call fcn.100172b0
jmp 0x1000bdc0
mov eax, ecx
mov ecx, edi
shr eax, 0xf
and al, 1
push eax
push dword [ebp + 0xc]
call fcn.100170e0
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x1000be18
push 0
mov ecx, edi
call fcn.10017360
mov ecx, dword [ebp + 0x10]
or edi, 0xffffffff
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
mov eax, edi
lea edx, [esi + 4]
lock xadd dword [edx], eax
jne 0x1000be01
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x1000be01
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
or edi, 0xffffffff
test dword [ebp + 0x1c], 0x100
jne 0x1000beda
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [eax]
xor eax, eax
cmp byte [ecx + 0xd], al
lea ecx, [ebp - 0x5c]
setne al
mov dword [ebp + 0x10], eax
call fcn.10012770
push 0x10068270
push dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push 0
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x10]
call fcn.10012e90
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.10001e00
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x1000beb1
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
mov dword [edi], 0
mov dword [edi + 8], eax
mov dword [edi + 4], esi
mov byte [edi + 0xc], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx], eax
jne 0x1000be01
mov esi, dword [ebp - 0x30]
jmp 0x1000bdea
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x1000bed7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000bed7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000bed7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov al, byte [edx + 0xd]
mov byte [ebp + 0xf], al
test al, al
jne 0x1000bf0d
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
jne 0x1000bf0d
push 0
mov ecx, edx
call fcn.10017360
mov eax, dword [ebp + 8]
mov dword [eax], 0xc0000359
jmp 0x1000bddb
xor eax, eax
cmp byte [ebp + 0xf], al
setne al
mov dword [edx + 0x134], eax
mov eax, dword [ebp + 0x1c]
test al, 0x20
je 0x1000bf30
push dword [edx + 0x28]
push ecx
call fcn.10010060
jmp 0x1000c12c
test al, 0x10
je 0x1000c12f
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
call fcn.1000b1c0
push 0
xorps xmm0, xmm0
mov dword [ebp + 0xc], eax
push 0x10066b74
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
movups xmmword [ebp - 0x5c], xmm0
call fcn.10001fa0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
jle 0x1000bf8d
xor eax, eax
jmp 0x1000bfef
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x1006a008
call 0x105cfa7f
shr eax, 0x1f
lea ecx, [ebp - 0x5c]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
call fcn.10001e00
cmp byte [ebp + 0xc], 0
je 0x1000c049
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
call fcn.1000b1c0
mov ecx, dword [ebp + 8]
lea edx, [esi + 4]
mov eax, dword [eax + 4]
mov dword [ecx], eax
mov eax, ecx
mov byte [eax + 0xc], 0
mov eax, edi
lock xadd dword [edx], eax
je 0x1000bdea
mov esi, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.1000b1c0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
sub esp, 0xc
mov ecx, dword [ecx]
push edx
lea edx, [ebp - 0x2c]
push edx
push dword [ecx + 4]
mov ecx, eax
call fcn.10023d80
test eax, eax
jns 0x1000c0bc
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x20], eax
call fcn.1000b1c0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
sub esp, 0xc
mov ecx, dword [ecx]
push edx
lea edx, [ebp - 0x2c]
push edx
push dword [ecx + 4]
mov ecx, eax
call fcn.10023d80
mov dword [ebp + 0xc], eax
test eax, eax
jns 0x1000c0bc
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
mov ecx, dword [ebp + 0xc]
jmp 0x1000bdd6
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push 1
push 1
push 0x40
push dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x28]
add eax, 0x58
push dword [ebp - 0x2c]
push eax
call fcn.1001b110
mov edx, dword [ebp - 0x34]
mov dword [ebp + 0x10], eax
mov ecx, dword [edx]
mov dword [ebp + 0xc], ecx
mov ecx, dword [eax]
cmp dword [ebp + 0xc], ecx
je 0x1000c104
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x1000c12c
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000c12c
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000c12c
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0xf0]
test ecx, ecx
je 0x1000c144
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x1000c22e
mov eax, dword [ebp - 0x14]
push 1
push dword [edx + 0x24]
push dword [edx + 0x20]
mov ecx, dword [eax]
lea eax, [ebp - 0x54]
push 0x40
push dword [edx + 0x28]
add ecx, 0x58
push eax
call fcn.10022940
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 0
jge 0x1000c1c7
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
cmp byte [ebp - 0x48], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, ecx
mov byte [eax + 0xc], 0
je 0x1000bddf
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + 0x1c], ecx
test ecx, ecx
je 0x1000bddf
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000bddf
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000bddf
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000bddf
mov al, byte [ebp - 0x48]
test al, al
je 0x1000cb2c
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 0x50]
cmp dword [ebp + 0xc], edx
je 0x1000c1fe
mov eax, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ecx + 4]
mov dword [edx + 4], eax
mov al, byte [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
jmp 0x1000c201
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 4], 2
test al, al
je 0x1000c22e
test ecx, ecx
je 0x1000c22e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000c22e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000c22e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
test eax, eax
je 0x1000c23e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1000c24c
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x38], eax
mov edx, dword [ebp + 0x1c]
or edx, 0x8000
cmp dword [ecx + 0x38], 0
cmovne edx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], edx
test edx, 0x8000
jne 0x1000c29b
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1000ed20
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x1c], eax
test eax, eax
jns 0x1000c29b
push 0
call fcn.10017360
mov ecx, dword [ebp + 0x1c]
jmp 0x1000bdd6
sub esp, 8
lea edx, [esi + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [edx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], esi
call fcn.1000cb60
mov dword [ebp + 0x1c], eax
test eax, eax
jns 0x1000c2eb
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
mov eax, edi
lea ecx, [esi + 4]
lock xadd dword [ecx], eax
jmp 0x1000bde8
sub esp, 8
lea ecx, [esi + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], esi
call fcn.1000cd70
mov dword [ebp + 0x1c], eax
test eax, eax
js 0x1000c2c7
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ecx + 0x3c]
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 6
test dword [ebp + 0xc], 0x100
push ecx
push ecx
je 0x1000c3b6
lea eax, [ebp - 0xe4]
push eax
call fcn.10014a20
mov esi, eax
push 0x60
mov byte [ebp - 4], 7
call fcn.1003b640
xorps xmm0, xmm0
mov dword [ebp + 0x1c], eax
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_struct_blackbone::ModuleData_const__.0
add eax, 0x10
push esi
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.100116a0
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
call fcn.10001e00
lea ecx, [ebp - 0xdc]
call fcn.10001e00
jmp 0x1000c47e
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
lea eax, [ebp - 0xe4]
push eax
call fcn.10014a20
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x94]
call fcn.100044b0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 0xe4]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.10015270
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x1c]
call fcn.10015330
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
mov dword [ebp + 0x1c], esi
test esi, esi
je 0x1000c426
lock inc dword [esi + 4]
mov esi, dword [eax + 0x28]
mov dword [ebp + 0x1c], esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1000c454
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000c454
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000c454
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x94]
call fcn.10001e00
lea ecx, [ebp - 0xc4]
call fcn.10001e00
lea ecx, [ebp - 0xdc]
call fcn.10001e00
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
test dword [ebp + 0xc], 0x20000
jne 0x1000c4b2
cmp dword [ebp + 0x10], 1
jne 0x1000c4b2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp byte [eax + 0xc], 0
je 0x1000c4b2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
mov byte [ebp - 0x28], 1
call 0x105c74aa
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x60]
push 0
sub esp, 8
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], esi
call fcn.1000d440
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x1000c567
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10014b80
cmp byte [ebp - 0x28], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
je 0x1000c531
push dword [ebp - 0x2c]
call 0x105f1699
ret
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x1000c2dd
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000c2dd
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000c2dd
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000c2dd
test dword [ebp + 0xc], 0x4000
jne 0x1000c617
push 1
sub esp, 8
lea ecx, [esi + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], esi
call fcn.1000d440
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x1000c617
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10014b80
cmp byte [ebp - 0x28], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
je 0x1000c5e1
push dword [ebp - 0x2c]
call 0x1054f85f
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x1000c2dd
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000c2dd
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000c2dd
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000c2dd
mov byte [ebp - 4], 6
cmp byte [ebp - 0x28], 0
je 0x1000c62a
push dword [ebp - 0x2c]
call 0x106223c6
mov eax, dword [ebp + 0xc]
and eax, 0x10
mov dword [ebp - 0x1c], eax
jne 0x1000c73f
lea eax, [esi + 4]
lock inc dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 0xc
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
cmp ecx, eax
je 0x1000c718
mov eax, dword [ecx + 0x24]
test eax, 0x20000000
je 0x1000c686
test eax, eax
jns 0x1000c675
mov eax, 0x40
jmp 0x1000c69d
and eax, 0x40000000
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
jmp 0x1000c69d
test eax, eax
jns 0x1000c691
mov eax, 4
jmp 0x1000c69d
test eax, 0x40000000
je 0x1000c6b4
mov eax, 2
push 0
push dword [ecx + 8]
push dword [ecx + 0xc]
mov ecx, dword [ebp - 0x34]
push eax
call fcn.1001b4b0
test eax, eax
js 0x1000c718
jmp 0x1000c706
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 0x58
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
test eax, eax
je 0x1000c6d5
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x38], eax
jmp 0x1000c6e9
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov edx, dword [ecx + 0xc]
xor eax, eax
add edx, dword [ebp - 0x64]
push 0x4000
push dword [ecx + 8]
adc eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x6c]
push eax
push edx
call fcn.10022970
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x28]
jne 0x1000c660
lea ecx, [esi + 4]
mov byte [ebp - 4], 6
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1000c742
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea ecx, [esi + 8]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1000c73f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esi + 4]
test dword [ebp + 0xc], 0x1000
jne 0x1000c7b0
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], esi
call fcn.1000dc40
mov dword [ebp - 0x28], eax
test eax, eax
jns 0x1000c7b0
cmp eax, 0xc0000225
je 0x1000c7b0
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10014b80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
jmp 0x1000c531
sub esp, 8
lea ecx, [esi + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], esi
call fcn.1000dfe0
mov dword [ebp - 0x28], eax
test eax, eax
jns 0x1000c811
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10014b80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
jmp 0x1000c531
cmp dword [ebp - 0x1c], 0
je 0x1000c85b
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
call fcn.1000ffa0
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x1000c85b
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10014b80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
jmp 0x1000c531
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
test eax, eax
je 0x1000c871
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], edx
jmp 0x1000c885
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x1000c899
xor edx, edx
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x38]
jmp 0x1000c8a7
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x150], eax
mov eax, dword [ebp + 0xc]
and al, 2
mov dword [ecx + 0x154], edx
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xff
mov dword [ecx + 0x148], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
test edx, edx
je 0x1000c8fd
push dword [ebp - 0x44]
push dword [eax]
push dword [eax + 0x38]
lea eax, [ebp - 0x4c]
push 1
push eax
call edx
mov eax, dword [ebp - 0x48]
add esp, 0x14
mov ecx, dword [ebp - 0x10]
cmp eax, 0xde
je 0x1000c8fa
mov dword [ecx + 0x148], eax
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0x148], 0
je 0x1000c919
mov ecx, dword [eax]
push dword [ebp - 0x24]
add ecx, 0x1e0
call fcn.1001dca0
mov ecx, dword [ebp - 0x10]
test dword [ebp + 0xc], 0x10000
jne 0x1000ca62
lea eax, [esi + 4]
lock inc dword [eax]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 0xd
cmp byte [ecx + 0xd], 0
je 0x1000c946
mov eax, dword [ecx + 0x18]
add eax, 0xd0
jmp 0x1000c94e
mov eax, dword [ecx + 0x14]
add eax, 0xc0
mov eax, dword [eax]
test eax, eax
jne 0x1000c959
mov dword [ebp + 0xc], eax
jmp 0x1000c967
push 1
push eax
call fcn.10017da0
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx + 0xf0]
test eax, eax
je 0x1000c97e
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], eax
jmp 0x1000c992
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 8]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp + 0xc]
cdq
sub eax, ecx
sbb edx, esi
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
adc edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000ca38
cmp dword [eax + 8], 0
je 0x1000ca38
mov eax, dword [ebp - 0x14]
push edx
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push dword [ebp - 0x24]
add ecx, 0x1e0
call fcn.1001e300
mov dword [ebp + 0xc], eax
mov ecx, edi
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 6
lock xadd dword [eax], ecx
mov esi, dword [ebp - 0x30]
jne 0x1000ca00
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
mov eax, edi
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x1000ca00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp + 0xc], 0
jge 0x1000ca62
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.10014b80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov byte [eax + 0xc], 0
jmp 0x1000c531
mov ecx, dword [ebp - 0x60]
mov eax, edi
mov byte [ebp - 4], 6
lock xadd dword [ecx], eax
mov esi, dword [ebp - 0x30]
jne 0x1000ca62
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x1000ca62
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
test eax, eax
je 0x1000ca72
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1000ca80
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x70]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10017e40
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10017360
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
test eax, eax
je 0x1000caa4
mov byte [eax + 0x10], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x28]
je 0x1000cabf
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], esi
xor ecx, ecx
add dword [edx + 0x24], 8
jmp 0x1000cacf
lea eax, [ebp - 0x78]
push eax
push ecx
lea ecx, [edx + 0x20]
call fcn.10010bb0
mov ecx, dword [ebp - 0x74]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0xc], ecx
mov dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
test ecx, ecx
je 0x1000be04
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000be04
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0xc]
lock xadd dword [ecx + 8], edi
dec edi
jne 0x1000be04
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.1000b130
int3