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

Disassembly:
push 0xffffffffffffffff
push 0x54f4ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x80], ebp
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 4]
test eax, eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x78], 1
mov dword [esp + 0x54], 0
jne 0x4c6ff4
test eax, eax
je 0x4c6fea
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax + 4]
mov dword [eax + 0xc], ecx
mov eax, 1
jmp 0x4c7844
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xf0]
test eax, eax
jne 0x4c70d9
mov edx, edi
push 5
push 5
push 5
mov eax, dword [edx]
push 5
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x48]
call fcn.00522f7e
mov eax, dword [ebp + 0x1c]
push 0xa
push 0xa
push eax
lea edx, [esp + 0x44]
push eax
push edx
push esi
call fcn.00428550
mov ebp, dword [ebp + 0x20]
add esp, 0x18
cmp ebp, 1
jne 0x4c7091
mov eax, edi
push 0
sub esp, 0x10
mov ecx, dword [eax]
mov ebp, esp
push esi
mov edx, dword [eax + 4]
mov dword [ebp], ecx
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffffe
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
call fcn.0041e2b0
add esp, 0x18
jmp 0x4c70d9
cmp ebp, 2
jne 0x4c70d9
mov ecx, dword [esp + 0xec]
push str.sidebar.break
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
dec eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
mov ecx, 0x5b07e8
call fcn.0042aec0
lea edx, [esp + 0x24]
push eax
push edx
mov ecx, esi
call fcn.00522dd5
mov eax, dword [edi]
mov dword [esp + 0x58], vtable.CFont.0
mov dword [esp + 0x24], eax
xor eax, eax
mov ebp, dword [edi + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], ebp
mov ecx, dword [edi + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x30], ebp
mov ecx, 0xf
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov dword [esp + 0xdc], eax
xor edi, edi
lea eax, [esp + 0x88]
push edi
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0x50
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], 0x190
mov byte [esp + 0xa4], 0
mov byte [esp + 0xa5], 0
mov byte [esp + 0xa6], 0
mov byte [esp + 0xa7], 0
mov byte [esp + 0xa8], 4
mov byte [esp + 0xa9], 0
mov byte [esp + 0xaa], 4
mov byte [esp + 0xab], 0x22
mov byte [esp + 0xac], 0
call fcn.00522ee0
mov edx, dword [esi]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call dword [edx + 0x28]
cmp ebx, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], 0xffffffff
je 0x4c77c4
jmp 0x4c71cc
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx]
mov eax, ebx
inc edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
add ebp, 2
lea ebx, [edi + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov eax, dword [ebx]
xor ebp, ebp
mov dword [esp + 0x10], 8
cmp dword [eax - 8], ebp
je 0x4c74c9
lea edx, [esp + 0x34]
push edx
push str.TEXT:
push eax
call fcn.00425720
add esp, 0xc
test eax, eax
je 0x4c72a8
cmp dword [esp + 0xf4], ebp
jne 0x4c7294
push 1
mov ecx, esi
call fcn.00519d5d
mov ecx, dword [edi + 8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x74]
push edx
call fcn.00512952
mov eax, dword [esp + 0x74]
mov edx, dword [esi]
mov byte [esp + 0xdc], 1
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x5c]
lea ecx, [esp + 0x74]
mov byte [esp + 0xdc], 0
call fcn.005128e4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x13
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
lea edx, [esp + 0x34]
push edx
push str.BULLET:
push eax
call fcn.00425720
add esp, 0xc
test eax, eax
je 0x4c73df
cmp dword [esp + 0xf4], ebp
jne 0x4c73c2
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], vtable.CBrush.0
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], vtable.CPen.0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, eax
add eax, 4
mov dword [esp + 0xcc], eax
mov eax, dword [edi + 8]
push eax
mov byte [esp + 0xe0], 3
lea ebp, [ecx + 6]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x70]
call fcn.0051a6c7
mov eax, dword [edi + 8]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x68]
call fcn.0051a6c7
lea edx, [esp + 0x6c]
mov ecx, esi
push edx
call fcn.00519cc6
mov dword [esp + 0x10], eax
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.00519cc6
mov ecx, dword [esp + 0xcc]
mov edx, dword [esi + 4]
mov dword [esp + 0x84], eax
lea eax, [ebp + 4]
push eax
push ecx
push ebp
push ebx
push edx
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00519cc6
mov ecx, dword [esp + 0x84]
push ecx
mov ecx, esi
call fcn.00519cc6
mov ebx, vtable.CGdiObject.0
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0xdc], 4
call fcn.0051a71e
mov dword [esp + 0x6c], ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdc], 5
call fcn.0051a71e
mov byte [esp + 0xdc], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x10], 0xe
mov dword [esp + 0x20], ecx
add eax, 8
jmp 0x4c74c5
mov eax, dword [ebx]
lea edx, [esp + 0x34]
push edx
push str.ICON:
push eax
call fcn.00425720
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0xf4]
je 0x4c748a
cmp eax, ebp
jne 0x4c74a4
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebx
push 0x32
mov ebp, eax
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.004f9b83
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c74a4
call fcn.0052bb7d
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push 0
push ecx
push ebp
and ebx, 0xffff
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebx, eax
test ebx, ebx
je 0x4c74a4
test esi, esi
jne 0x4c7460
xor eax, eax
jmp 0x4c7463
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 3
push 0
push 0
push edx
mov edx, dword [esp + 0x24]
push ebp
push ebx
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4c74a4
cmp eax, ebp
jne 0x4c74a4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ebp
push ecx
push eax
push ebp
push ebx
push esi
call fcn.00429560
add esp, 0x18
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc edx
inc ecx
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
add eax, 0x13
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov ebp, 0x5994b0
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [ebp]
jne 0x4c74f7
test cl, cl
je 0x4c74f3
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [ebp + 1]
jne 0x4c74f7
add eax, 2
add ebp, 2
test cl, cl
jne 0x4c74d2
xor eax, eax
jmp 0x4c74fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c75ff
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 0x20]
dec eax
je 0x4c75e6
dec eax
je 0x4c7578
lea eax, [ecx + 4]
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x44], eax
mov eax, 0xa
cmp word [esp + 0x10], ax
jae 0x4c7554
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x4c7774
mov eax, dword [edi + 8]
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.00522dd5
jmp 0x4c7774
mov eax, dword [esp + 0xec]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 0x38], edx
jle 0x4c75ad
mov eax, 0x14
add ecx, 0xa
cmp word [esp + 0x10], ax
mov dword [esp + 0x3c], ecx
jae 0x4c75bd
mov dword [esp + 0x10], eax
jmp 0x4c75bd
cmp word [esp + 0x10], 0xa
jae 0x4c75bd
mov dword [esp + 0x10], 0xa
mov eax, dword [esp + 0xf4]
inc ecx
test eax, eax
mov dword [esp + 0x44], ecx
jne 0x4c7774
mov ecx, dword [edi + 8]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.00522dd5
jmp 0x4c7774
mov eax, 0x14
cmp word [esp + 0x10], ax
jae 0x4c7774
mov dword [esp + 0x10], eax
jmp 0x4c7774
mov eax, dword [edx - 8]
test eax, eax
je 0x4c7774
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], vtable.CFont.0
mov eax, dword [edi + 4]
xor ebx, ebx
test al, 3
mov byte [esp + 0xdc], 6
je 0x4c7691
and eax, 2
push ebx
cmp al, 2
sete al
mov byte [esp + 0xa1], al
mov ecx, dword [edi + 4]
and cl, 1
lea eax, [esp + 0x8c]
neg cl
sbb ecx, ecx
push eax
and ecx, 0x12c
add ecx, 0x190
mov dword [esp + 0xa0], ecx
mov edx, dword [edi + 4]
and dl, 1
lea ecx, [esp + 0x50]
neg dl
sbb edx, edx
and edx, 0xfffffffa
add edx, 0xffffffb0
mov dword [esp + 0x90], edx
call fcn.00522ee0
mov edx, dword [esi]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov ebx, 1
mov eax, dword [edi]
mov edx, dword [esi]
lea ebp, [esp + 0x14]
push 0xc10
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
cmp ecx, eax
jle 0x4c76c7
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x4c76fe
push 1
mov ecx, esi
call fcn.00519d5d
mov eax, dword [edi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [edi]
mov edx, dword [esi]
lea ebp, [esp + 0x14]
push 0x810
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esp + 0x14]
add edi, 0x14
mov dword [edi], eax
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x20]
cmp eax, 1
mov eax, dword [esp + 0x20]
jne 0x4c7734
add eax, 6
jmp 0x4c7737
add eax, 2
test ebx, ebx
mov dword [esp + 0x20], eax
je 0x4c774b
mov edx, dword [esi]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], vtable.CGdiObject.0
test eax, eax
jne 0x4c77af
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], 8
call fcn.0051a71e
mov byte [esp + 0xdc], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
and eax, 0xffff
sub edx, ecx
cmp edx, eax
jge 0x4c7791
add eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [esp + 0x30], ecx
jne 0x4c71c4
jmp 0x4c77c0
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], 7
call fcn.0051a71e
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x60]
test eax, eax
je 0x4c77db
mov edx, dword [esi + 4]
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0xf0]
mov esi, ebp
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 4]
sub edx, ecx
mov ecx, dword [esp + 0x28]
sub esi, ecx
cmp esi, edx
jg 0x4c77fe
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4c7806
mov dword [esp + 0x78], 0xffffffff
mov edx, dword [esp + 0xf4]
test edx, edx
je 0x4c7824
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebp
mov dword [esp + 0x58], vtable.CGdiObject.0
lea ecx, [esp + 0x58]
mov dword [esp + 0xdc], 9
call fcn.0051a71e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd0
ret 0x14