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

Disassembly:
push 0xffffffffffffffff
push 0x5e6308
mov eax, dword fs:[0]
push eax
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x13c]
mov eax, dword [ebp + 0xc]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov ecx, dword [ebp + 0x1c]
mov esi, eax
mov dword [esp + 0x18], ecx
push esi
lea ecx, [esp + 0xdc]
mov dword [esp + 0x90], esi
call fcn.0055c900
lea edx, [esp + 0xd8]
push edx
mov ecx, esi
call sub.mfc90u.dll_CWnd::ClientToScreen
push esi
lea ecx, [esp + 0x20]
call fcn.0055c8a0
mov ecx, dword [ebp + 0x44]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0xe4]
sub ebx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x20]
neg ecx
push ecx
neg eax
push eax
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov ecx, ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], edx
call fcn.005956c0
mov dword [esp + 0x64], eax
add esi, eax
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
mov dword [esp + 0x7c], 0
call fcn.00595890
mov edi, dword [esp + 0x74]
mov dword [esp + 0xc4], eax
test eax, eax
je 0x565e84
sub edi, dword [esp + 0x78]
sub edi, esi
dec edi
jmp 0x565e86
sub edi, esi
mov ebp, dword [esp + 0x138]
test ebx, ebx
jle 0x565ebf
cmp dword [esp + 0x18], 0
je 0x565ea1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x18]
jmp 0x565ea8
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x78]
sub eax, esi
push eax
push 1
push esi
push ecx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
cmp ebx, 1
jle 0x565eed
cmp dword [esp + 0x18], 0
je 0x565ed4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
jmp 0x565edb
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push 1
inc ecx
push esi
push ecx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
cmp ebx, 2
jle 0x565f1d
cmp dword [esp + 0x18], 0
je 0x565f02
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
jmp 0x565f09
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push 1
add ecx, 2
push esi
push ecx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
cmp ebx, 3
jle 0x565f4f
cmp dword [esp + 0x18], 0
je 0x565f32
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
jmp 0x565f39
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x34]
mov edx, dword [esp + 0x1c]
push eax
push edi
lea ecx, [ebx - 3]
push ecx
push esi
add edx, 3
push edx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
test ebx, ebx
jle 0x565f82
cmp dword [esp + 0x18], 0
je 0x565f63
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
jmp 0x565f6a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x78]
sub eax, esi
push eax
push 1
push esi
dec edx
push edx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
cmp ebx, 1
jle 0x565fb2
cmp dword [esp + 0x18], 0
je 0x565f97
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
jmp 0x565f9e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
mov edx, dword [esp + 0x24]
push eax
push edi
push 1
push esi
add edx, 0xfffffffe
push edx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
cmp ebx, 2
jle 0x565fe2
cmp dword [esp + 0x18], 0
je 0x565fc7
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
jmp 0x565fce
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
mov edx, dword [esp + 0x24]
push eax
push edi
push 1
push esi
add edx, 0xfffffffd
push edx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
cmp ebx, 3
jle 0x566013
cmp dword [esp + 0x18], 0
je 0x565ff7
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x24]
jmp 0x565ffe
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x34]
push eax
mov eax, dword [esp + 0x28]
push edi
lea edx, [ebx - 3]
push edx
push esi
sub eax, ebx
push eax
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
cmp dword [esp + 0x18], 0
je 0x56603b
mov ecx, dword [esp + 0x8c]
call sub.mfc90u.dll_CWnd::GetStyle
mov esi, dword [esp + 0x14]
test eax, 0x1000000
je 0x566036
mov eax, dword [esi + 0x24]
jmp 0x566044
mov eax, dword [esi + 0x18]
jmp 0x566044
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x28]
mov esi, ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push 1
sub edx, eax
push edx
dec ecx
push ecx
push eax
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
mov eax, dword [esp + 0x50]
cmp eax, 1
jle 0x56609b
cmp dword [esp + 0x18], 0
je 0x566075
mov ecx, dword [esi + 0x24]
jmp 0x566078
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [eax - 1]
push edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
sub edx, 2
push edx
mov edx, dword [esp + 0x34]
sub edx, eax
inc ecx
push edx
push ecx
mov ecx, ebp
call sub.mfc90u.dll_CDC::FillSolidRect
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], eax
call fcn.00595650
mov edi, dword [sym.imp.USER32.dll_SetRect]
test eax, eax
je 0x566695
test ebp, ebp
jne 0x5660e8
xor eax, eax
jmp 0x5660eb
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x7c]
push ecx
push eax
lea ecx, [esp + 0xf0]
call fcn.0055c960
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x134], 0
call esi
lea eax, [esp + 0x118]
push eax
call esi
lea ecx, [esp + 0xa0]
push ecx
call esi
lea edx, [esp + 0x68]
push edx
call esi
lea eax, [esp + 0xb0]
push eax
call esi
mov ecx, dword [esp + 0x14]
push str.FRAMETOPLEFT
call fcn.00562a30
mov esi, eax
test esi, esi
je 0x5661ff
xor ecx, ecx
cmp dword [esp + 0x18], ecx
push 2
sete cl
lea edx, [esp + 0x94]
push ecx
push edx
mov ecx, esi
call fcn.00599170
mov edx, dword [eax]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov eax, dword [eax + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x88]
push edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call edi
xor ecx, ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, 5
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
sub esp, 0x10
mov ecx, 3
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x88]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.00598490
mov ecx, dword [esp + 0x14]
push str.FRAMETOPRIGHT
call fcn.00562a30
mov esi, eax
test esi, esi
je 0x5662d9
xor edx, edx
cmp dword [esp + 0x18], edx
push 2
sete dl
lea eax, [esp + 0x94]
mov ecx, esi
push edx
push eax
call fcn.00599170
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 8]
mov dword [esp + 0xb8], edx
mov eax, dword [eax + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x88]
push edx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x28]
push eax
add ecx, eax
mov eax, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x128]
push ecx
call edi
xor ecx, ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, 5
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [eax + 8], ecx
sub esp, 0x10
mov ecx, 3
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xd4]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xd8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, esi
call fcn.00598490
mov ecx, dword [esp + 0x14]
push str.FRAMETOPCENTER
call fcn.00562a30
mov esi, eax
test esi, esi
je 0x566393
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x88]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
push edx
add ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0xb0]
push ecx
call edi
xor edx, edx
xor edi, edi
cmp dword [esp + 0x18], edx
push 2
sete dl
lea eax, [esp + 0x94]
mov ecx, esi
push edx
push eax
call fcn.00599170
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edx, 5
mov dword [ecx + 4], edx
xor edx, edx
mov dword [ecx + 8], edx
sub esp, 0x10
mov edx, 3
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x10c]
push edx
mov ecx, esi
call fcn.00598490
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x2c]
sub ecx, 3
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x14]
push edx
mov dword [esp + 0x58], 7
mov dword [esp + 0x5c], eax
call fcn.00565cb0
mov dword [esp + 0x64], eax
test eax, eax
je 0x5664b0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call esi
push 0x31
mov edi, eax
call esi
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
dec ecx
sub eax, ecx
sub eax, edi
dec eax
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, ecx
call fcn.0055d540
lea eax, [esp + 0xe8]
push eax
call fcn.0055d370
add esp, 4
mov dword [esp + 0x2c], eax
and eax, 1
mov dword [esp + 0xc0], eax
je 0x56645f
call fcn.0055d540
mov ecx, dword [esp + 0x2c]
or ecx, 8
push ecx
lea edx, [esp + 0xec]
push edx
call fcn.0055d3a0
add esp, 8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xec]
push 3
push 0
push 0
push edi
push eax
push ecx
push esi
push 7
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [esp + 0xc0], 0
je 0x5664a5
call fcn.0055d540
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xec]
push ecx
call fcn.0055d3a0
add esp, 8
mov edx, dword [esp + 0x40]
add edx, 0xc
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x13c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [eax + 0x2c]
xor edi, edi
mov dword [esp + 0x2c], edi
test eax, eax
jle 0x566630
nop
test edi, edi
jl 0x5664f0
cmp edi, eax
jge 0x5664f0
mov eax, dword [esp + 0x64]
cmp edi, dword [eax + 0x2c]
jge 0x566690
mov ecx, dword [eax + 0x28]
mov esi, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
jmp 0x5664f2
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
push 0
mov ecx, esi
call eax
test eax, eax
je 0x56661c
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
jne 0x566522
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x566522
call fcn.0052c5b0
test eax, eax
je 0x566534
cmp dword [esp + 0x18], 0
je 0x566534
mov eax, 1
jmp 0x566536
xor eax, eax
mov ecx, dword [esi + 0xc0]
mov edx, dword [esi + 0xc4]
mov ebp, dword [esi + 0x84]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xc8]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x78]
mov ecx, esi
add edi, 0xc
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push eax
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov edx, dword [edi]
lea eax, [esp + 0x108]
push eax
call edx
mov ecx, dword [esi + 0xc4]
mov eax, dword [esi + 0xc0]
cmp dword [esp + 0x5c], eax
mov edx, dword [esi + 0xc8]
mov ebp, dword [esp + 0x138]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
jl 0x56661c
mov edx, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc8]
mov dword [esp + 0x94], edx
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x2c]
inc edi
cmp edi, eax
mov dword [esp + 0x2c], edi
jl 0x5664d0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
push eax
mov eax, dword [esp + 0x90]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x70]
sub ecx, ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x100]
mov ecx, edx
mov edx, dword [esi + 0x10]
push eax
call edx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x130], 0xffffffff
call fcn.0055cb70
jmp 0x5668e4
call fcn.005df2b2
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x14]
push str.FRAMETOPLEFT
call fcn.00562a30
mov esi, eax
test esi, esi
je 0x566763
xor ecx, ecx
cmp dword [esp + 0x18], ecx
push 2
sete cl
lea edx, [esp + 0xa4]
push ecx
push edx
mov ecx, esi
call fcn.00599170
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov edi, dword [eax + 4]
mov dword [esp + 0x44], edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x88]
add eax, ebx
mov dword [esp + 0x38], eax
xor eax, eax
sub esp, 0x10
mov dword [esp + 0x4c], ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [esp + 0xb8], eax
mov eax, 5
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [ecx + 8], eax
sub esp, 0x10
mov eax, 3
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x6c]
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edx, ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x50]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x70], ebx
call fcn.00598490
mov ecx, dword [esp + 0x14]
push str.FRAMETOPRIGHT
call fcn.00562a30
mov edi, eax
test edi, edi
je 0x56682f
xor edx, edx
cmp dword [esp + 0x18], edx
push 2
sete dl
lea eax, [esp + 0xa4]
mov ecx, edi
push edx
push eax
call fcn.00599170
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov esi, dword [eax + 8]
mov dword [esp + 0x48], esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
sub esp, 0x10
mov dword [esp + 0x44], ecx
mov ecx, esp
xor eax, eax
mov dword [ecx], eax
mov dword [esp + 0xb4], 5
mov eax, dword [esp + 0xb4]
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx + 8], eax
sub esp, 0x10
mov eax, 3
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x6c]
mov ecx, esp
mov edx, esi
sub edx, ebx
mov dword [ecx], edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x64]
mov dword [ecx + 4], edx
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x50]
push ecx
push ebp
mov ecx, edi
call fcn.00598490
mov ecx, dword [esp + 0x14]
push str.FRAMETOPCENTER
call fcn.00562a30
mov esi, eax
test esi, esi
je 0x5668e4
xor edx, edx
cmp dword [esp + 0x18], edx
push 2
sete dl
lea eax, [esp + 0xa4]
mov ecx, esi
push edx
push eax
call fcn.00599170
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov edi, dword [eax + 8]
mov dword [esp + 0x48], edi
mov eax, dword [eax + 0xc]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
add eax, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
sub edi, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x2c]
add eax, edi
sub esp, 0x10
mov dword [esp + 0x4c], eax
mov eax, esp
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x50]
push eax
push ebp
mov ecx, esi
call fcn.00598490
cmp dword [esp + 0xc4], 0
je 0x566be9
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x14]
push str.STATUSBARLIGHT
call fcn.00562a30
mov edi, eax
test edi, edi
je 0x5669a1
mov ecx, edi
call fcn.005a76f0
push eax
lea edx, [ebx - 1]
push edx
push 0
push 0
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
mov edx, eax
sub edx, dword [esp + 0x78]
add ecx, ebx
sub edx, esi
sub eax, esi
sub esp, 0x10
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
mov eax, esp
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], edx
lea edx, [esp + 0x50]
push edx
mov dword [eax + 0xc], ecx
push ebp
mov ecx, edi
call fcn.00598490
jmp 0x5669a5
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
push str.STATUSBARDARK
call fcn.00562a30
mov edi, eax
test edi, edi
je 0x566a45
mov ecx, edi
call fcn.005a76f0
push eax
lea eax, [ebx - 1]
push eax
push 0
push 0
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, ecx
sub edx, ebx
mov dword [esp + 0x30], edx
mov edx, eax
sub edx, dword [esp + 0x78]
dec ecx
sub eax, esi
sub edx, esi
sub esp, 0x10
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
xor esi, esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x50]
push eax
push ebp
mov ecx, edi
call fcn.00598490
cmp ebx, 3
jle 0x566be9
mov ecx, dword [esp + 0x14]
push str.FRAMEBOTTOMLEFT
call fcn.00562a30
mov dword [esp + 0x50], eax
test eax, eax
je 0x566b0e
xor ecx, ecx
cmp dword [esp + 0x18], ecx
push 2
sete cl
lea edx, [esp + 0xa4]
push ecx
push edx
mov ecx, eax
call fcn.00599170
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], edx
mov esi, dword [eax + 4]
mov dword [esp + 0x58], esi
mov edi, dword [eax + 8]
mov dword [esp + 0x5c], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, esi
sub ecx, eax
add ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x6c], ecx
mov ecx, edi
sub ecx, edx
add ecx, dword [esp + 0x1c]
push 0xff00ff
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x34]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], esi
lea edx, [esp + 0x80]
mov dword [ecx + 8], edi
push edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x6c]
push ebp
mov dword [esp + 0x80], eax
call fcn.00599660
cmp ebx, 3
jle 0x566be9
mov ecx, dword [esp + 0x14]
push str.FRAMEBOTTOMRIGHT
call fcn.00562a30
mov dword [esp + 0x50], eax
test eax, eax
je 0x566be9
xor ecx, ecx
cmp dword [esp + 0x18], ecx
push 2
sete cl
lea edx, [esp + 0xa4]
push ecx
push edx
mov ecx, eax
call fcn.00599170
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov esi, dword [eax + 4]
mov dword [esp + 0x58], esi
mov edi, dword [eax + 8]
mov ecx, edx
sub ecx, edi
add ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x28]
mov ebx, esi
sub ebx, eax
add ebx, ecx
mov dword [esp + 0x9c], ecx
xor ecx, ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
push 0xff00ff
lea ecx, [esp + 0xcc]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], esi
lea edx, [esp + 0xa8]
mov dword [ecx + 8], edi
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x3c]
push edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x6c]
push ebp
mov dword [esp + 0x80], eax
mov dword [esp + 0xb8], ebx
call fcn.00599660
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 8