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

Disassembly:
push 0xffffffffffffffff
push 0x555391
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x24]
neg eax
sbb eax, eax
xor esi, esi
and al, 0xc0
add eax, 0x40
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x4e4b45
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0xb0]
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], vtable.CFont.0
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov ebp, dword [ecx + 4]
mov dword [esp + 0x50], ebp
mov eax, dword [ecx + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x74]
mov dword [esp + 0xd8], esi
rep stosd dword es:[edi], eax
mov byte [esp + 0x88], al
mov byte [esp + 0x89], al
mov byte [esp + 0x8a], al
mov byte [esp + 0x8b], al
mov al, 4
mov edi, str.MS_Sans_Serif
mov byte [esp + 0x8c], al
mov byte [esp + 0x8e], al
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
lea edx, [esp + 0x90]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
mov dword [esp + 0x74], 0x50
mov dword [esp + 0x84], 0x190
mov byte [esp + 0x8d], 0
mov byte [esp + 0x8f], 0x22
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x34]
call fcn.00522ee0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], 0
test eax, eax
je 0x4e4b0b
mov esi, dword [esp + 0xe4]
jmp 0x4e4858
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x4c]
inc ecx
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
mov edx, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebp
je 0x4e491a
cmp dword [esp + 0x24], 1
jle 0x4e4932
mov dword [esp + 0x40], edx
push 3
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
push 0
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
call ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add eax, 2
add ecx, 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
push 0x599258
mov ecx, 0x5b07e8
call fcn.0042aec0
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, esi
call fcn.00522dd5
push 0
lea eax, [esp + 0x38]
push 5
push eax
call ebp
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jl 0x4e48d8
mov eax, dword [ebx + 0x2c]
lea edx, [esp + 0x10]
push eax
push 0
push edx
call ebp
jmp 0x4e4932
cmp dword [esp + 0x24], 1
jle 0x4e4932
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [0x5ab980]
mov dword [esp + 0x28], ecx
mov edx, dword [edi]
mov eax, dword [ebx + 0x1c]
push edx
push eax
lea ecx, [esp + 0x30]
push str._fs14__cr_s__s
push ecx
mov byte [esp + 0xe8], 1
call fcn.0050e6c7
add esp, 0x10
lea edx, [esp + 0x28]
push 0x800
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.00512659
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
add edx, ecx
push eax
push edx
lea eax, [esp + 0xd0]
push esi
push eax
call fcn.00426f30
mov ecx, dword [edi + 8]
lea eax, [edi + 8]
add esp, 0x18
mov edx, dword [ecx - 8]
test edx, edx
je 0x4e49d0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4e49b8
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push edx
push ecx
push 1
jmp 0x4e49c6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push edx
push ecx
push 0
push eax
push esi
call fcn.00429560
add esp, 0x18
mov edx, dword [edi + 4]
mov eax, dword [edx - 8]
test eax, eax
je 0x4e4ab6
push 1
mov ecx, esi
call fcn.00519d5d
mov ebp, dword [esi]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x20]
mov ecx, 0x5b07e8
push eax
call fcn.0042aec0
push eax
mov ecx, esi
call dword [ebp + 0x30]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
lea ebp, [esp + 0x5c]
lea ecx, [edx + 0x14]
mov edx, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
sub eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
push 0xc10
push ebp
lea eax, [edx + eax - 0x40]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xbc]
cmp eax, ecx
jle 0x4e4a72
mov eax, ecx
mov dword [esp + 0x68], eax
add eax, 6
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
lea ebp, [esp + 0x5c]
push 0x810
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov ecx, dword [esp + 0x70]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [esp + 0x6c]
mov ecx, esi
push edx
call fcn.00519d5d
mov ecx, dword [esp + 0x44]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub edx, eax
cmp edx, 0x32
jge 0x4e4acc
add eax, 0x32
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
add edi, 0x10
mov byte [esp + 0xd8], 0
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], ecx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov ebp, dword [esp + 0x1c]
call fcn.005128e4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4e4854
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], vtable.CGdiObject.0
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0xd8], 2
call fcn.0051a71e
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 0xc