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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10199a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x101df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push 0x1c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.10196241
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
or esi, 0xffffffff
mov dword [ebp - 4], 0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], eax
cmp ebx, eax
je 0x1001bd95
mov eax, dword [ebx + 0x3c]
xor edx, edx
mov ecx, dword [ebx + 0x38]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x1001bd80
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], eax
nop dword [eax]
nop dword [eax + eax]
lea eax, [edx*4]
mov edi, dword [eax + ecx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x1001bb77
inc dword [edi + 4]
push 0x44
mov byte [ebp - 4], 1
call fcn.10196241
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1001bbff
mov dword [esi + 4], 1
mov dword [esi], vtable.MNN::Command.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 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
jmp 0x1001bc01
xor esi, esi
mov ebx, dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
add ebx, eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x1001bc21
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x1001bc21
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [ebx], esi
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x38]
add esi, eax
mov eax, dword [esi]
test eax, eax
je 0x1001bc34
inc dword [eax + 4]
test edi, edi
je 0x1001bc49
dec dword [edi + 4]
cmp dword [edi + 4], 0
jg 0x1001bc49
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov esi, dword [esi]
lea eax, [edi + 0xc]
mov dword [ebp - 0x24], esi
lea edx, [esi + 0xc]
cmp edx, eax
je 0x1001bc6b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
push eax
push ecx
mov ecx, edx
call fcn.10002300
lea eax, [edi + 0x18]
lea edx, [esi + 0x18]
cmp edx, eax
je 0x1001bc88
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
push eax
push ecx
mov ecx, edx
call fcn.10002300
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1001bc99
lock inc dword [eax + 4]
mov ebx, dword [esi + 0x28]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
test ebx, ebx
je 0x1001bccd
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1001bccd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1001bccd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edx, dword [edi + 8]
mov ebx, 0xe
mov ecx, edx
sub ecx, dword [edx]
movzx eax, word [ecx]
cmp bx, ax
jae 0x1001bd36
movzx eax, word [ecx + 0xe]
test ax, ax
je 0x1001bd36
cmp dword [eax + edx], 0x80
jne 0x1001bd36
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x48]
test eax, eax
je 0x1001bd01
lock inc dword [eax + 4]
mov edi, dword [esi + 0x28]
mov ecx, dword [edx + 0x48]
mov eax, dword [edx + 0x44]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
test edi, edi
je 0x1001bd36
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1001bd36
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1001bd36
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.10018650
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10018650
dec dword [esi + 4]
cmp dword [esi + 4], 0
mov byte [ebp - 4], 0
jg 0x1001bd63
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x1001bb60
add ebx, 0x50
mov dword [ebp - 0x10], ebx
cmp ebx, dword [ebp - 0x28]
jne 0x1001bb36
mov edi, dword [ebp - 0x20]
or esi, 0xffffffff
push edi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], edi
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push 1
push eax
call fcn.10016240
add esp, 0x18
mov ecx, dword [edi + 0x88]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.10002180
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1001bdec
lock xadd dword [ecx + 4], esi
dec esi
jne 0x1001bdec
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1001bde6
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x1001bdea
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x30]
push dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.1000a500
push 0x1c
push dword [ebp - 0x30]
call fcn.10196271
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4