Function at 0x411bc4
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 [0x4a96b0]
xor eax, ebp
mov dword [ebp + 0x948], eax
push 0x4c
mov eax, 0x44e7d2
call fcn.00437226
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.00417482
lea ecx, [edi + 0xa8]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [ebp + 0x448]
call fcn.0040b6eb
mov eax, esi
push eax
mov byte [ebp - 4], 4
call fcn.0040bb7d
push 0x5c
mov dword [0x4aac4c], eax
pop ecx
lea eax, [ebp + 0x8ec]
cmp ecx, ebx
je 0x411cb9
mov byte [eax], 0
inc eax
dec ecx
jmp 0x411cae
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.00434655
add esp, 0xc
lea eax, [ebp + 0x8ec]
push eax
mov ecx, edi
call fcn.0040801c
push 0x5c
pop ecx
lea eax, [ebp + 0x890]
cmp ecx, ebx
je 0x411d10
mov byte [eax], 0
inc eax
dec ecx
jmp 0x411d05
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.00434655
add esp, 0xc
lea eax, [ebp + 0x890]
push eax
lea ecx, [edi + 8]
call fcn.0040801c
push 0x5c
pop ecx
lea eax, [ebp + 0x8ec]
test ecx, ecx
je 0x411d58
mov byte [eax], 0
inc eax
dec ecx
jmp 0x411d4d
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.00434655
add esp, 0xc
lea eax, [ebp + 0x8ec]
push eax
lea ecx, [edi + 0x10]
call fcn.0040801c
lea ecx, [ebp - 0x58]
call fcn.0040ced9
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call fcn.0040d3ef
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040da7a
push 0x4970ac
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.00401666
add esp, 0xc
push str.CurrentSettings.ini
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.00401666
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004010ea
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004010ea
lea eax, [ebp - 0x24]
push str.GetProductAppFolderPath_Path:
push eax
lea ecx, [ebp - 0x14]
call fcn.00406a32
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.004010ea
push 0
push dword [ebp - 0x14]
call fcn.004351dc
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x411ed4
lea esi, [ebp]
call fcn.0040b6eb
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040bd30
push 0x4970ac
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401666
add esp, 0xc
push str.CurrentSettings.ini
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401666
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.00406c1e
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010ea
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004010ea
lea eax, [ebp - 0x28]
push str.GetProdInstallPath_Path:
push eax
lea ecx, [ebp - 0x14]
call fcn.00406a32
pop ecx
pop ecx
push dword [eax]
call ebx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004010ea
mov byte [ebp - 4], 0xa
call fcn.0040b718
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0x498130
push str.Settings
call esi
cmp eax, 0x29
jne 0x411f0f
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 0x411f47
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.0041c6fd
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401755
mov byte [ebp - 4], 0xf
and dword [ebp - 0x18], 0
mov ebx, str.colorcode
cmp dword [ebp - 0x18], 8
jge 0x411f98
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push str.StripColor__d_
push eax
call fcn.00406d5c
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 0x411f62
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.004010ea
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010ea
lea esi, [ebp - 0x58]
call fcn.0040cf46
lea esi, [ebp + 0x448]
mov byte [ebp - 4], 3
call fcn.0040b718
jmp 0x41202a
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.00432ef0
add ebp, 0x94c
leave
ret 8