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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x622e65
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
mov ebp, dword [esp + 0x180]
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x55c528
cmp ebp, edi
jne 0x55c519
xor ecx, ecx
jmp 0x55c51c
mov ecx, dword [ebp + 4]
push edi
push edi
push eax
push ecx
call fcn.005331c0
add esp, 0x10
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x90]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi]
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call dword [edx + pe_nt_image_headers32]
mov ecx, dword [ebp + 8]
xor ebx, ebx
push 0x26
push ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x55c593
push edi
mov ecx, 0x6c6940
call fcn.00524d60
add eax, 0x48
mov ecx, ebp
push eax
call fcn.005e09cc
mov edx, dword [ebp + 4]
mov ebx, eax
push edx
mov dword [esp + 0xb0], ebx
call dword [sym.imp.GDI32.dll_RealizePalette]
lea ecx, [esp + 0x24]
call fcn.005e073b
lea ecx, [esp + 0x34]
call fcn.0043b3f0
mov dword [esp + 0x34], vtable.CBitmap.0
lea eax, [esp + 0x44]
mov dword [esp + 0x24], vtable.CExtMemoryDC.0
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0x58], edi
mov al, byte [esp + 0x18c]
mov dword [esp + 0x180], 2
test al, al
je 0x55c795
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, edi
lea edx, [esp + 0x64]
sete cl
test edx, edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], ecx
jne 0x55c613
mov eax, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call dword [eax + 0x50]
jmp 0x55c633
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
cmp dword [esp + 0x54], edi
je 0x55c72d
cmp ebp, edi
jne 0x55c645
xor eax, eax
jmp 0x55c648
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call fcn.005e07f2
mov ecx, ebp
call fcn.005e0e8c
mov edi, eax
cmp edi, 0xffffffff
jne 0x55c669
xor edi, edi
push edi
lea ecx, [esp + 0x28]
call fcn.005e0ec2
and edi, 1
je 0x55c688
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x44]
push 2
push edx
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call fcn.005e1342
lea edx, [esp + 0x34]
lea ecx, [esp + 0x24]
push edx
call fcn.005339e0
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetMapMode]
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x28]
call dword [edx + 0x34]
test edi, edi
je 0x55c6ff
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x44]
push 2
push edx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
lea eax, [esp + 0x114]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.005e0c12
jmp 0x55c746
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x55c738
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetBkColor]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.005ee0f0
xor edi, edi
cmp ebx, edi
je 0x55c78f
push edi
mov ecx, 0x6c6940
call fcn.00524d60
add eax, 0x48
lea ecx, [esp + 0x28]
push eax
call fcn.005e09cc
mov edx, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
push edx
call dword [sym.imp.GDI32.dll_RealizePalette]
lea ebp, [esp + 0x24]
jmp 0x55c797
xor edi, edi
mov ebx, dword [ebp]
mov ecx, 0x6c6940
call fcn.00524d60
add eax, 0xb0
mov ecx, ebp
push eax
call dword [ebx + 0x28]
mov ecx, 0x6c6940
mov dword [esp + 0x118], eax
call fcn.00524d60
mov edx, dword [eax]
push edi
push esi
mov ecx, eax
call dword [edx + 0x3c]
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
call fcn.005ee0f0
mov ecx, 0x6c6940
call fcn.00524d60
mov edx, dword [eax]
push edi
lea ecx, [esp + 0x68]
push esi
push ecx
push ebp
mov ecx, eax
call dword [edx + 0xd8]
test byte [esi + 0x2dc], 4
je 0x55c86d
mov edx, dword [esi]
lea eax, [esp + 0x11c]
push edi
push eax
push 0xfffffffffffffffc
mov ecx, esi
call dword [edx + 0x194]
lea ecx, [esp + 0x11c]
push ecx
mov ecx, ebp
call fcn.005e0d52
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edx
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.005e0d52
mov al, byte [esi + 0x2dc]
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
test al, 2
mov dword [esp + 0x5c], edi
je 0x55c99f
cmp dword [esi + 0x2ec], edi
je 0x55c90a
mov eax, dword [esi]
lea ecx, [esp + 0x100]
push 1
push ecx
push 0xfffffffffffffffe
mov ecx, esi
call dword [eax + 0x194]
lea edx, [esp + 0x100]
mov ecx, ebp
push edx
call fcn.005e0d52
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x108]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10c]
push 1
lea ecx, [esp + 0x14]
push edi
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.005e0d52
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c4]
mov ecx, dword [esi + 0x2ec]
mov dword [esp + 0x5c], eax
cmp ecx, eax
je 0x55c99f
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push 1
push ecx
push 0xfffffffffffffffd
mov ecx, esi
call dword [eax + 0x194]
lea edx, [esp + 0xf0]
mov ecx, ebp
push edx
call fcn.005e0d52
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xfc]
push 1
lea ecx, [esp + 0x14]
push edi
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.005e0d52
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x178]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0xa4], ebx
call dword [eax + 0xe0]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x68]
cmp eax, ecx
jl 0x55ca10
mov edx, dword [esp + 0x90]
add eax, ebx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
mov ecx, ebp
call fcn.005e0d52
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x9c]
cmp eax, edx
jg 0x55ca56
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x10]
sub eax, ecx
push edx
mov ecx, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.005e0d52
mov dword [esp + 0xdc], vtable.CArray_struct_CExtPopupMenuWnd::VisibleItemDefinition_t__struct_CExtPopupMenuWnd::VisibleItemDefinition_t__.0
mov dword [esp + 0xe0], edi
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], edi
cmp ebp, edi
mov byte [esp + 0x180], 3
jne 0x55ca8d
xor eax, eax
jmp 0x55ca90
mov eax, dword [ebp + 4]
mov edx, dword [esi]
lea ecx, [esp + 0xdc]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x180]
mov eax, dword [esp + 0xe4]
xor dl, dl
cmp eax, edi
mov dword [esp + 0x20], edi
jle 0x55ccc1
mov dword [esp + 0x7c], 0
mov ebx, 1
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x7c]
lea edi, [eax + ecx]
mov eax, dword [eax + ecx]
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x34c]
shl eax, 4
add eax, ecx
mov cl, byte [edi + 4]
test cl, 8
mov dword [esp + 0xb0], eax
je 0x55cb6c
test dl, dl
je 0x55cb20
mov ecx, 0x6c6940
call fcn.00524d60
mov edx, dword [eax]
push 0
push esi
push ebx
add edi, 0x1c
push 0
push edi
push ebp
mov ecx, eax
call dword [edx + 0xb8]
xor dl, dl
jmp 0x55cc9e
mov dl, byte [0x6b116f]
test dl, dl
je 0x55cb33
test cl, 1
mov dword [esp + 0x60], ebx
jne 0x55cb3b
mov dword [esp + 0x60], 0
mov ebx, dword [eax + 0x60]
mov ecx, 0x6c6940
call fcn.00524d60
mov ecx, dword [esp + 0x60]
mov edx, dword [eax]
push 0
push esi
push ecx
add edi, 0x1c
push ebx
push edi
push ebp
mov ecx, eax
call dword [edx + 0xb4]
mov ebx, 1
xor dl, dl
jmp 0x55cc9e
mov al, byte [0x6b116f]
test al, al
je 0x55cb81
test cl, 4
mov dword [esp + 0xa0], ebx
jne 0x55cb8c
mov dword [esp + 0xa0], 0
test al, al
je 0x55cb99
test cl, 2
mov dword [esp + 0x60], ebx
jne 0x55cba1
mov dword [esp + 0x60], 0
test al, al
je 0x55cbb1
test cl, 1
je 0x55cbb1
mov ebx, 1
jmp 0x55cbb3
xor ebx, ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc4]
test al, al
jne 0x55cbdd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x2e4]
test ch, 8
je 0x55cbdd
mov dl, 1
jmp 0x55cbdf
xor dl, dl
mov al, byte [edi + 4]
lea ecx, [edi + 0xc]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xd0], ecx
mov cl, byte [esp + 0xd8]
shr al, 4
xor dl, cl
and al, 1
and dl, 1
and al, 1
xor cl, dl
and bl, 1
shl al, 1
and cl, 0xfd
add edi, 0x1c
or al, cl
mov cl, byte [esp + 0xa0]
shl bl, 2
and al, 0xfb
and cl, 1
or bl, al
mov al, byte [esp + 0x60]
and al, 1
and bl, 0xf7
shl al, 3
or al, bl
mov dword [esp + 0xc4], ebp
shl cl, 4
and al, 0xef
mov dword [esp + 0xcc], edi
or cl, al
mov dword [esp + 0xd4], esi
test cl, 1
mov byte [esp + 0xd8], cl
je 0x55cc73
lea ecx, [esp + 0xc4]
call fcn.0055c4a0
test al, al
jne 0x55cc89
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xd8]
call fcn.0055be60
mov edx, dword [esp + 0xb0]
mov ebx, 1
mov dl, byte [edx + 0x74]
shr dl, 4
and dl, 1
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0xe4]
inc eax
add edi, 0x2c
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], edi
jl 0x55cac5
lea eax, [esp + 0x74]
xor ebx, ebx
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
push ebx
mov ecx, ebp
call fcn.005e0d12
mov al, byte [esi + 0x2dc]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
test al, 4
je 0x55cd3c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push eax
lea edx, [esp + 0x120]
push ecx
push edx
call edi
test eax, eax
setne al
mov ecx, 0x6c6940
mov byte [esp + 0x20], al
call fcn.00524d60
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
push ebx
push esi
push ecx
push ecx
lea ecx, [esp + 0x12c]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0x70]
test byte [esi + 0x2dc], 2
je 0x55ce97
cmp dword [esi + 0x2ec], ebx
je 0x55cded
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push edx
lea ecx, [esp + 0x104]
push eax
push ecx
call edi
mov ecx, dword [esi + 0x324]
test eax, eax
setne al
cmp ecx, ebx
jg 0x55cd81
test al, al
mov byte [esp + 0x20], 0
je 0x55cd86
mov byte [esp + 0x20], 1
mov ecx, 0x6c6940
call fcn.00524d60
add eax, 0x110
jne 0x55cd9b
xor eax, eax
jmp 0x55cd9e
mov eax, dword [eax + 4]
push ebx
mov edx, dword [esp + 0x24]
push ebx
push ebx
push eax
push 5
push ebx
push ebx
push 1
push 1
push ebx
push edx
push ebx
push 1
push ebx
lea eax, [esp + 0x138]
push 0x6b1614
push eax
push 1
push esi
lea ecx, [esp + 0x174]
call fcn.00536a50
mov ecx, 0x6c6940
call fcn.00524d60
mov edx, dword [eax]
lea ecx, [esp + 0x12c]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0xa0]
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0x2ec]
cmp eax, edx
je 0x55ce97
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push eax
lea edx, [esp + 0xf4]
push ecx
push edx
call edi
mov ecx, dword [esi + 0x324]
test eax, eax
setne al
cmp ecx, ebx
jl 0x55ce2b
test al, al
mov byte [esp + 0x5c], 0
je 0x55ce30
mov byte [esp + 0x5c], 1
mov ecx, 0x6c6940
call fcn.00524d60
add eax, 0x110
jne 0x55ce45
xor eax, eax
jmp 0x55ce48
mov eax, dword [eax + 4]
push ebx
push ebx
push ebx
push eax
mov eax, dword [esp + 0x6c]
push 5
push ebx
push ebx
push 1
push 1
push ebx
push eax
push ebx
push 1
push ebx
lea ecx, [esp + 0x128]
push 0x6b1610
push ecx
push 1
push esi
lea ecx, [esp + 0x174]
call fcn.00536a50
mov ecx, 0x6c6940
call fcn.00524d60
mov edx, dword [eax]
lea ecx, [esp + 0x12c]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0xa0]
mov ecx, dword [esi + 0x328]
cmp ecx, ebx
jbe 0x55cf0f
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
add ecx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x70]
push ebx
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
neg edi
push edi
lea ecx, [esp + 0x14]
push ebx
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call fcn.0055c4c0
test byte [esi + 0x54], 2
je 0x55cf8b
push ebx
mov ecx, ebp
call fcn.005e0d12
lea edi, [esi + 0x3c]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], edx
call fcn.005e0f08
mov ecx, 0x6c6940
call fcn.00524d60
mov ecx, dword [esi + 0x32c]
mov edx, dword [eax]
push ebx
push esi
push ecx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x20]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0xe0]
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x55cf8b
mov edx, dword [esi + 0x32c]
mov ecx, dword [esi + 0x58]
push edx
push edi
push esi
push ebp
push ecx
call eax
add esp, 0x14
mov eax, dword [esp + 0x118]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x28]
mov al, byte [esp + 0x18c]
test al, al
je 0x55d05a
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x55cfc0
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.005e09cc
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x55d05a
mov ecx, dword [esp + 0x54]
xor eax, eax
cmp ecx, eax
je 0x55d035
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x24]
sub ecx, edi
sub edx, ebp
push 0xcc0020
neg eax
sbb eax, eax
push edi
and eax, dword [esp + 0x30]
push ebp
push eax
push ecx
mov ecx, dword [ebx + 4]
push edx
push edi
push ebp
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x55d023
mov edx, dword [esp + 0x28]
push eax
push edx
xor edi, edi
call fcn.005e0933
jmp 0x55d03f
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x28]
push eax
push edx
xor edi, edi
call fcn.005e0933
jmp 0x55d03f
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
xor edi, edi
lea eax, [esp + 0x44]
mov dword [esp + 0x40], edi
push eax
mov dword [esp + 0x40], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd8]
test al, al
je 0x55d25e
test byte [esi + 0x80], 1
je 0x55d25e
mov ebp, dword [esp + 0x110]
xor ebx, ebx
cmp ebp, ebx
jle 0x55d269
mov edi, dword [esp + 0x188]
push ebx
mov ecx, edi
call fcn.005e0d12
mov al, byte [esi + 0x54]
mov dword [esp + 0xb4], ebx
test al, 2
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
je 0x55d231
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test al, al
je 0x55d1e8
test byte [esi + 0x80], 1
je 0x55d1e8
test byte [esi + 0x2dc], 1
je 0x55d1e8
lea eax, [esi + 0x3c]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov edx, dword [eax]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0xb4]
push ecx
mov ecx, esi
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
call fcn.005e0f08
lea edx, [esp + 0x64]
mov ecx, edi
push edx
call fcn.005e0d52
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, esi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
call fcn.005e0f44
push ebx
push 1
push 1
push 0x64
push 0x4b
lea edx, [esp + 0x94]
push ebp
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0xd0]
push eax
push ecx
push edi
lea ecx, [esi + 0xe8]
call fcn.005531a0
push ebx
mov ecx, edi
call fcn.005e0d12
lea edx, [esi + 0x3c]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0xc4], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xc8], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xcc], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0xc4]
mov dword [esp + 0xd0], ecx
push edx
mov ecx, esi
call fcn.005e0f08
lea eax, [esp + 0xc4]
mov ecx, edi
push eax
call fcn.005e0d52
push ebx
push 1
push 1
push 0x64
push 0x4b
lea ecx, [esp + 0x24]
push ebp
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x80]
push edx
push eax
push edi
lea ecx, [esi + 0x8c]
call fcn.005531a0
jmp 0x55d270
mov edi, dword [esp + 0x188]
xor ebx, ebx
jmp 0x55d270
mov edi, dword [esp + 0x188]
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x55d284
push ebx
push eax
mov ecx, edi
call fcn.005e09cc
mov dword [esp + 0xdc], vtable.CArray_struct_CExtPopupMenuWnd::VisibleItemDefinition_t__struct_CExtPopupMenuWnd::VisibleItemDefinition_t__.0
mov eax, dword [esp + 0xe0]
mov byte [esp + 0x180], 4
cmp eax, ebx
je 0x55d2ab
push eax
call fcn.005dd7a4
add esp, 4
mov dword [esp + 0x24], vtable.CExtMemoryDC.0
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x180], 6
cmp ebp, ebx
je 0x55d350
cmp dword [esp + 0x54], ebx
je 0x55d32d
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x24]
sub ecx, esi
sub edx, edi
push 0xcc0020
neg eax
sbb eax, eax
push esi
and eax, dword [esp + 0x30]
push edi
push eax
push ecx
mov ecx, dword [ebp + 4]
push edx
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x55d31d
mov edx, dword [esp + 0x28]
xor eax, eax
push eax
push edx
call fcn.005e0933
jmp 0x55d335
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.005e0933
jmp 0x55d335
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x44]
mov dword [esp + 0x40], ebx
push eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CGdiObject.0
mov dword [esp + 0x110], ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x180], 7
call fcn.005e1399
lea ecx, [esp + 0x24]
mov dword [esp + 0x180], 0xffffffff
call fcn.005e0870
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 8