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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x564d70
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 0x4b6cb3
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
call fcn.00431350
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], edi
cmp eax, edi
jne 0x4b65d0
push 0x80004003
call fcn.005505fa
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 0x4b65ee
push 0x5b7510
push esi
push eax
call fcn.00550608
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
jle 0x4b6c86
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
cmp dword [esp + 0x1c], edi
jne 0x4b6615
push 0x80004003
call fcn.005505fa
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0048af70
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3c], 1
cmp eax, edi
jne 0x4b663f
push 0x80004003
call fcn.005505fa
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
call fcn.004312b0
mov ecx, dword [eax]
mov byte [esp + 0x3c], 2
cmp ecx, edi
je 0x4b665f
call fcn.004127c0
jmp 0x4b6661
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.004126a0
cmp dword [esp + 0x18], edi
jne 0x4b6689
push 0x80004003
call fcn.005505fa
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.00431440
mov ecx, dword [eax]
mov byte [esp + 0x3c], 5
cmp ecx, edi
je 0x4b66a9
call fcn.004127c0
jmp 0x4b66ab
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.004126a0
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 8], edi
je 0x4b6c41
lea edx, [esp + 0x48]
lea eax, [esp + 0x44]
push edx
push ebx
push eax
call fcn.004bb200
add esp, 0xc
test eax, eax
jne 0x4b6c41
mov ecx, dword [str.DIRECTION]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b6748
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4b6c41
push str.vertical
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b6729
mov dword [ebx + 0x64], 2
jmp 0x4b6c41
push str.horizontal
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4b6c41
mov dword [ebx + 0x64], 1
jmp 0x4b6c41
mov eax, dword [str.FOREGROUNDCOLOR]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b67d6
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
cmp esi, edi
je 0x4b67c6
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4b6787
and eax, 0xffffff
mov dword [ebx + 0xa4], eax
jmp 0x4b6c41
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4b67a8
mov eax, 0xffffff
and eax, eax
mov dword [ebx + 0xa4], eax
jmp 0x4b6c41
cmp byte [esi], 0x23
jne 0x4b67ae
inc esi
lea edx, [esp + 0x24]
push edx
push 0x5b9ce8
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 0x4b6c41
mov eax, dword [str.FOREGROUNDCOLOR2]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6864
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
cmp esi, edi
je 0x4b6854
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4b6815
and eax, 0xffffff
mov dword [ebx + 0xa8], eax
jmp 0x4b6c41
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4b6836
mov eax, 0xffffff
and eax, eax
mov dword [ebx + 0xa8], eax
jmp 0x4b6c41
cmp byte [esi], 0x23
jne 0x4b683c
inc esi
lea edx, [esp + 0x24]
push edx
push 0x5b9ce8
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 0x4b6c41
mov eax, dword [str.ONCLICK]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b688d
lea edx, [esp + 0x48]
lea ecx, [ebx + 0xb8]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x4b6c41
mov eax, dword [str.AUTOSIZE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b68dc
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4b68d2
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b68c7
mov eax, 1
mov dword [ebx + 0x60], eax
jmp 0x4b6c41
push str.FALSE
push esi
call ebp
add esp, 8
xor eax, eax
mov dword [ebx + 0x60], eax
jmp 0x4b6c41
mov edx, dword [str.TEXTBUTTON]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b692c
mov eax, dword [esp + 0x48]
cmp eax, edi
mov esi, eax
je 0x4b6922
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b6917
mov eax, 1
mov dword [ebx + 0x5c], eax
jmp 0x4b6c41
push str.FALSE
push esi
call ebp
add esp, 8
xor eax, eax
mov dword [ebx + 0x5c], eax
jmp 0x4b6c41
mov ecx, dword [str.TOOLTIP]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b6956
lea eax, [esp + 0x48]
lea ecx, [ebx + 0xbc]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4b6c41
mov ecx, dword [str.BACKGROUNDCOLOR]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b69dc
mov esi, dword [esp + 0x48]
mov dword [ebx + 0x58], edi
cmp esi, edi
mov dword [esp + 0x24], eax
je 0x4b69d1
push str.black
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4b6994
mov dword [ebx + 0xac], eax
jmp 0x4b6c41
push str.white
push esi
call ebp
add esp, 8
test eax, eax
jne 0x4b69b3
mov eax, 0xffffff
mov dword [ebx + 0xac], eax
jmp 0x4b6c41
cmp byte [esi], 0x23
jne 0x4b69b9
inc esi
lea eax, [esp + 0x24]
push eax
push 0x5b9ce8
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [ebx + 0xac], eax
jmp 0x4b6c41
mov ecx, dword [str.ALIGN]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b6ac7
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call fcn.0054f83e
mov ecx, dword [esp + 0x10]
push 0x5bd22c
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6a27
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], edi
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov edx, dword [esp + 0x10]
push 0x5bd228
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b6a4b
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], edi
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov eax, dword [esp + 0x10]
push str.right
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b6a73
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov ecx, dword [esp + 0x10]
push str.bottom
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6a9b
lea ecx, [esp + 0x10]
mov dword [ebx + 0x54], 8
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov edx, dword [esp + 0x10]
push str.center
push edx
call dword [sym.imp.MSVCRT.dll__mbsicoll]
add esp, 8
test eax, eax
jne 0x4b6ab9
mov dword [ebx + 0x54], 6
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov eax, dword [str.VALUE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6af0
lea edx, [esp + 0x48]
lea ecx, [ebx + 0xb4]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x4b6c41
mov eax, dword [str.FONTTYPE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6b30
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 0x4b6c41
mov ecx, dword [str.FONTSTYLE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b6c16
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
call fcn.0054f83e
mov ecx, dword [esp + 0x14]
push str.Thin
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6b7f
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x64
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov edx, dword [esp + 0x14]
push str.Normal
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b6ba7
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x190
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov eax, dword [esp + 0x14]
push str.Medium
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b6bcc
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x1f4
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov ecx, dword [esp + 0x14]
push str.Bold
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6bf1
lea ecx, [esp + 0x14]
mov dword [ebx + 0x78], 0x2bc
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov edx, dword [esp + 0x14]
push str.Extrabold
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4b6c0b
mov dword [ebx + 0x78], 0x320
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x4b6c41
mov eax, dword [str.FONTSIZE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b6c41
mov eax, dword [esp + 0x48]
lea edx, [ebx + 0x68]
push edx
push 0x5b4724
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 0x4b6c70
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 0x4b6605
pop ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
cmp eax, edi
pop esi
je 0x4b6c9d
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