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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57b1b0
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 0x4bf6e1
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 0x4bf020
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 0x4bf03e
push 0x5d1858
push esi
push eax
call fcn.00565aa0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
jle 0x4bf6b4
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
cmp dword [esp + 0x1c], edi
jne 0x4bf065
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 0x4bf08f
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 0x4bf0af
call fcn.00412aa0
jmp 0x4bf0b1
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 0x4bf0d9
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 0x4bf0f9
call fcn.00412aa0
jmp 0x4bf0fb
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 0x4bf66f
lea edx, [esp + 0x48]
lea eax, [esp + 0x44]
push edx
push ebx
push eax
call fcn.004c3580
add esp, 0xc
test eax, eax
jne 0x4bf66f
mov ecx, dword [str.FOREGROUNDCOLOR]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf1be
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
cmp esi, edi
je 0x4bf1b3
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bf176
mov dword [ebx + 0xa4], eax
jmp 0x4bf66f
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bf195
mov eax, 0xffffff
mov dword [ebx + 0xa4], eax
jmp 0x4bf66f
cmp byte [esi], 0x23
jne 0x4bf19b
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 + 0xa4], eax
jmp 0x4bf66f
mov ecx, dword [str.FOREGROUNDCOLOR2]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf241
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
cmp esi, edi
je 0x4bf236
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bf1f9
mov dword [ebx + 0xa8], eax
jmp 0x4bf66f
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bf218
mov eax, 0xffffff
mov dword [ebx + 0xa8], eax
jmp 0x4bf66f
cmp byte [esi], 0x23
jne 0x4bf21e
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 + 0xa8], eax
jmp 0x4bf66f
mov ecx, dword [str.ONCLICK]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf26b
lea eax, [esp + 0x48]
lea ecx, [ebx + 0xc0]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4bf66f
mov ecx, dword [str.TEXTCHANGE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf295
lea eax, [esp + 0x48]
lea ecx, [ebx + 0xc8]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4bf66f
mov ecx, dword [str.AUTOSIZE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf2e5
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4bf2db
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf2d0
mov eax, 1
mov dword [ebx + 0x60], eax
jmp 0x4bf66f
push str.FALSE
push esi
call ebp
add esp, 8
xor eax, eax
mov dword [ebx + 0x60], eax
jmp 0x4bf66f
mov eax, dword [str.TEXTBUTTON]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bf334
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4bf32a
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf31f
mov eax, 1
mov dword [ebx + 0x5c], eax
jmp 0x4bf66f
push str.FALSE
push esi
call ebp
add esp, 8
xor eax, eax
mov dword [ebx + 0x5c], eax
jmp 0x4bf66f
mov edx, dword [str.TOOLTIP]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf35e
lea ecx, [esp + 0x48]
push ecx
lea ecx, [ebx + 0xc4]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4bf66f
mov edx, dword [str.BACKGROUNDCOLOR]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf3e4
mov esi, dword [esp + 0x48]
mov dword [ebx + 0x58], edi
cmp esi, edi
mov dword [esp + 0x24], eax
je 0x4bf3d9
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bf39c
mov dword [ebx + 0xac], eax
jmp 0x4bf66f
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4bf3bb
mov eax, 0xffffff
mov dword [ebx + 0xac], eax
jmp 0x4bf66f
cmp byte [esi], 0x23
jne 0x4bf3c1
inc esi
lea ecx, [esp + 0x24]
push ecx
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 0x4bf66f
mov edx, dword [str.ROUNDBORDER]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf434
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4bf42a
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf41f
mov eax, 1
mov dword [ebx + 0x64], eax
jmp 0x4bf66f
push str.FALSE
push esi
call ebp
add esp, 8
xor eax, eax
mov dword [ebx + 0x64], eax
jmp 0x4bf66f
mov ecx, dword [str.ALIGN]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf4f3
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
call fcn.00564cce
mov ecx, dword [esp + 0x14]
push 0x5d7874
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bf47f
lea ecx, [esp + 0x14]
mov dword [ebx + 0x54], edi
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov edx, dword [esp + 0x14]
push 0x5d7870
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf4a3
lea ecx, [esp + 0x14]
mov dword [ebx + 0x54], edi
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov eax, dword [esp + 0x14]
push str.right
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf4cb
lea ecx, [esp + 0x14]
mov dword [ebx + 0x54], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov ecx, dword [esp + 0x14]
push str.bottom
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bf4e5
mov dword [ebx + 0x54], 8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov edx, dword [str.VALUE]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf51d
lea ecx, [esp + 0x48]
push ecx
lea ecx, [ebx + 0xbc]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4bf66f
mov edx, dword [str.FONTTYPE]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf55e
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 0x4bf66f
mov ecx, dword [str.FONTSTYLE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf644
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call fcn.00564cce
mov ecx, dword [esp + 0x10]
push str.Thin
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bf5ad
lea ecx, [esp + 0x10]
mov dword [ebx + 0x78], 0x64
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov edx, dword [esp + 0x10]
push str.Normal
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf5d5
lea ecx, [esp + 0x10]
mov dword [ebx + 0x78], 0x190
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov eax, dword [esp + 0x10]
push str.Medium
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bf5fa
lea ecx, [esp + 0x10]
mov dword [ebx + 0x78], 0x1f4
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov ecx, dword [esp + 0x10]
push str.Bold
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bf61f
lea ecx, [esp + 0x10]
mov dword [ebx + 0x78], 0x2bc
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov edx, dword [esp + 0x10]
push str.Extrabold
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4bf639
mov dword [ebx + 0x78], 0x320
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x4bf66f
mov eax, dword [str.FONTSIZE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4bf66f
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 0x4bf69e
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 0x4bf055
pop ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
cmp eax, edi
pop esi
je 0x4bf6cb
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