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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64141eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x6419e6d0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x38]
xor ebx, ebx
cmp eax, ebx
jne 0x6401b19c
mov esi, dword [0x641a62d0]
cmp esi, ebx
jne 0x6401b18e
push 0x20
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6401b186
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.CCeiCtrlLog.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], ebx
jmp 0x6401b188
xor esi, esi
mov dword [0x641a62d0], esi
push str.CCeiLayout::ResizeTo_m_arrPaneItems_has_no_items
push ebx
call fcn.64018de0
add esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 4]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 8]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1c], eax
mov dword [esp + 0x30], vtable.CArray_int__int_const__.0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x78], ebx
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
call fcn.6401b7f0
mov dword [esp + 0x58], vtable.CArray_int__int_const__.0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x78], 1
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x60]
call fcn.6401b7f0
mov dword [esp + 0x44], vtable.CArray_int__int_const__.0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x78], 2
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
call fcn.6401b7f0
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x6401b247
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
jmp 0x6401b24d
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x38]
dec ecx
imul ecx, dword [edi + 0x44]
neg edx
add edx, edx
sub edx, ecx
add dword [esp + 0x10], edx
cmp eax, ebx
mov eax, dword [edi + 0x48]
jne 0x6401b278
add dword [esi + 4], eax
mov ecx, dword [edi + 0x48]
sub dword [esi + 0xc], ecx
jmp 0x6401b280
add dword [esi], eax
mov edx, dword [edi + 0x48]
sub dword [esi + 8], edx
push edi
call fcn.6401a6d0
mov esi, eax
cmp esi, 0xffffffff
jne 0x6401b320
mov esi, dword [0x641a62d0]
cmp esi, ebx
jne 0x6401b2c8
push 0x20
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6401b2c0
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.CCeiCtrlLog.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], ebx
jmp 0x6401b2c2
xor esi, esi
mov dword [0x641a62d0], esi
push str.CCeiLayout::ResizeTo_nGreedy___1
push ebx
call fcn.64018de0
mov eax, dword [esp + 0x50]
add esp, 8
cmp eax, ebx
je 0x6401b2e7
push eax
call fcn.6401c80c
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x6401b2f8
push eax
call fcn.6401c80c
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x6401b309
push eax
call fcn.6401c80c
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x5c]
push edx
push edi
call fcn.6401afb0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.6401a520
test al, al
jne 0x6401b356
push str.CCeiLayout::ResizeTo_resizeToAbsolute___1
push ebx
call fcn.64018d90
mov esi, eax
jmp 0x6401b2ce
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.64019f20
test al, al
jne 0x6401b37c
push str.CCeiLayout::ResizeTo_resizeToRelative___1
push ebx
call fcn.64018d90
mov esi, eax
jmp 0x6401b2ce
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x38]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.6401a7e0
test al, al
jne 0x6401b3ad
push str.CCeiLayout::ResizeTo_resizeToGreedy___1
push ebx
call fcn.64018d90
mov esi, eax
jmp 0x6401b2ce
cmp dword [esp + 0x10], ebx
jle 0x6401b5d3
cmp dword [edi + 0x38], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jle 0x6401b5d3
jmp 0x6401b3d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jl 0x6401b4ea
cmp eax, dword [edi + 0x38]
jge 0x6401b4ea
mov edx, dword [edi + 0x34]
mov esi, dword [edx + eax*8 + 4]
lea eax, [edx + eax*8]
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x24], vtable.CCeiPaneObject.0
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp esi, ebx
jne 0x6401b40d
xor eax, eax
jmp 0x6401b410
mov eax, dword [esi + 4]
mov edx, 1
cmp dword [eax + 4], edx
je 0x6401b472
mov ecx, dword [edi + 0x2c]
cmp ecx, ebx
jne 0x6401b445
cmp esi, ebx
jne 0x6401b429
xor eax, eax
jmp 0x6401b42c
mov eax, dword [esi + 4]
test byte [eax + 8], dl
je 0x6401b445
cmp esi, ebx
jne 0x6401b439
xor eax, eax
jmp 0x6401b43c
mov eax, dword [esi + 4]
test dword [eax + 8], 0x100
jne 0x6401b46e
cmp ecx, edx
jne 0x6401b472
cmp esi, ebx
jne 0x6401b451
xor eax, eax
jmp 0x6401b454
mov eax, dword [esi + 4]
test byte [eax + 8], 4
je 0x6401b472
cmp esi, ebx
jne 0x6401b462
xor esi, esi
jmp 0x6401b465
mov esi, dword [esi + 4]
test dword [esi + 8], 0x200
je 0x6401b472
add dword [esp + 0x14], edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 2
call fcn.6401c6c0
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [edi + 0x38]
mov dword [esp + 0x18], eax
jl 0x6401b3d0
cmp dword [esp + 0x14], ebx
jle 0x6401b5d3
cmp dword [edi + 0x38], ebx
mov dword [esp + 0x18], ebx
jle 0x6401b5d3
lea esp, [esp]
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x6401b4ea
cmp eax, dword [edi + 0x38]
jge 0x6401b4ea
mov edx, dword [edi + 0x34]
mov esi, dword [edx + eax*8 + 4]
lea eax, [edx + eax*8]
lea ebx, [esi + 8]
push ebx
mov dword [esp + 0x24], vtable.CCeiPaneObject.0
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x78], 4
test esi, esi
jne 0x6401b4ef
xor eax, eax
jmp 0x6401b4f2
call fcn.6401d5d9
mov eax, dword [esi + 4]
cmp dword [eax + 4], 1
jne 0x6401b52b
mov byte [esp + 0x78], 2
mov dword [esp + 0x20], vtable.CCeiPaneObject.0
test esi, esi
je 0x6401b5bf
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x6401b5bf
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x6401b5bf
mov ecx, dword [edi + 0x2c]
test ecx, ecx
jne 0x6401b557
test esi, esi
jne 0x6401b53a
xor eax, eax
jmp 0x6401b53d
mov eax, dword [esi + 4]
test byte [eax + 8], 1
je 0x6401b557
test esi, esi
jne 0x6401b54b
xor eax, eax
jmp 0x6401b54e
mov eax, dword [esi + 4]
test dword [eax + 8], 0x100
jne 0x6401b57d
cmp ecx, 1
jne 0x6401b5aa
test esi, esi
jne 0x6401b564
xor eax, eax
jmp 0x6401b567
mov eax, dword [esi + 4]
test byte [eax + 8], 4
je 0x6401b5aa
test esi, esi
je 0x6401b574
mov esi, dword [esi + 4]
test dword [esi + 8], 0x200
je 0x6401b5aa
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x38]
jge 0x6401b4ea
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, esi
cdq
idiv ebx
mov edx, dword [esp + 0x34]
add dword [edx + ecx*4], eax
sub esi, eax
dec ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 2
call fcn.6401c6c0
cmp dword [esp + 0x14], 0
jle 0x6401b5d1
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [edi + 0x38]
mov dword [esp + 0x18], eax
jl 0x6401b4b0
xor ebx, ebx
cmp dword [edi + 0x2c], ebx
jne 0x6401b5df
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
jmp 0x6401b5e5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ebx, dword [edi + 0x48]
xor esi, esi
add ebx, eax
cmp dword [edi + 0x38], esi
jle 0x6401b6fc
test esi, esi
jl 0x6401b4ea
cmp esi, dword [edi + 0x38]
jge 0x6401b4ea
mov eax, dword [edi + 0x34]
lea eax, [eax + esi*8]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
add eax, 8
push eax
mov dword [esp + 0x1c], vtable.CCeiPaneObject.0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x78], 5
cmp dword [edi + 0x2c], 0
jne 0x6401b657
cmp esi, dword [esp + 0x38]
jge 0x6401b4ea
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
mov edx, dword [edx + 4]
push ecx
add eax, ebx
push eax
push edx
push ebx
lea ecx, [esp + 0x30]
push ecx
jmp 0x6401b67b
cmp esi, dword [esp + 0x38]
jge 0x6401b4ea
mov edx, dword [esp + 0x34]
mov eax, dword [edx + esi*4]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov edx, dword [edx]
add eax, ebx
push eax
push ecx
push ebx
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x6401b68d
xor ecx, ecx
jmp 0x6401b690
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x20]
push eax
call edx
cmp dword [esp + 0x1c], 0
jne 0x6401b6a7
xor eax, eax
jmp 0x6401b6ae
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
cmp dword [eax + 4], 1
je 0x6401b6c0
mov ecx, dword [edi + 0x44]
mov edx, dword [esp + 0x34]
add ecx, dword [edx + esi*4]
add ebx, ecx
mov byte [esp + 0x78], 2
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CCeiPaneObject.0
je 0x6401b6f2
mov eax, dword [esp + 0x1c]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x6401b6f2
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [edi + 0x38]
jl 0x6401b5f5
mov eax, dword [esp + 0x48]
test eax, eax
je 0x6401b70d
push eax
call fcn.6401c80c
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x6401b71e
push eax
call fcn.6401c80c
add esp, 4
cmp dword [esp + 0x34], 0
je 0x6401b732
mov eax, dword [esp + 0x34]
push eax
call fcn.6401c80c
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4