Function at 0x1018b900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a751a
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x101df584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x84], 0
mov ecx, edx
mov dword [ebp - 4], 0
sub ecx, dword [edx]
mov esi, 0x18
or edi, 0xffffffff
movzx eax, word [ecx]
cmp si, ax
jae 0x1018c829
movzx eax, word [ecx + 0x18]
lea ecx, [edx + eax]
test ax, ax
je 0x1018c829
mov edx, dword [ecx]
add edx, ecx
mov dword [ebp - 0xe4], edx
je 0x1018c829
xor eax, eax
mov dword [ebp - 0xb8], eax
cmp dword [edx], eax
jbe 0x1018c829
lea eax, [eax + 1]
mov dword [ebp - 0xa0], 0
mov edi, dword [edx + eax*4]
lea eax, [edx + eax*4]
mov esi, 6
mov dword [ebp - 0x9c], 0
add edi, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov ecx, edi
mov byte [ebp - 4], 2
sub ecx, dword [edi]
movzx eax, word [ecx]
cmp si, ax
jae 0x1018baf7
movzx eax, word [ecx + 6]
lea ecx, [edi + eax]
test ax, ax
je 0x1018baf7
mov eax, dword [ecx]
add eax, ecx
je 0x1018baf7
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x80], esi
call fcn.10006620
cmp dword [eax], esi
jbe 0x1018baf7
nop dword [eax]
mov ecx, edi
call fcn.10006620
mov ecx, edi
mov esi, dword [eax + esi*4 + 4]
call fcn.10008230
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea eax, [eax + esi*4]
add eax, 4
mov ecx, dword [eax]
push dword [ecx + eax]
add ecx, 4
add eax, ecx
lea ecx, [ebp - 0x60]
push eax
call fcn.10001380
or dword [ebp - 0x84], 0x10
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
push ecx
cmp eax, dword [ebp - 0x98]
je 0x1018ba9d
mov ecx, eax
call fcn.10016970
add dword [ebp - 0x9c], 0x18
jmp 0x1018baa9
push eax
lea ecx, [ebp - 0xa0]
call fcn.10183c00
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x1018bae1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1018bad7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push edx
call fcn.10196271
add esp, 8
mov esi, dword [ebp - 0x80]
mov ecx, edi
inc esi
mov dword [ebp - 0x80], esi
call fcn.10006620
cmp esi, dword [eax]
jb 0x1018ba30
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x80], esi
call fcn.10006650
cmp dword [eax], esi
jbe 0x1018bbea
nop dword [eax + eax]
mov ecx, edi
call fcn.10006650
mov ecx, edi
mov esi, dword [eax + esi*4 + 4]
call fcn.10008230
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea eax, [eax + esi*4]
add eax, 4
mov ecx, dword [eax]
push dword [ecx + eax]
add ecx, 4
add eax, ecx
lea ecx, [ebp - 0x60]
push eax
call fcn.10001380
or dword [ebp - 0x84], 2
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 4
cmp eax, dword [ebp - 0x8c]
je 0x1018bb8c
movups xmm0, xmmword [ebp - 0x60]
mov ecx, 0xf
mov byte [ebp - 0x60], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x90], 0x18
jmp 0x1018bb9f
lea ecx, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.10183c00
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x1018bbd4
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1018bbca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push edx
call fcn.10196271
add esp, 8
mov esi, dword [ebp - 0x80]
mov ecx, edi
inc esi
mov dword [ebp - 0x80], esi
call fcn.10006650
cmp esi, dword [eax]
jb 0x1018bb10
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
push 0x54
mov byte [ebp - 4], 5
call fcn.10196241
mov esi, eax
mov dword [ebp - 0xac], eax
add esp, 4
mov dword [ebp - 0xa8], esi
test esi, esi
je 0x1018bcb2
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
jmp 0x1018bcba
xor esi, esi
mov dword [ebp - 0xac], esi
push 0
push esi
mov ecx, edi
call fcn.1015bf20
mov dword [ebp - 0xe8], esi
push 0x80
mov byte [ebp - 4], 6
call fcn.10196241
add esp, 4
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x1018bdb5
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
movups xmmword [eax + 0x68], xmm0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0xf
mov byte [eax + 0x68], 0
jmp 0x1018bdba
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa8], eax
lea edx, [eax + 0x28]
lea ecx, [esi + 0x3c]
mov dword [ebp - 0x7c], edx
cmp edx, ecx
je 0x1018be00
mov ecx, edx
call fcn.101510d0
mov edx, dword [ebp - 0x7c]
mov eax, dword [esi + 0x3c]
mov dword [edx], eax
mov eax, dword [esi + 0x40]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x44]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
lea edx, [eax + 0x48]
lea ecx, [esi + 0x30]
mov dword [ebp - 0x7c], edx
cmp edx, ecx
je 0x1018be40
mov ecx, edx
call fcn.10010c60
mov edx, dword [ebp - 0x7c]
mov eax, dword [esi + 0x30]
mov dword [edx], eax
mov eax, dword [esi + 0x34]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x38]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [eax + 0x18]
add esi, 0x48
mov dword [ebp - 0x7c], ecx
cmp ecx, esi
je 0x1018be7c
call fcn.10056f70
mov ecx, dword [ebp - 0x7c]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor ecx, ecx
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0x100
mov dword [ebp - 0x14], ecx
push ecx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10151f10
mov eax, dword [ebp - 0x30]
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x28], eax
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
sub ecx, 4
dec eax
and ecx, eax
mov dword [ebp - 0x7c], ecx
push ecx
lea ecx, [ebp - 0x44]
call fcn.10034b90
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x7c]
sub esi, eax
xor eax, eax
mov dword [ebp - 0x2c], esi
test ecx, ecx
je 0x1018bf2c
nop word [eax + eax]
mov byte [esi + eax], 0
inc eax
mov esi, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x1018bf20
mov eax, dword [ebp - 0x1c]
mov ecx, 4
cmp eax, 4
cmovb eax, ecx
sub esi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
and esi, 3
mov dword [ebp - 0x1c], eax
push esi
call fcn.10034b90
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
xor eax, eax
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x1018bf6c
nop dword [eax]
mov byte [ecx + eax], 0
inc eax
mov ecx, dword [ebp - 0x2c]
cmp eax, esi
jb 0x1018bf60
mov edx, dword [ebp - 0x30]
mov esi, 4
sub edx, ecx
mov ecx, dword [ebp - 0x34]
mov eax, ecx
sub eax, dword [ebp - 0xdc]
add eax, 4
add eax, edx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 4
cmovb eax, esi
lea esi, [ecx + edx]
neg esi
mov dword [ebp - 0x1c], eax
and esi, 3
lea ecx, [ebp - 0x44]
push esi
call fcn.10034b90
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
xor eax, eax
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x1018bfc2
mov byte [ecx + eax], 0
inc eax
cmp eax, esi
jae 0x1018bfc2
mov ecx, dword [ebp - 0x2c]
jmp 0x1018bfb4
push 4
lea ecx, [ebp - 0x44]
call fcn.10034b90
mov ecx, dword [ebp - 0x2c]
push 1
push dword [ebp - 0xb4]
sub ecx, eax
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0xe0]
mov dword [ebp - 0x2c], ecx
sub esp, 8
mov dword [ecx], eax
mov ecx, esp
mov byte [ebp - 0x1d], 1
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1018c008
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
add ecx, dword [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1018e780
add esp, 0x24
lea ecx, [ebp - 0xf8]
push eax
call fcn.101827b0
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xf0], ecx
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, dword [ebp - 0xf4]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0xec], ecx
test esi, esi
je 0x1018c094
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1018c094
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1018c094
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, edi
mov eax, 4
sub ecx, dword [edi]
cmp ax, word [ecx]
jae 0x1018c15c
movzx eax, word [ecx + 4]
lea edx, [edi + eax]
test ax, ax
je 0x1018c15c
mov eax, dword [edx]
add eax, edx
je 0x1018c15c
movzx eax, word [ecx + 4]
lea ecx, [edi + eax]
test ax, ax
je 0x1018c0d2
mov eax, dword [ecx]
add eax, ecx
jmp 0x1018c0d4
xor eax, eax
push dword [eax]
add eax, 4
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push eax
lea ecx, [ebp - 0x60]
movups xmmword [ebp - 0x60], xmm0
call fcn.10001380
mov esi, dword [ebp - 0xb0]
lea eax, [ebp - 0x60]
or dword [ebp - 0x84], 8
add esi, 0x20
cmp esi, eax
je 0x1018c128
mov ecx, esi
call fcn.10001690
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
jmp 0x1018c15c
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1018c15c
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1018c152
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push edx
call fcn.10196271
add esp, 8
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1018c175
mov ecx, esi
call fcn.10034340
push 0xc
push esi
call fcn.10196271
add esp, 8
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 9
test edx, edx
je 0x1018c1a7
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
push edx
test ecx, ecx
je 0x1018c192
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x1018c1a7
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x101ac80c
call fcn.10034b80
cmp byte [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
je 0x1018c1c1
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1018c1c1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
test eax, eax
je 0x1018c1df
push eax
lea ecx, [ebp - 0xa8]
call fcn.10151ba0
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1018c1f4
push 1
call fcn.10151c90
mov ecx, edi
mov esi, 4
sub ecx, dword [edi]
movzx eax, word [ecx]
cmp si, ax
jae 0x1018c217
movzx eax, word [ecx + 4]
lea ecx, [edi + eax]
test ax, ax
je 0x1018c217
mov eax, dword [ecx]
add eax, ecx
jmp 0x1018c219
xor eax, eax
push dword [eax]
add eax, 4
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push eax
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x78], xmm0
call fcn.10001380
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
test ecx, ecx
je 0x1018c2cf
lock inc dword [ecx + 4]
mov eax, dword [ebp - 0xb0]
xorps xmm0, xmm0
cmp dword [ebp - 0x64], 0x10
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0xc0], eax
setae byte [ebp - 0x85]
mov dword [ebp - 0xbc], ecx
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
cmovae eax, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], eax
movups xmmword [ebp - 0x48], xmm0
cmp edi, 0x7fffffff
ja 0x1018c86f
mov dword [ebp - 0x34], 0xf
cmp edi, 0x10
jae 0x1018c342
push 0x10
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], edi
push eax
call sub.VCRUNTIME140.dll_memmove
jmp 0x1018c386
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1018c356
mov esi, 0x7fffffff
jmp 0x1018c361
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x48]
call fcn.10001e80
lea ecx, [edi + 1]
mov dword [ebp - 0x48], eax
push ecx
push dword [ebp - 0xa8]
mov dword [ebp - 0x38], edi
push eax
mov dword [ebp - 0x34], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0xd8]
push eax
call fcn.1000ab30
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x24]
call fcn.1000ab30
mov esi, dword [ebp - 0xbc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test esi, esi
je 0x1018c3d4
lock inc dword [esi + 4]
mov eax, dword [ebp - 0xc0]
or dword [ebp - 0x84], 5
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xe
push eax
call fcn.10188570
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
test edi, edi
je 0x1018c42d
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1018c42d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1018c42d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.10010c60
lea ecx, [ebp - 0x30]
call fcn.10010c60
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1018c471
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1018c467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push edx
call fcn.10196271
add esp, 8
mov byte [ebp - 4], 0xa
test esi, esi
je 0x1018c49b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1018c49b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1018c49b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0xcc]
test edi, edi
je 0x1018c54d
mov eax, dword [ebp - 0xc8]
mov esi, edi
cmp esi, eax
je 0x1018c506
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1018c4ee
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1018c4de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
mov eax, edx
push ecx
push eax
call fcn.10196271
mov eax, dword [ebp - 0xc8]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, eax
jne 0x1018c4b5
mov ecx, dword [ebp - 0xc4]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1018c543
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push edi
call fcn.10196271
add esp, 8
mov edi, dword [ebp - 0xd8]
test edi, edi
je 0x1018c5ff
mov eax, dword [ebp - 0xd4]
mov esi, edi
cmp esi, eax
je 0x1018c5b8
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1018c5a0
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1018c590
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
mov eax, edx
push ecx
push eax
call fcn.10196271
mov eax, dword [ebp - 0xd4]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, eax
jne 0x1018c567
mov ecx, dword [ebp - 0xd0]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1018c5f5
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push edi
call fcn.10196271
add esp, 8
cmp byte [ebp - 0x85], 0
mov byte [ebp - 4], 5
je 0x1018c63e
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1018c634
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push edx
call fcn.10196271
add esp, 8
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x1018c667
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1018c667
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1018c667
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x94]
mov byte [ebp - 4], 1
test esi, esi
je 0x1018c739
mov edi, dword [ebp - 0x90]
cmp esi, edi
je 0x1018c6d4
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1018c6b6
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1018c6ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
mov eax, edx
push ecx
push eax
call fcn.10196271
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x1018c683
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1018c711
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push esi
call fcn.10196271
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov esi, dword [ebp - 0xa0]
mov byte [ebp - 4], 0
test esi, esi
je 0x1018c80b
mov edi, dword [ebp - 0x9c]
cmp esi, edi
je 0x1018c7a6
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1018c788
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1018c77e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
mov eax, edx
push ecx
push eax
call fcn.10196271
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x1018c755
mov esi, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1018c7e3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1018c869
push ecx
push esi
call fcn.10196271
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xb8], eax
cmp eax, dword [edx]
jb 0x1018b99b
or edi, 0xffffffff
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1018c84e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1018c84e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1018c84e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019627f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.10001e70
int3