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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57b170
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x38]
push edi
xor edi, edi
cmp ebx, edi
je 0x4befb3
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
call fcn.00435f80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], edi
cmp eax, edi
jne 0x4be8d0
push 0x80004003
call fcn.00565a92
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push esi
push edx
push eax
mov esi, eax
call dword [ecx + 0x2c]
cmp eax, edi
jge 0x4be8ee
push 0x5d1858
push esi
push eax
call fcn.00565aa0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
jle 0x4bef86
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
cmp dword [esp + 0x1c], edi
jne 0x4be915
push 0x80004003
call fcn.00565a92
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004924a0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3c], 1
cmp eax, edi
jne 0x4be93f
push 0x80004003
call fcn.00565a92
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
call fcn.00435ee0
mov ecx, dword [eax]
mov byte [esp + 0x3c], 2
cmp ecx, edi
je 0x4be95f
call fcn.00412aa0
jmp 0x4be961
xor eax, eax
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 4
call fcn.00412980
cmp dword [esp + 0x18], edi
jne 0x4be989
push 0x80004003
call fcn.00565a92
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.00436070
mov ecx, dword [eax]
mov byte [esp + 0x3c], 5
cmp ecx, edi
je 0x4be9a9
call fcn.00412aa0
jmp 0x4be9ab
xor eax, eax
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 7
call fcn.00412980
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 8], edi
je 0x4bef41
lea edx, [esp + 0x48]
lea eax, [esp + 0x44]
push edx
push ebx
push eax
call fcn.004c3580
add esp, 0xc
test eax, eax
jne 0x4bef41
mov ecx, dword [str.DIRECTION]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bea48
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4bef41
push str.vertical
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bea29
mov dword [ebx + 0x64], 2
jmp 0x4bef41
push str.horizontal
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bef41
mov dword [ebx + 0x64], 1
jmp 0x4bef41
mov eax, dword [str.FOREGROUNDCOLOR]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bead6
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
cmp esi, edi
je 0x4beac6
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bea87
and eax, 0xffffff
mov dword [ebx + 0xa4], eax
jmp 0x4bef41
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4beaa8
mov eax, 0xffffff
and eax, eax
mov dword [ebx + 0xa4], eax
jmp 0x4bef41
cmp byte [esi], 0x23
jne 0x4beaae
inc esi
lea edx, [esp + 0x24]
push edx
push 0x5d4270
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x30]
add esp, 0xc
and eax, 0xffffff
mov dword [ebx + 0xa4], eax
jmp 0x4bef41
mov eax, dword [str.FOREGROUNDCOLOR2]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4beb64
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
cmp esi, edi
je 0x4beb54
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4beb15
and eax, 0xffffff
mov dword [ebx + 0xa8], eax
jmp 0x4bef41
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4beb36
mov eax, 0xffffff
and eax, eax
mov dword [ebx + 0xa8], eax
jmp 0x4bef41
cmp byte [esi], 0x23
jne 0x4beb3c
inc esi
lea edx, [esp + 0x24]
push edx
push 0x5d4270
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x30]
add esp, 0xc
and eax, 0xffffff
mov dword [ebx + 0xa8], eax
jmp 0x4bef41
mov eax, dword [str.ONCLICK]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4beb8d
lea edx, [esp + 0x48]
lea ecx, [ebx + 0xb8]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x4bef41
mov eax, dword [str.AUTOSIZE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bebdc
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4bebd2
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bebc7
mov eax, 1
mov dword [ebx + 0x60], eax
jmp 0x4bef41
push str.FALSE
push esi
call ebp
add esp, 8
xor eax, eax
mov dword [ebx + 0x60], eax
jmp 0x4bef41
mov edx, dword [str.TEXTBUTTON]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bec2c
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4bec22
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bec17
mov eax, 1
mov dword [ebx + 0x5c], eax
jmp 0x4bef41
push str.FALSE
push esi
call ebp
add esp, 8
xor eax, eax
mov dword [ebx + 0x5c], eax
jmp 0x4bef41
mov ecx, dword [str.TOOLTIP]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bec56
lea eax, [esp + 0x48]
lea ecx, [ebx + 0xbc]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4bef41
mov ecx, dword [str.BACKGROUNDCOLOR]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4becdc
mov esi, dword [esp + 0x48]
mov dword [ebx + 0x58], edi
cmp esi, edi
mov dword [esp + 0x24], eax
je 0x4becd1
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bec94
mov dword [ebx + 0xac], eax
jmp 0x4bef41
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4becb3
mov eax, 0xffffff
mov dword [ebx + 0xac], eax
jmp 0x4bef41
cmp byte [esi], 0x23
jne 0x4becb9
inc esi
lea eax, [esp + 0x24]
push eax
push 0x5d4270
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [ebx + 0xac], eax
jmp 0x4bef41
mov ecx, dword [str.ALIGN]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bedc7
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call fcn.00564cce
mov ecx, dword [esp + 0x10]
push 0x5d7874
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bed27
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], edi
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov edx, dword [esp + 0x10]
push 0x5d7870
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bed4b
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], edi
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov eax, dword [esp + 0x10]
push str.right
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bed73
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov ecx, dword [esp + 0x10]
push str.bottom
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bed9b
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], 8
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov edx, dword [esp + 0x10]
push str.center
push edx
call dword [sym.imp.MSVCRT.dll__mbsicoll]
add esp, 8
test eax, eax
jne 0x4bedb9
mov dword [ebx + 0x54], 6
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov eax, dword [str.VALUE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bedf0
lea edx, [esp + 0x48]
lea ecx, [ebx + 0xb4]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x4bef41
mov eax, dword [str.FONTTYPE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bee30
mov edi, dword [esp + 0x48]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp 0x4bef41
mov ecx, dword [str.FONTSTYLE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bef16
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
call fcn.00564cce
mov ecx, dword [esp + 0x14]
push str.Thin
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bee7f
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x64
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov edx, dword [esp + 0x14]
push str.Normal
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4beea7
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x190
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov eax, dword [esp + 0x14]
push str.Medium
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4beecc
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x1f4
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov ecx, dword [esp + 0x14]
push str.Bold
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4beef1
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x2bc
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov edx, dword [esp + 0x14]
push str.Extrabold
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bef0b
mov dword [ebx + 0x78], 0x320
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x4bef41
mov eax, dword [str.FONTSIZE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bef41
mov eax, dword [esp + 0x48]
lea edx, [ebx + 0x68]
push edx
push 0x5ce744
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3c], 0
cmp eax, edi
je 0x4bef70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4be905
pop ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
cmp eax, edi
pop esi
je 0x4bef9d
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x2c]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret