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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10014fef
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10024018]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x10024018]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x60]
push eax
push ecx
mov esi, edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x54]
mov edx, dword [eax + 0x58]
mov eax, dword [eax + 0x70]
mov edi, dword [eax + 0x60]
cmp edi, 5
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], edi
jne 0x1000ff48
mov dword [esp + 0x28], 4
mov edi, dword [esp + 0x28]
mov ecx, dword [ebx + 0x54]
mov edx, dword [ecx + 0x70]
xor eax, eax
cmp dword [edx + 0x60], eax
sete al
test eax, eax
mov dword [esp + 0x70], eax
je 0x1000ff74
mov eax, dword [ecx + 0x54]
mov edx, dword [ecx + 0x78]
cmp edx, dword [eax + 0x60c]
mov dword [esp + 0x14], 1
je 0x1000ff7c
mov dword [esp + 0x14], 0
cmp dword [esp + 0x14], 0
mov eax, dword [ebx + 0x58]
mov edx, dword [eax + 0x608]
mov dword [esp + 0x58], edx
je 0x1000ff98
mov eax, dword [eax + 0x3a8]
jmp 0x1000fffd
cmp dword [ebx + 0x5c], 0
je 0x1000ffb9
mov edx, dword [ecx + 0x58]
cmp dword [edx + 4], 2
je 0x1000ffb9
mov ecx, edi
shl ecx, 4
mov edx, dword [ecx + eax + 0x3cc]
mov dword [esp + 0x18], edx
jmp 0x10010001
mov ecx, dword [ecx + 0x70]
cmp dword [ecx + 0x60], 1
jne 0x1000fff1
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + 0x34]
cmp ecx, 6
jge 0x1000ffd7
mov eax, dword [eax + ecx*4 + 0x3a8]
jmp 0x1000fffd
lea eax, [ecx - 6]
cdq
mov ecx, 6
idiv ecx
mov eax, 0xf
sub eax, edx
imul eax, eax, 0x101010
jmp 0x1000fffd
mov edx, edi
shl edx, 4
mov eax, dword [edx + eax + 0x3c8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC80U.DLL_Ordinal_326
cmp dword [esp + 0x70], 0
mov dword [esp + 0xf8], 0
jne 0x1001003a
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 4]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x1001031f
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
sub eax, dword [esp + 0x64]
sub edi, dword [esp + 0x60]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x10], eax
je 0x10010066
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], edi
jmp 0x10010079
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edx, dword [esp + 0x10]
push 5
push 5
add edx, 1
push edx
push edi
push 0
push 1
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push 0
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
push edi
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
test edi, edi
je 0x100100dd
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
jmp 0x100100e3
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100100ee
push eax
call edi
mov ecx, dword [esp + 0x38]
push ecx
call sub.MFC80U.DLL_Ordinal_2362
test eax, eax
mov dword [esp + 0x10], eax
je 0x10010103
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
push edx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_FillRgn]
mov ecx, dword [ebx + 0x58]
mov edx, dword [ecx + 0x41c]
push edx
lea ecx, [esp + 0x24]
call sub.MFC80U.DLL_Ordinal_326
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xf8], 1
je 0x10010139
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 4]
push 1
push 1
push ecx
push eax
push edx
call dword [sym.imp.GDI32.dll_FrameRgn]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, dword [esp + 0x24]
push edx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
push ecx
call edi
mov edx, dword [ebx + 0x58]
mov eax, dword [edx + 0x41c]
movzx ecx, ah
movzx edx, al
imul ecx, ecx, 0x97
imul edx, edx, 0x4d
shr eax, 0x10
add ecx, edx
lea edx, [eax*8]
sub edx, eax
lea eax, [ecx + edx*4]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
shr eax, 8
movzx eax, al
mov edi, eax
shl edi, 8
or edi, eax
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x60]
sub dword [esp + 0x4c], 1
add edx, 1
add eax, 1
sub ecx, 1
cmp dword [esp + 0x58], 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
je 0x100101ee
mov ecx, edx
add ecx, 2
jmp 0x100101f1
add ecx, 0xfffffffd
xor edx, edx
cmp dword [esp + 0x58], edx
push edi
sete dl
push eax
mov eax, dword [esi + 4]
push ecx
push eax
mov dword [esp + 0x8c], ecx
lea edx, [edx + edx - 1]
add edx, ecx
mov dword [esp + 0x84], edx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi + 4]
push edi
add eax, 0xffffffff
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 4]
push edi
add eax, 1
push eax
mov eax, dword [esp + 0x7c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
push edi
add eax, 0xfffffffe
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
cmp dword [esp + 0x14], 0
je 0x10010302
mov ecx, dword [esp + 0x18]
push ecx
push 1
push 0
lea ecx, [esp + 0x44]
call sub.MFC80U.DLL_Ordinal_502
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0xfc], 2
call sub.MFC80U.DLL_Ordinal_5637
cmp dword [esp + 0x58], 0
mov dword [esp + 0x10], eax
je 0x100102a5
mov edi, dword [esp + 0x48]
jmp 0x100102ac
mov edi, dword [esp + 0x40]
add edi, 0xffffffff
mov eax, dword [esp + 0x44]
push eax
push edi
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_4117
mov edx, dword [esp + 0x4c]
push edx
push edi
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3995
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100102de
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0xf8], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.CPen.0
call fcn.10005e10
mov byte [esp + 0xf8], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBrush.0
call fcn.10005e10
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x58]
cmp dword [ecx + 4], 2
jne 0x10010430
mov edx, dword [ebx + 0x58]
mov eax, dword [edx + 0x278]
mov ebx, dword [esp + 0x68]
sub ebx, dword [esp + 0x60]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
push 0x808080
lea ecx, [esp + 0x2c]
sub edi, 1
sub ebx, 4
call sub.MFC80U.DLL_Ordinal_326
push 0xffffff
lea ecx, [esp + 0x24]
mov byte [esp + 0xfc], 3
call sub.MFC80U.DLL_Ordinal_326
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0xfc], 4
call sub.MFC80U.DLL_Ordinal_5636
mov ecx, dword [esi + 4]
push 0xf00021
push 1
push ebx
push edi
push 2
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_PatBlt]
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_5636
mov eax, dword [esi + 4]
push 0xf00021
push 1
push ebx
add edi, 1
push edi
push 2
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_5636
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
mov byte [esp + 0xf8], 3
mov esi, vtable.CBrush.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.10005e10
mov byte [esp + 0xf8], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.10005e10
mov dword [esp + 0xf8], 0xffffffff
mov dword [esp + 0x30], esi
jmp 0x100107c9
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx + 0x2a8]
cdq
sub eax, edx
sar eax, 1
push 1
mov ecx, esi
mov dword [esp + 0x14], eax
call sub.MFC80U.DLL_Ordinal_5727
push 0
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_6031
mov ecx, dword [ebx + 0x58]
xor edx, edx
cmp dword [esp + 0x14], edx
sete dl
lea eax, [edx + edi*4 + 0xf0]
mov eax, dword [ecx + eax*4]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov edi, dword [esp + 0x70]
test edi, edi
mov eax, dword [ebx + 0x58]
je 0x10010486
add eax, 0x2bc
jmp 0x1001048b
add eax, 0x2b8
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
test edi, edi
mov byte [esp + 0xf8], 5
je 0x100104ad
mov ecx, dword [ebx + 0x58]
mov ecx, dword [ecx + 0x620]
jmp 0x100104b6
mov edx, dword [ebx + 0x58]
mov ecx, dword [edx + 0x2a8]
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x384
push eax
mov eax, ecx
cdq
push 0x190
sub eax, edx
sar eax, 1
push eax
push ecx
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0x98]
mov edx, esi
call fcn.1000da50
mov ecx, dword [ebx + 0x54]
mov edx, dword [ecx + 0x70]
mov dword [esp + 0x18], eax
mov eax, 1
cmp dword [edx + 0x60], eax
jne 0x10010511
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x28], ecx
jmp 0x10010515
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
sub eax, ecx
sub eax, dword [esp + 0x84]
add edi, 1
imul edi, dword [esp + 0x10]
add eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x10]
add edi, 0x10
cmp dword [edx - 0xc], 0
jne 0x10010556
lea eax, [ecx + 0xc]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0xf8], 6
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x70]
cmp dword [ecx + 0x60], 4
jne 0x10010674
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
push eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], edx
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x7c]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x58]
add ecx, edx
push ecx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x58]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x58]
add edx, edi
push 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
push 1
lea eax, [esp + 0x48]
add ecx, edi
push eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebx + 0x58]
mov edx, dword [ecx + 0x418]
push edx
lea ecx, [esp + 0x24]
call sub.MFC80U.DLL_Ordinal_326
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBrush.0
call fcn.10005e10
jmp 0x100106ae
cmp dword [esp + 0x70], 0
je 0x100106ae
push 6
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_6031
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x58]
cdq
sub eax, edx
mov edx, dword [ebx + 0x58]
mov edi, dword [edx + 0x624]
sar eax, 1
neg ecx
sbb ecx, ecx
add ecx, 2
sub edi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100106d9
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x70], 0
jne 0x100107a2
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x10]
add eax, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
sub eax, 0x10
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebx + 0x54]
mov edx, dword [eax + 0x58]
sar edi, 1
add edi, dword [esp + 0x64]
cmp dword [edx + 4], 1
jne 0x1001074d
call fcn.1000fb00
test eax, eax
je 0x1001072d
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x430]
jmp 0x10010736
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx + 0x42c]
mov edx, dword [esp + 0x10]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [esi + 4]
push edi
push edx
push eax
jmp 0x1001079c
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x100107a2
mov edx, dword [edx + 0x30]
sub edx, 1
je 0x1001078b
sub edx, 1
jne 0x100107a2
mov dword [esp + 0x40], ecx
add ecx, 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
add edi, 0x10
push eax
lea ecx, [esp + 0x44]
mov edx, esi
mov eax, ebx
mov dword [esp + 0x50], edi
call fcn.10010800
jmp 0x100107a2
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push edi
push ecx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x54]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [esp + 0xf8], 0xffffffff
mov dword [esp + 0x30], vtable.CBrush.0
lea ecx, [esp + 0x30]
call fcn.10005e10
xor eax, eax
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.10012a8e
mov esp, ebp
pop ebp
ret