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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fe90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100af010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [0x100aff30]
mov dword [ebp - 0x10], eax
test dword [eax + 0x5fd4], 0x100
je 0x100200f2
push dword [esi + 4]
push dword [edi]
push str._docking__DockNodeRemoveWindow_node_0x_08X_window__s_n
call fcn.10027060
add esp, 0xc
and byte [esi + 0x3a9], 0xf6
and dword [esi + 0xc], 0xfeffffff
mov ebx, dword [esi + 0x340]
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c4], 0
mov dword [esi + 0x3cc], eax
test ebx, ebx
je 0x1002016a
mov edx, dword [ebx + 0x1c8]
mov eax, edx
mov ecx, dword [ebx + 0x1c0]
lea ecx, [edx + ecx*4]
cmp eax, ecx
jae 0x1002016a
cmp dword [eax], esi
je 0x1002013f
add eax, 4
cmp eax, ecx
jb 0x10020132
jmp 0x1002016a
sub eax, edx
sar eax, 2
lea ecx, [edx + eax*4]
mov edx, dword [ebx + 0x1c0]
sub edx, eax
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec dword [ebx + 0x1c0]
mov dword [esi + 0x340], 0
mov dword [esi + 0x358], esi
mov dword [esi + 0x354], esi
mov dword [esi + 0x350], esi
mov dword [esi + 0x34c], esi
mov dword [esi + 0x348], esi
test dword [esi + 0xc], 0x800000
je 0x100201b7
mov ecx, esi
nop dword [eax]
mov eax, dword [ecx + 0x340]
mov ecx, eax
mov dword [esi + 0x358], ecx
test dword [eax + 0xc], 0x800000
jne 0x100201a0
mov eax, dword [edi + 0x74]
test eax, eax
je 0x100201e3
cmp byte [eax + 0xe6], 0
je 0x100201e3
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0xe6], 0
mov byte [esi + 0xee], 1
mov edx, dword [edi + 0x24]
xor eax, eax
test edx, edx
jle 0x10020219
mov ecx, dword [edi + 0x2c]
nop
cmp dword [ecx + eax*4], esi
je 0x100201fc
inc eax
cmp eax, edx
jl 0x100201f0
jmp 0x10020219
sub edx, eax
lea ecx, [ecx + eax*4]
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec dword [edi + 0x24]
cmp dword [edi + 0x78], esi
jne 0x10020225
mov dword [edi + 0x78], 0
or byte [edi + 0xa9], 2
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x10020294
mov edx, dword [esi + 0xac]
call fcn.1004aec0
mov eax, dword [edi + 0x10]
shr eax, 0xb
not eax
and eax, 1
inc eax
cmp dword [edi + 0x24], eax
jge 0x10020294
mov ebx, dword [edi + 0x30]
test ebx, ebx
je 0x10020294
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x94]
test ecx, ecx
je 0x1002026c
call fcn.10008350
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1002027f
call fcn.10008350
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.10008350
mov dword [edi + 0x30], 0
mov edx, dword [edi + 0x24]
test edx, edx
jne 0x100202cf
test dword [edi + 0x10], 0xc00
jne 0x100202cf
mov eax, dword [esi + 0x3cc]
cmp eax, dword [edi]
je 0x100202cf
mov ecx, dword [ebp - 0x10]
mov edx, edi
push 1
call fcn.1001ea30
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 1
jne 0x100202f9
mov eax, dword [edi + 0x10]
shr eax, 0xb
test dl, al
jne 0x100202f9
mov esi, dword [edi + 0x74]
test esi, esi
je 0x100202f9
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
mov al, byte [esi + 0xea]
mov byte [ecx + 0xea], al
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x10]
mov eax, ecx
shr ecx, 0xa
shr eax, 0xb
cmp dword [edi + 0x18], 0
movzx ecx, cl
movzx eax, al
cmovne ecx, eax
mov eax, 1
and cl, 1
test edx, edx
movzx ecx, cl
cmovg ecx, eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x10020335
test byte [eax + 0xa8], 1
je 0x10020335
mov al, 1
jmp 0x10020337
xor al, al
or cl, al
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1002034d
test byte [eax + 0xa8], 1
je 0x1002034d
mov dl, 1
jmp 0x1002034f
xor dl, dl
mov al, byte [edi + 0xa8]
and al, 0xfe
or al, dl
or al, cl
mov byte [edi + 0xa8], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret