Function at 0x411bd4
Capabilities:
Print debug messages
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
sub esp, 0x948
lea ebp, [esp - 4]
mov eax, dword [0x4a86b0]
xor eax, ebp
mov dword [ebp + 0x948], eax
push 0x4c
mov eax, 0x44e1d9
call fcn.00436c36
mov edi, ecx
xor ebx, ebx
mov eax, vtable.CFont.0
mov dword [ebp - 0x30], edi
mov dword [edi + 4], ebx
mov dword [edi], eax
mov dword [ebp - 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x954]
or dword [edi + 0x9c], 0xffffffff
or dword [edi + 0xa0], 0xffffffff
or dword [edi + 0xa4], 0xffffffff
mov dword [edi + 0x78], eax
mov eax, dword [ebp + 0x958]
mov dword [edi + 0x7c], 0x3f5
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x90], 0x3f7
mov dword [edi + 0x94], 0x3f8
mov dword [edi + 0x98], 0x3f9
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00416ead
lea ecx, [edi + 0xa8]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [ebp + 0x448]
call fcn.0040b71d
mov eax, esi
push eax
mov byte [ebp - 4], 4
call fcn.0040bbaf
push 0x5c
mov dword [0x4a9c4c], eax
pop ecx
lea eax, [ebp + 0x8ec]
cmp ecx, ebx
je 0x411cc9
mov byte [eax], 0
inc eax
dec ecx
jmp 0x411cbe
mov esi, str.Microsoft_Sans_Serif
push esi
lea eax, [ebp + 0x908]
push 0x20
push eax
mov dword [ebp + 0x8f0], 6
mov dword [ebp + 0x8fc], 0x2bc
mov dword [ebp + 0x8ec], 0xfffffff2
call fcn.00434063
add esp, 0xc
lea eax, [ebp + 0x8ec]
push eax
mov ecx, edi
call fcn.0040804e
push 0x5c
pop ecx
lea eax, [ebp + 0x890]
cmp ecx, ebx
je 0x411d20
mov byte [eax], 0
inc eax
dec ecx
jmp 0x411d15
push 0xe
pop ebx
push esi
lea eax, [ebp + 0x908]
push 0x20
push eax
mov dword [ebp + 0x890], ebx
mov dword [ebp + 0x8a0], 0x2bc
call fcn.00434063
add esp, 0xc
lea eax, [ebp + 0x890]
push eax
lea ecx, [edi + 8]
call fcn.0040804e
push 0x5c
pop ecx
lea eax, [ebp + 0x8ec]
test ecx, ecx
je 0x411d68
mov byte [eax], 0
inc eax
dec ecx
jmp 0x411d5d
and dword [ebp + 0x8f0], 0
push esi
lea eax, [ebp + 0x908]
push 0x20
push eax
mov dword [ebp + 0x8ec], ebx
mov dword [ebp + 0x8fc], 0x190
call fcn.00434063
add esp, 0xc
lea eax, [ebp + 0x8ec]
push eax
lea ecx, [edi + 0x10]
call fcn.0040804e
lea ecx, [ebp - 0x58]
call fcn.0040cf0b
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call fcn.0040d421
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040daac
push 0x4960e4
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.0040168f
add esp, 0xc
push str.CurrentSettings.ini
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.0040168f
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401109
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401109
lea eax, [ebp - 0x24]
push str.GetProductAppFolderPath_Path:
push eax
lea ecx, [ebp - 0x14]
call fcn.00406a62
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ecx
pop ecx
push dword [eax]
call ebx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401109
push 0
push dword [ebp - 0x14]
call fcn.00434bec
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x411ee4
lea esi, [ebp]
call fcn.0040b71d
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040bd62
push 0x4960e4
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040168f
add esp, 0xc
push str.CurrentSettings.ini
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040168f
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.00406c4e
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401109
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401109
lea eax, [ebp - 0x28]
push str.GetProdInstallPath_Path:
push eax
lea ecx, [ebp - 0x14]
call fcn.00406a62
pop ecx
pop ecx
push dword [eax]
call ebx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401109
mov byte [ebp - 4], 0xa
call fcn.0040b74a
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0x497168
push str.Settings
call esi
cmp eax, 0x29
jne 0x411f1f
mov eax, 0xed7f55
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
jmp 0x411f57
mov dword [edi + 0x38], 0xf1ab94
mov dword [edi + 0x3c], 0xe89f88
mov dword [edi + 0x40], 0xe39a82
mov dword [edi + 0x44], 0xde937b
mov dword [edi + 0x48], 0xda8e76
mov dword [edi + 0x4c], 0xd78a72
mov dword [edi + 0x50], 0xd4866e
mov dword [edi + 0x54], 0xd0826a
call fcn.0041c12a
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040177e
mov byte [ebp - 4], 0xf
and dword [ebp - 0x18], 0
mov ebx, str.colorcode
cmp dword [ebp - 0x18], 8
jge 0x411fa8
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push str.StripColor__d_
push eax
call fcn.00406d8c
mov eax, dword [ebp - 0x18]
add esp, 0xc
push dword [ebp - 0x14]
push dword [edi + eax*4 + 0x38]
push dword [ebp - 0x1c]
push ebx
call esi
mov ecx, dword [ebp - 0x18]
inc dword [ebp - 0x18]
mov dword [edi + ecx*4 + 0x18], eax
jmp 0x411f72
push dword [ebp - 0x14]
push 0x89341a
push str.UI_BORDER
push ebx
call esi
push dword [ebp - 0x14]
mov dword [edi + 0x58], eax
push 0xed7f55
push str.BLUEBACKGROUND
push ebx
call esi
push dword [ebp - 0x14]
mov dword [edi + 0x5c], eax
push 0
push str.INNER_UI_BORDER
push ebx
call esi
push dword [ebp - 0x14]
mov dword [edi + 0x60], eax
push 0xffffff
push str.UI_MIDDLE_BG
push ebx
call esi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [edi + 0x64], eax
call fcn.00401109
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401109
lea esi, [ebp - 0x58]
call fcn.0040cf78
lea esi, [ebp + 0x448]
mov byte [ebp - 4], 3
call fcn.0040b74a
jmp 0x41203a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x948]
xor ecx, ebp
call fcn.004328fa
add ebp, 0x94c
leave
ret 8