Function at 0x410c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d06a6
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, ecx
push 0x10
call edi
sub eax, 0x14
push 0x11
mov dword [esi + 0x4b11], eax
call edi
sub eax, 0x14
push esi
lea ecx, [esi + 0x368]
push 0xac
mov dword [esi + 0x4b15], eax
call fcn.005aff2b
push esi
lea ecx, [esi + 0x35ac]
push 0x98
call fcn.005aff2b
push esi
lea ecx, [esi + 0x4145]
push 0xeb
call fcn.005aff2b
push esi
lea ecx, [esi + 0x144]
push 0x291c
call fcn.005aff2b
mov eax, dword [esi + 0x10c]
cmp eax, 3
jne 0x410caf
push esi
push 0xde
lea ecx, [esi + 0x3b89]
call fcn.005aff2b
push esi
push 0xdd
lea ecx, [esi + 0x3ab9]
jmp 0x410cc0
cmp eax, 2
jne 0x410cc5
push esi
push 0xde
lea ecx, [esi + 0x3b89]
call fcn.005aff2b
mov edi, dword [esi + 0x134]
xor ebp, ebp
cmp edi, ebp
je 0x410ce3
mov eax, edi
mov edi, dword [edi + 4]
push eax
call fcn.005b44c3
add esp, 4
cmp edi, ebp
jne 0x410cd1
mov dword [esi + 0x134], ebp
mov dword [esi + 0x138], ebp
mov dword [esi + 0x130], ebp
mov edi, dword [esi + 0x120]
cmp edi, ebp
je 0x410d11
mov eax, edi
mov edi, dword [edi + 4]
push eax
call fcn.005b44c3
add esp, 4
cmp edi, ebp
jne 0x410cff
mov eax, 0x64
mov ecx, 0x87f5b8
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, 0x3e8
mov dword [esi + 0x120], ebp
mov dword [esi + 0x124], ebp
mov dword [esi + 0x11c], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00596130
lea eax, [esp + 0x28]
mov ecx, 0x87f5b8
push eax
push str.derive
push str.object_dockpage
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
mov edi, eax
call fcn.00596140
cmp edi, 1
mov ebx, 0x309
jne 0x411104
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x410da3
cmp eax, dword [esi + 0x10c]
jne 0x411104
mov ecx, 0x87f5b8
call fcn.00596130
lea ecx, [esp + 0x14]
push ecx
push str.value
push str.width
push str.object_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x410ddc
mov dword [esp + 0x14], 0xeb
lea edx, [esp + 0x1c]
mov ecx, 0x87f5b8
push edx
push str.value
push str.height
push str.object_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x410e07
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x24]
mov ecx, 0x87f5b8
push eax
push str.value
push str.dockpos
push str.object_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x410e36
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x18]
push ecx
push str.default
push str.width
push str.object_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x410e65
mov dword [esp + 0x18], 0xeb
lea edx, [esp + 0x10]
mov ecx, 0x87f5b8
push edx
push str.default
push str.height
push str.object_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x410e90
mov dword [esp + 0x10], ebx
mov ecx, 0x87f5b8
call fcn.00596140
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, ebp
setl cl
dec ecx
and ecx, eax
mov eax, dword [esi + 0x4b11]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x410eba
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
xor edx, edx
cmp ecx, ebp
setl dl
dec edx
and edx, ecx
mov ecx, dword [esi + 0x4b15]
cmp edx, ecx
mov dword [esp + 0x1c], edx
jl 0x410eda
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x18]
xor edx, edx
cmp edi, ebp
setl dl
dec edx
and edx, edi
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x410ef4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor edx, edx
cmp eax, ebp
setl dl
dec edx
and eax, edx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x410f0e
mov dword [esp + 0x10], ecx
push 0x16c
call fcn.005b449a
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xd8], ebp
je 0x410f35
mov ecx, eax
call fcn.0059e24f
mov edi, eax
jmp 0x410f37
xor edi, edi
cmp edi, ebp
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x2c], edi
je 0x412a02
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0x50002800
push 0x1fe
push 1
push ecx
push eax
push esi
push str.dockPageBar1
mov ecx, edi
call dword [edx + 0xe4]
test eax, eax
je 0x412a02
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.0059e54f
mov eax, dword [edi + 0x64]
mov ecx, edi
or al, 0x34
push eax
call fcn.005ccd17
push 0xf000
mov ecx, edi
call fcn.005a09e3
mov eax, dword [esp + 0x24]
push ebp
add eax, 0xe81b
mov ecx, esi
push eax
push edi
call fcn.005c991c
call fcn.00596b38
mov ecx, eax
mov eax, 0xea6
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 4]
cmp eax, ebp
je 0x410fe8
mov eax, dword [eax + edx*4]
cmp eax, ebp
je 0x410fe8
mov edx, 0xea61
cmp dword [eax + 8], edx
je 0x411042
mov eax, dword [eax]
cmp eax, ebp
jne 0x410fdd
xor eax, eax
mov ecx, dword [esi + 0x1c]
push 0xdf
push eax
lea eax, [esi + 0x368]
push ecx
push eax
mov ecx, edi
call fcn.0059f97d
push 0xc
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x138]
add esp, 4
cmp ecx, ebp
jne 0x41105f
mov edx, dword [esi + 0x134]
mov dword [eax], ebp
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x134]
cmp ecx, ebp
je 0x411030
mov dword [ecx], eax
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x134], eax
cmp ecx, ebp
jne 0x411083
jmp 0x41107d
cmp eax, ebp
je 0x410fe8
lea ebx, [ecx + 0x1c]
add eax, 0xc
push eax
mov ecx, ebx
call fcn.005b48a8
push 1
mov ecx, ebx
call fcn.005b4ba6
jmp 0x410fea
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
cmp edx, ebp
je 0x411070
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x138]
cmp ecx, edx
jne 0x411083
mov dword [esi + 0x138], eax
mov edx, dword [esi + 0x130]
push ebp
inc edx
mov ecx, edi
mov dword [esi + 0x130], edx
call fcn.0059f46e
push 0xc
mov edi, eax
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x124]
add esp, 4
cmp ecx, ebp
jne 0x4110da
mov ecx, dword [esi + 0x120]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x120]
cmp ecx, ebp
je 0x4110c8
mov dword [ecx], eax
mov ecx, dword [esi + 0x124]
mov dword [esi + 0x120], eax
cmp ecx, ebp
jne 0x4110fe
jmp 0x4110f8
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
cmp edx, ebp
je 0x4110eb
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x124]
cmp ecx, edx
jne 0x4110fe
mov dword [esi + 0x124], eax
inc dword [esi + 0x11c]
mov ecx, 0x87f5b8
call fcn.00596130
lea eax, [esp + 0x28]
mov ecx, 0x87f5b8
push eax
push str.derive
push str.layer_dockpage
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
mov edi, eax
call fcn.00596140
cmp edi, 1
jne 0x4114cd
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x411155
cmp eax, dword [esi + 0x10c]
jne 0x4114cd
push 0x16c
call fcn.005b449a
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xd8], 1
je 0x411180
mov ecx, eax
call fcn.0059e24f
mov edi, eax
jmp 0x411182
xor edi, edi
cmp edi, ebp
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x2c], edi
je 0x412a02
mov ecx, 0x87f5b8
call fcn.00596130
lea ecx, [esp + 0x14]
push ecx
push str.value
push str.width
push str.layer_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
mov ebx, 0x11d
jne 0x4111d3
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x1c]
mov ecx, 0x87f5b8
push edx
push str.value
push str.height
push str.layer_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x411202
mov dword [esp + 0x1c], 0x309
lea eax, [esp + 0x24]
mov ecx, 0x87f5b8
push eax
push str.value
push str.dockpos
push str.layer_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x411231
mov dword [esp + 0x24], 2
lea ecx, [esp + 0x18]
push ecx
push str.default
push str.width
push str.layer_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x41125c
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x10]
mov ecx, 0x87f5b8
push edx
push str.default
push str.height
push str.layer_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x41128b
mov dword [esp + 0x10], 0x309
mov ecx, 0x87f5b8
call fcn.00596140
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, ebp
setl cl
dec ecx
and eax, ecx
mov ecx, dword [esi + 0x4b11]
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4112b5
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
xor ebx, ebx
cmp edx, ebp
setl bl
dec ebx
and ebx, edx
mov edx, dword [esi + 0x4b15]
cmp ebx, edx
jl 0x4112cf
mov ebx, edx
mov ebp, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
setl al
dec eax
mov dword [esp + 0x1c], ebx
and eax, ebp
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4112ed
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x411307
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0x50002800
push 0x1ff
push 1
push ebx
push eax
push esi
push str.dockPageBar2
mov ecx, edi
call dword [edx + 0xe4]
test eax, eax
je 0x412a02
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.0059e54f
mov eax, dword [edi + 0x64]
mov ecx, edi
or al, 0x34
push eax
call fcn.005ccd17
push 0x5000
mov ecx, edi
call fcn.005a09e3
mov ecx, dword [esp + 0x24]
push 0
add ecx, 0xe81b
push ecx
push edi
mov ecx, esi
call fcn.005c991c
call fcn.00596b38
mov ecx, eax
mov eax, 0xea6
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41139f
mov eax, dword [eax + edx*4]
test eax, eax
je 0x41139f
mov edx, 0xea6a
cmp dword [eax + 8], edx
je 0x4113fd
mov eax, dword [eax]
test eax, eax
jne 0x411394
xor eax, eax
mov edx, dword [esi + 0x1c]
push 0xe0
push eax
lea eax, [esi + 0x35ac]
push edx
push eax
mov ecx, edi
call fcn.0059f97d
push 0xc
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x138]
add esp, 4
test ecx, ecx
jne 0x41141a
mov ecx, dword [esi + 0x134]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x4113eb
mov dword [ecx], eax
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x134], eax
test ecx, ecx
jne 0x41143e
jmp 0x411438
test eax, eax
je 0x41139f
lea ebx, [ecx + 0x1c]
add eax, 0xc
push eax
mov ecx, ebx
call fcn.005b48a8
push 1
mov ecx, ebx
call fcn.005b4ba6
jmp 0x4113a1
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x41142b
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x138]
cmp ecx, edx
jne 0x41143e
mov dword [esi + 0x138], eax
mov ecx, dword [esi + 0x130]
push 0
inc ecx
mov dword [esi + 0x130], ecx
mov ecx, edi
call fcn.0059f46e
push 0xc
mov edi, eax
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x124]
add esp, 4
test ecx, ecx
jne 0x41149a
mov ecx, dword [esi + 0x120]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x411488
mov dword [ecx], eax
mov ecx, dword [esi + 0x124]
mov dword [esi + 0x120], eax
test ecx, ecx
jne 0x4114be
jmp 0x4114b8
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x4114ab
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x124]
cmp ecx, edx
jne 0x4114be
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x11c]
inc eax
xor ebp, ebp
mov dword [esi + 0x11c], eax
mov ecx, 0x87f5b8
call fcn.00596130
lea eax, [esp + 0x28]
mov ecx, 0x87f5b8
push eax
push str.derive
push str.convert_dockpage
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
mov edi, eax
call fcn.00596140
cmp edi, 1
jne 0x411890
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x41151e
cmp eax, dword [esi + 0x10c]
jne 0x411890
push 0x16c
call fcn.005b449a
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xd8], 2
je 0x411549
mov ecx, eax
call fcn.0059e24f
mov edi, eax
jmp 0x41154b
xor edi, edi
cmp edi, ebp
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x2c], edi
je 0x412a02
mov ecx, 0x87f5b8
call fcn.00596130
lea ecx, [esp + 0x14]
push ecx
push str.value
push str.width
push str.convert_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
mov ebp, 0xbe
jne 0x41159c
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x1c]
mov ecx, 0x87f5b8
push edx
push str.value
push str.height
push str.convert_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
mov ebx, 0x17c
jne 0x4115cc
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x24]
mov ecx, 0x87f5b8
push eax
push str.value
push str.dockpos
push str.convert_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x4115fb
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x18]
push ecx
push str.default
push str.width
push str.convert_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x411626
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x10]
mov ecx, 0x87f5b8
push edx
push str.default
push str.height
push str.convert_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x411651
mov dword [esp + 0x10], ebx
mov ecx, 0x87f5b8
call fcn.00596140
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, dword [esi + 0x4b11]
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41167b
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
xor ebx, ebx
test edx, edx
setl bl
dec ebx
and ebx, edx
mov edx, dword [esi + 0x4b15]
cmp ebx, edx
jl 0x411695
mov ebx, edx
mov ebp, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
setl al
dec eax
mov dword [esp + 0x1c], ebx
and eax, ebp
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4116b3
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x4116cd
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0x50002800
push 0x200
push 1
push ebx
push eax
push esi
push str.dockPageBar3
mov ecx, edi
call dword [edx + 0xe4]
test eax, eax
je 0x412a02
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.0059e54f
mov eax, dword [edi + 0x64]
mov ecx, edi
or al, 0x34
push eax
call fcn.005ccd17
push 0x5000
mov ecx, edi
call fcn.005a09e3
mov ecx, dword [esp + 0x24]
push 0
add ecx, 0xe81b
push ecx
push edi
mov ecx, esi
call fcn.005c991c
call fcn.00596b38
mov ecx, eax
xor eax, eax
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x411762
mov eax, dword [eax + edx*4]
test eax, eax
je 0x411762
mov edx, 0xf
cmp dword [eax + 8], edx
je 0x4117c0
mov eax, dword [eax]
test eax, eax
jne 0x411757
xor eax, eax
mov edx, dword [esi + 0x1c]
push 0x10d
push eax
lea eax, [esi + 0x4145]
push edx
push eax
mov ecx, edi
call fcn.0059f97d
push 0xc
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x138]
add esp, 4
test ecx, ecx
jne 0x4117dd
mov ecx, dword [esi + 0x134]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x4117ae
mov dword [ecx], eax
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x134], eax
test ecx, ecx
jne 0x411801
jmp 0x4117fb
test eax, eax
je 0x411762
lea ebx, [ecx + 0x1c]
add eax, 0xc
push eax
mov ecx, ebx
call fcn.005b48a8
push 1
mov ecx, ebx
call fcn.005b4ba6
jmp 0x411764
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x4117ee
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x138]
cmp ecx, edx
jne 0x411801
mov dword [esi + 0x138], eax
mov ecx, dword [esi + 0x130]
push 0
inc ecx
mov dword [esi + 0x130], ecx
mov ecx, edi
call fcn.0059f46e
push 0xc
mov edi, eax
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x124]
add esp, 4
test ecx, ecx
jne 0x41185d
mov ecx, dword [esi + 0x120]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x41184b
mov dword [ecx], eax
mov ecx, dword [esi + 0x124]
mov dword [esi + 0x120], eax
test ecx, ecx
jne 0x411881
jmp 0x41187b
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x41186e
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x124]
cmp ecx, edx
jne 0x411881
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x11c]
inc eax
xor ebp, ebp
mov dword [esi + 0x11c], eax
mov ecx, 0x87f5b8
call fcn.00596130
lea eax, [esp + 0x28]
mov ecx, 0x87f5b8
push eax
push str.derive
push str.graphicLib_dockpage
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
mov edi, eax
call fcn.00596140
cmp edi, ebp
jne 0x411e47
lea ecx, [esp + 0x7c]
call fcn.00593230
push 0x20
lea ecx, [esp + 0x44]
mov dword [esp + 0xdc], 3
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], ebp
call fcn.00401510
push 0x20
lea ecx, [esp + 0x50]
mov byte [esp + 0xdc], 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ebp
call fcn.00401510
push 0x20
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 5
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x5c], ebp
call fcn.00401510
push 0x20
lea ecx, [esp + 0x68]
mov byte [esp + 0xdc], 6
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x68], ebp
call fcn.00401510
lea ecx, [esp + 0x70]
mov byte [esp + 0xd8], 7
call fcn.0041b1a0
push 0x87f5fc
lea ecx, [esp + 0x40]
mov byte [esp + 0xdc], 8
call fcn.00401750
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x78], ebp
lea edx, [esp + 0x40]
mov byte [esp + 0xd8], 9
mov word [ecx], bp
push edx
lea ecx, [esp + 0x74]
call fcn.004018e0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
add eax, 2
cmp ecx, eax
jae 0x4119c0
mov eax, ecx
shr eax, 5
inc eax
shl eax, 5
add eax, ecx
lea ecx, [esp + 0x70]
push eax
call fcn.00401510
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov word [ecx + edx*2], 0x3a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x78], eax
lea edx, [esp + 0x64]
mov word [ecx + eax*2], bp
push edx
lea ecx, [esp + 0x74]
call fcn.004018e0
mov eax, dword [esp + 0x4c]
cmp word [eax], bp
je 0x411a0f
push 0x5c
lea ecx, [esp + 0x74]
call fcn.00405b40
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x74]
call fcn.004018e0
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x34], ebp
cmp ebx, 0x20
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
ja 0x411a29
mov ebx, 0x20
lea edx, [ebx + ebx]
push edx
call fcn.005b449a
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x34], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov word [eax], bp
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
mov cx, word [edx]
cmp cx, bp
je 0x411a7d
add edx, 2
mov word [eax], cx
add eax, 2
mov cx, word [edx]
cmp cx, bp
jne 0x411a6c
mov word [eax], 0
mov edx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
push 0
mov byte [esp + 0xdc], 0xa
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x409
mov edi, eax
push str.CONFIG
push 0x6380c0
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
lea ecx, [esp + 0x84]
call fcn.00593730
mov ecx, 0x87f5b8
call fcn.00596130
lea ecx, [esp + 0x20]
push ecx
push str.value
push str.graphicLib_dockpage
push str.workspace
lea ecx, [esp + 0x8c]
call fcn.00593f80
mov edx, dword [esp + 0x20]
mov ecx, 0x87f5b8
push edx
push str.value
push str.graphicLib_dockpage
push str.workspace
call fcn.00594240
lea eax, [esp + 0x20]
lea ecx, [esp + 0x7c]
push eax
push str.derive
push str.graphicLib_dockpage
push str.workspace
call fcn.00593f80
mov ecx, dword [esp + 0x20]
push ecx
push str.derive
push str.graphicLib_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.00594240
lea edx, [esp + 0x20]
lea ecx, [esp + 0x7c]
push edx
push str.value
push str.width
push str.graphicLib_dockpage
push str.workspace
call fcn.005952a0
mov eax, dword [esp + 0x20]
mov ecx, 0x87f5b8
push eax
push str.value
push str.width
push str.graphicLib_dockpage
push str.workspace
call fcn.00595610
lea ecx, [esp + 0x20]
push ecx
push str.value
push str.height
push str.graphicLib_dockpage
push str.workspace
lea ecx, [esp + 0x90]
call fcn.005952a0
mov edx, dword [esp + 0x20]
mov ecx, 0x87f5b8
push edx
push str.value
push str.height
push str.graphicLib_dockpage
push str.workspace
call fcn.00595610
lea eax, [esp + 0x20]
lea ecx, [esp + 0x7c]
push eax
push str.value
push str.dockpos
push str.graphicLib_dockpage
push str.workspace
call fcn.005952a0
mov ecx, dword [esp + 0x20]
push ecx
push str.value
push str.dockpos
push str.graphicLib_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.00595610
lea edx, [esp + 0x20]
lea ecx, [esp + 0x7c]
push edx
push str.value
push str.active
push str.graphicLib_dockpage
push str.workspace
call fcn.005952a0
mov eax, dword [esp + 0x20]
mov ecx, 0x87f5b8
push eax
push str.value
push str.active
push str.graphicLib_dockpage
push str.workspace
call fcn.00595610
lea ecx, [esp + 0x20]
push ecx
push str.value
push str.dockpage
push str.graphicLib_dockpage
push str.workspace
lea ecx, [esp + 0x90]
call fcn.005952a0
mov edx, dword [esp + 0x20]
mov ecx, 0x87f5b8
push edx
push str.value
push str.dockpage
push str.graphicLib_dockpage
push str.workspace
call fcn.00595610
lea eax, [esp + 0x20]
lea ecx, [esp + 0x7c]
push eax
push str.value
push str.beginX
push str.graphicLib_dockpage
push str.workspace
call fcn.005952a0
mov ecx, dword [esp + 0x20]
push ecx
push str.value
push str.beginX
push str.graphicLib_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.00595610
lea edx, [esp + 0x20]
push edx
push str.value
push str.beginY
push str.graphicLib_dockpage
push str.workspace
lea ecx, [esp + 0x90]
call fcn.005952a0
mov eax, dword [esp + 0x20]
mov ecx, 0x87f5b8
push eax
push str.value
push str.beginY
push str.graphicLib_dockpage
push str.workspace
call fcn.00595610
lea ecx, [esp + 0x20]
push ecx
push str.value
push str.combine
push str.graphicLib_dockpage
push str.workspace
lea ecx, [esp + 0x90]
call fcn.005952a0
mov edx, dword [esp + 0x20]
mov ecx, 0x87f5b8
push edx
push str.value
push str.combine
push str.graphicLib_dockpage
push str.workspace
call fcn.00595610
lea eax, [esp + 0x28]
mov ecx, 0x87f5b8
push eax
push str.derive
push str.graphicLib_dockpage
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
mov edi, eax
call fcn.00596140
mov ecx, dword [esp + 0x30]
mov byte [esp + 0xd8], 9
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x74]
mov byte [esp + 0xdc], 0xe
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xe0], 0xd
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x64]
mov byte [esp + 0xe4], 0xc
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x5c]
mov byte [esp + 0xe8], 0xb
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x54]
mov byte [esp + 0xec], 3
push eax
call fcn.005b44c3
add esp, 0x18
lea ecx, [esp + 0x7c]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00593400
xor ebp, ebp
cmp edi, 1
jne 0x4121dc
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x411e64
cmp eax, dword [esi + 0x10c]
jne 0x4121dc
push 0x16c
call fcn.005b449a
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xd8], 0xf
je 0x411e8f
mov ecx, eax
call fcn.0059e24f
mov edi, eax
jmp 0x411e91
xor edi, edi
cmp edi, ebp
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x2c], edi
je 0x412a02
mov ecx, 0x87f5b8
call fcn.00596130
lea ecx, [esp + 0x14]
push ecx
push str.value
push str.width
push str.graphicLib_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x411ee1
mov dword [esp + 0x14], 0xeb
lea edx, [esp + 0x1c]
mov ecx, 0x87f5b8
push edx
push str.value
push str.height
push str.graphicLib_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
mov ebx, 0x320
jne 0x411f11
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x24]
mov ecx, 0x87f5b8
push eax
push str.value
push str.dockpos
push str.graphicLib_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x411f40
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x18]
push ecx
push str.default
push str.width
push str.graphicLib_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x411f6f
mov dword [esp + 0x18], 0xeb
lea edx, [esp + 0x10]
mov ecx, 0x87f5b8
push edx
push str.default
push str.height
push str.graphicLib_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x411f9a
mov dword [esp + 0x10], ebx
mov ecx, 0x87f5b8
call fcn.00596140
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, ebp
setl cl
dec ecx
and eax, ecx
mov ecx, dword [esi + 0x4b11]
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x411fc4
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
xor ebx, ebx
cmp edx, ebp
setl bl
dec ebx
and ebx, edx
mov edx, dword [esi + 0x4b15]
cmp ebx, edx
jl 0x411fde
mov ebx, edx
mov ebp, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
setl al
dec eax
mov dword [esp + 0x1c], ebx
and eax, ebp
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x411ffc
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x412016
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0x50002800
push 0x201
push 1
push ebx
push eax
push esi
push str.dockPageBar4
mov ecx, edi
call dword [edx + 0xe4]
test eax, eax
je 0x412a02
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.0059e54f
mov eax, dword [edi + 0x64]
mov ecx, edi
or al, 0x34
push eax
call fcn.005ccd17
push 0xf000
mov ecx, edi
call fcn.005a09e3
mov ecx, dword [esp + 0x24]
push 0
add ecx, 0xe81b
push ecx
push edi
mov ecx, esi
call fcn.005c991c
call fcn.00596b38
mov ecx, eax
mov eax, 0x3a9
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4120ae
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4120ae
mov edx, 0x3a98
cmp dword [eax + 8], edx
je 0x41210c
mov eax, dword [eax]
test eax, eax
jne 0x4120a3
xor eax, eax
mov edx, dword [esi + 0x1c]
push 0x1bf
push eax
lea eax, [esi + 0x144]
push edx
push eax
mov ecx, edi
call fcn.0059f97d
push 0xc
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x138]
add esp, 4
test ecx, ecx
jne 0x412129
mov ecx, dword [esi + 0x134]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x4120fa
mov dword [ecx], eax
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x134], eax
test ecx, ecx
jne 0x41214d
jmp 0x412147
test eax, eax
je 0x4120ae
lea ebx, [ecx + 0x1c]
add eax, 0xc
push eax
mov ecx, ebx
call fcn.005b48a8
push 1
mov ecx, ebx
call fcn.005b4ba6
jmp 0x4120b0
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x41213a
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x138]
cmp ecx, edx
jne 0x41214d
mov dword [esi + 0x138], eax
mov ecx, dword [esi + 0x130]
push 0
inc ecx
mov dword [esi + 0x130], ecx
mov ecx, edi
call fcn.0059f46e
push 0xc
mov edi, eax
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x124]
add esp, 4
test ecx, ecx
jne 0x4121a9
mov ecx, dword [esi + 0x120]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x412197
mov dword [ecx], eax
mov ecx, dword [esi + 0x124]
mov dword [esi + 0x120], eax
test ecx, ecx
jne 0x4121cd
jmp 0x4121c7
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x4121ba
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x124]
cmp ecx, edx
jne 0x4121cd
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x11c]
inc eax
xor ebp, ebp
mov dword [esi + 0x11c], eax
mov ecx, 0x87f5b8
call fcn.00596130
lea eax, [esp + 0x28]
mov ecx, 0x87f5b8
push eax
push str.derive
push str.vision_dockpage
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
mov edi, eax
call fcn.00596140
cmp edi, 1
jne 0x4125a2
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x41222d
cmp eax, dword [esi + 0x10c]
jne 0x4125a2
push 0x16c
call fcn.005b449a
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xd8], 0x10
je 0x412258
mov ecx, eax
call fcn.0059e24f
mov edi, eax
jmp 0x41225a
xor edi, edi
cmp edi, ebp
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x2c], edi
je 0x412a02
mov ecx, 0x87f5b8
call fcn.00596130
lea ecx, [esp + 0x14]
push ecx
push str.value
push str.width
push str.vision_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
mov ebp, 0x316
jne 0x4122ab
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x1c]
mov ecx, 0x87f5b8
push edx
push str.value
push str.height
push str.vision_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
mov ebx, 0x258
jne 0x4122db
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x24]
mov ecx, 0x87f5b8
push eax
push str.value
push str.dockpos
push str.vision_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x41230a
mov dword [esp + 0x24], 2
lea ecx, [esp + 0x18]
push ecx
push str.default
push str.width
push str.vision_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x412335
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x10]
mov ecx, 0x87f5b8
push edx
push str.default
push str.height
push str.vision_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x412360
mov dword [esp + 0x10], ebx
mov ecx, 0x87f5b8
call fcn.00596140
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, dword [esi + 0x4b11]
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41238a
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
xor ebx, ebx
test edx, edx
setl bl
dec ebx
and ebx, edx
mov edx, dword [esi + 0x4b15]
cmp ebx, edx
jl 0x4123a4
mov ebx, edx
mov ebp, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
setl al
dec eax
mov dword [esp + 0x1c], ebx
and eax, ebp
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4123c2
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x4123dc
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0x50002800
push 0x202
push 1
push ebx
push eax
push esi
push str.Vision_dockPageBar
mov ecx, edi
call dword [edx + 0xe4]
test eax, eax
je 0x412a02
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.0059e54f
mov eax, dword [edi + 0x64]
mov ecx, edi
or al, 0x34
push eax
call fcn.005ccd17
push 0x5000
mov ecx, edi
call fcn.005a09e3
mov ecx, dword [esp + 0x24]
push 0
add ecx, 0xe81b
push ecx
push edi
mov ecx, esi
call fcn.005c991c
call fcn.00596b38
mov ecx, eax
mov eax, 0xea6
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x412474
mov eax, dword [eax + edx*4]
test eax, eax
je 0x412474
mov edx, 0xea6c
cmp dword [eax + 8], edx
je 0x4124d2
mov eax, dword [eax]
test eax, eax
jne 0x412469
xor eax, eax
mov edx, dword [esi + 0x1c]
push 0x10e
push eax
lea eax, [esi + 0x3ab9]
push edx
push eax
mov ecx, edi
call fcn.0059f97d
push 0xc
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x138]
add esp, 4
test ecx, ecx
jne 0x4124ef
mov ecx, dword [esi + 0x134]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x4124c0
mov dword [ecx], eax
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x134], eax
test ecx, ecx
jne 0x412513
jmp 0x41250d
test eax, eax
je 0x412474
lea ebx, [ecx + 0x1c]
add eax, 0xc
push eax
mov ecx, ebx
call fcn.005b48a8
push 1
mov ecx, ebx
call fcn.005b4ba6
jmp 0x412476
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x412500
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x138]
cmp ecx, edx
jne 0x412513
mov dword [esi + 0x138], eax
mov ecx, dword [esi + 0x130]
push 0
inc ecx
mov dword [esi + 0x130], ecx
mov ecx, edi
call fcn.0059f46e
push 0xc
mov edi, eax
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x124]
add esp, 4
test ecx, ecx
jne 0x41256f
mov ecx, dword [esi + 0x120]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x41255d
mov dword [ecx], eax
mov ecx, dword [esi + 0x124]
mov dword [esi + 0x120], eax
test ecx, ecx
jne 0x412593
jmp 0x41258d
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x412580
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x124]
cmp ecx, edx
jne 0x412593
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x11c]
inc eax
xor ebp, ebp
mov dword [esi + 0x11c], eax
mov ecx, 0x87f5b8
call fcn.00596130
lea eax, [esp + 0x28]
mov ecx, 0x87f5b8
push eax
push str.derive
push str.control_dockpage
push str.workspace
call fcn.00593f80
mov ecx, 0x87f5b8
mov edi, eax
call fcn.00596140
cmp edi, 1
jne 0x4129f4
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x4125fa
mov eax, dword [esi + 0x10c]
cmp eax, 3
je 0x4125fa
cmp ecx, eax
jne 0x4129f4
push 0x16c
call fcn.005b449a
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov dword [esp + 0xd8], 0x11
je 0x412625
mov ecx, eax
call fcn.0059e24f
mov edi, eax
jmp 0x412627
xor edi, edi
cmp edi, ebp
mov dword [esp + 0xd8], 0xffffffff
je 0x412a02
mov ecx, 0x87f5b8
call fcn.00596130
lea ecx, [esp + 0x14]
push ecx
push str.value
push str.width
push str.control_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
mov ebp, 0x2bc
jne 0x412674
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x1c]
mov ecx, 0x87f5b8
push edx
push str.value
push str.height
push str.control_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
mov ebx, 0xd2
jne 0x4126a4
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x24]
mov ecx, 0x87f5b8
push eax
push str.value
push str.dockpos
push str.control_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x4126d3
mov dword [esp + 0x24], 2
lea ecx, [esp + 0x18]
push ecx
push str.default
push str.width
push str.control_dockpage
push str.workspace
mov ecx, 0x87f5b8
call fcn.005952a0
test eax, eax
jne 0x4126fe
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x10]
mov ecx, 0x87f5b8
push edx
push str.default
push str.height
push str.control_dockpage
push str.workspace
call fcn.005952a0
test eax, eax
jne 0x412729
mov dword [esp + 0x10], ebx
mov ecx, 0x87f5b8
call fcn.00596140
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, dword [esi + 0x4b11]
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x412753
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
xor ebx, ebx
test edx, edx
setl bl
dec ebx
and ebx, edx
mov edx, dword [esi + 0x4b15]
cmp ebx, edx
jl 0x41276d
mov ebx, edx
mov ebp, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
setl al
dec eax
mov dword [esp + 0x1c], ebx
and eax, ebp
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x41278b
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x4127a5
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push 0x50002800
push 0x203
push 1
push ebx
push eax
push esi
push str.Control_dockPageBar
mov ecx, edi
call dword [edx + 0xe4]
test eax, eax
je 0x412a02
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.0059e54f
mov ecx, dword [edi + 0x64]
or ecx, 0x34
push ecx
mov ecx, edi
call fcn.005ccd17
push 0xf000
mov ecx, edi
call fcn.005a09e3
mov eax, dword [esi + 0x3ad5]
test eax, eax
je 0x41284d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xc8]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xc0]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
lea eax, [esp + 0xc4]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc0]
add edx, 0xe81b
push ecx
push edx
jmp 0x412859
mov eax, dword [esp + 0x24]
push 0
add eax, 0xe81b
push eax
push edi
mov ecx, esi
call fcn.005c991c
call fcn.00596b38
mov ebx, eax
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x412890
mov eax, 0xea6
xor edx, edx
div dword [ebx + 8]
mov edx, dword [ecx + edx*4]
test edx, edx
je 0x412890
mov eax, 0xea6d
cmp dword [edx + 8], eax
je 0x4128ee
mov edx, dword [edx]
test edx, edx
jne 0x412885
xor eax, eax
mov ecx, dword [esi + 0x1c]
push 0x10c
push eax
lea edx, [esi + 0x3b89]
push ecx
push edx
mov ecx, edi
call fcn.0059f97d
push 0xc
call fcn.005b449a
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x138]
add esp, 4
test ecx, ecx
jne 0x41290b
mov ecx, dword [esi + 0x134]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x4128dc
mov dword [ecx], eax
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x134], eax
test ecx, ecx
jne 0x41292f
jmp 0x412929
test edx, edx
je 0x412890
add ebx, 0x1c
add edx, 0xc
push edx
mov ecx, ebx
call fcn.005b48a8
push 1
mov ecx, ebx
call fcn.005b4ba6
jmp 0x412892
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x41291c
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x138]
cmp ecx, edx
jne 0x41292f
mov dword [esi + 0x138], eax
mov edx, dword [esi + 0x130]
push 0
inc edx
mov ecx, edi
mov dword [esi + 0x130], edx
call fcn.0059f46e
push 0xc
mov ebx, eax
call fcn.005b449a
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x124]
add esp, 4
test ecx, ecx
jne 0x41298b
mov ecx, dword [esi + 0x120]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x412979
mov dword [ecx], eax
mov ecx, dword [esi + 0x124]
mov dword [esi + 0x120], eax
test ecx, ecx
jne 0x4129af
jmp 0x4129a9
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
test edx, edx
je 0x41299c
mov dword [edx], eax
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x124]
cmp ecx, edx
jne 0x4129af
mov dword [esi + 0x124], eax
mov ecx, dword [esi + 0x11c]
inc ecx
mov dword [esi + 0x11c], ecx
mov eax, dword [esi + 0x3ad5]
test eax, eax
je 0x4129f4
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x100]
test eax, eax
je 0x4129f4
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0xbc]
mov dword [ecx + 0xc0], edi
or edx, 8
test eax, eax
mov dword [ecx + 0xbc], edx
jne 0x4129d4
mov ecx, esi
call fcn.005b3ef1
mov ecx, esi
call fcn.004137e0
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret