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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x550], 0
jne 0x46b6db
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 0x534]
test ecx, ecx
je 0x46b6cf
call sym.zSignInstall.exe_public:_unsigned_long_int___thiscall_DuiLib::CPaintManagerUI::GetDefaultFontColor_void_const
jmp 0x46b6d5
mov eax, dword [eax + 0x540]
mov dword [edi + 0x550], eax
cmp dword [edi + 0x554], 0
jne 0x46b704
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 0x534]
test ecx, ecx
je 0x46b6f8
call sym.zSignInstall.exe_public:_unsigned_long_int___thiscall_DuiLib::CPaintManagerUI::GetDefaultDisabledColor_void_const
jmp 0x46b6fe
mov eax, dword [eax + 0x53c]
mov dword [edi + 0x554], eax
mov eax, dword [edi + 0x1c8]
cmp word [eax], 0
je 0x46bbda
mov edx, dword [edi + 0x160]
sub edx, dword [edi + 0x568]
mov eax, dword [edi + 0x158]
mov ecx, dword [edi + 0x15c]
add eax, dword [edi + 0x560]
add ecx, dword [edi + 0x564]
mov ebx, dword [edi + 0x164]
sub ebx, dword [edi + 0x56c]
mov dword [esp + 0x20], edx
mov edx, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x100]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov dword [esp + 0x24], ebx
call eax
test al, al
je 0x46b770
mov ecx, dword [edi + 0x550]
mov dword [esp + 0x10], ecx
jmp 0x46b77a
mov edx, dword [edi + 0x554]
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x558]
mov ecx, dword [edi + 0x44]
push eax
call sym.zSignInstall.exe_public:_struct_HFONT______thiscall_DuiLib::CPaintManagerUI::GetFont_int_
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x840]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x28], eax
xor eax, eax
push edx
mov dword [esp + 0x89], eax
mov word [esp + 0x8d], ax
mov byte [esp + 0x8f], al
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov word [esp + 0x95], ax
mov byte [esp + 0x97], al
mov byte [esp + 0x80], al
mov dword [esp + 0x81], eax
mov word [esp + 0x85], ax
mov byte [esp + 0x87], al
mov byte [esp + 0x78], al
mov dword [esp + 0x79], eax
mov word [esp + 0x7d], ax
mov byte [esp + 0x7f], al
mov dword [esp + 0x9a], eax
mov word [esp + 0x9e], ax
lea eax, [esp + 0x88]
mov ecx, 0x2e
push 0x537348
push eax
mov byte [esp + 0x90], 0
mov word [esp + 0xa0], cx
call ebx
mov ecx, dword [edi + 0x844]
push ecx
lea edx, [esp + 0x9c]
push 0x537348
push edx
call ebx
mov eax, dword [edi + 0x848]
push eax
lea ecx, [esp + 0x98]
push 0x537348
push ecx
call ebx
mov edx, dword [edi + 0x84c]
push edx
lea eax, [esp + 0x9c]
push 0x537348
push eax
call ebx
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPointA]
add esp, 0x30
lea ecx, [esp + 0x2c]
push ecx
push 3
lea edx, [esp + 0x8c]
push edx
push esi
call ebx
lea eax, [esp + 0x34]
push eax
push 3
lea ecx, [esp + 0x94]
push ecx
push esi
call ebx
lea edx, [esp + 0x3c]
push edx
push 3
lea eax, [esp + 0x84]
push eax
push esi
call ebx
lea ecx, [esp + 0x44]
push ecx
push 3
lea edx, [esp + 0x7c]
push edx
push esi
call ebx
lea eax, [esp + 0x4c]
push eax
push 1
lea ecx, [esp + 0x7c]
push ecx
push esi
call ebx
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
shr edx, 8
movzx ecx, al
movzx ebx, dl
shl ecx, 8
shr eax, 0x10
or ebx, ecx
movzx edx, al
shl ebx, 8
or ebx, edx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
sub eax, ecx
mov dword [esp + 0x60], edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 3
jmp 0x46b964
mov eax, dword [esp + 0x14]
add dword [esp + 0x64], eax
mov eax, dword [edi + 0x55c]
or eax, 0x820
push eax
lea ecx, [esp + 0x68]
push ecx
push 1
lea edx, [esp + 0xa0]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
dec dword [esp + 0x10]
jne 0x46b960
cmp dword [edi + 0x840], 0
jne 0x46b9c1
cmp dword [edi + 0x844], 0
jne 0x46b9c1
cmp dword [edi + 0x848], 0
jne 0x46b9c1
cmp dword [edi + 0x84c], 0
jne 0x46b9c1
cmp dword [edi + 0x850], 0
je 0x46bbda
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
cmp dword [edi + 0x850], 1
mov dword [esp + 0x10], eax
jne 0x46ba0c
mov eax, dword [edi]
mov edx, dword [eax + 0x100]
mov ecx, edi
call edx
test al, al
je 0x46ba08
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xff9933
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov edx, dword [edi + 0x55c]
or edx, 0x820
push edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push 3
lea ecx, [esp + 0x90]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esp + 0x14]
add dword [esp + 0x18], edx
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0x850], 2
jne 0x46ba8a
mov eax, dword [edi]
mov edx, dword [eax + 0x100]
mov ecx, edi
call edx
test al, al
je 0x46ba8a
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xff9933
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov edx, dword [edi + 0x55c]
or edx, 0x820
push edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push 3
lea ecx, [esp + 0x98]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esp + 0x14]
add dword [esp + 0x18], edx
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0x850], 3
jne 0x46bb0c
mov eax, dword [edi]
mov edx, dword [eax + 0x100]
mov ecx, edi
call edx
test al, al
je 0x46bb0c
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xff9933
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov edx, dword [edi + 0x55c]
or edx, 0x820
push edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push 3
lea ecx, [esp + 0x88]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esp + 0x14]
add dword [esp + 0x18], edx
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0x850], 4
jne 0x46bb8e
mov eax, dword [edi]
mov edx, dword [eax + 0x100]
mov ecx, edi
call edx
test al, al
je 0x46bb8e
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xff9933
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov edx, dword [edi + 0x55c]
or edx, 0x820
push edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push 3
lea ecx, [esp + 0x80]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x28]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret 4