Function at 0x4207c0
Capabilities:
Check os version
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f878
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x358], esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.CtrlFactory.dll_long_int___cdecl_GetSkinFolder_wchar_t__]
push str.Font.ini
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x1ac]
call dword [sym.imp.mfc110u.dll_Ordinal_1516]
push 0
push 0
push 0x31
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.mfc110u.dll_Ordinal_4821
add esi, 0x1b0
push esi
push 0x5c
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [ebp - 0x33c]
call dword [sym.imp.mfc110u.dll_Ordinal_296]
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.general_text_cdkey
push str.FONT_SIZE
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x338]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ebx, dword [sym.imp.UILayoutMgr.dll_public:_int___thiscall_CDpiTrans::operator_int_void_const]
mov ecx, eax
mov byte [ebp - 4], 1
call ebx
mov edi, dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::destructor_void_]
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x35c], eax
mov byte [ebp - 4], 0
call edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.title_1
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x338]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 2
call ebx
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 0
call edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.title_2
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x338]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 3
call ebx
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 0
call edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.title_2_small
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x338]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 4
call ebx
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 0
call edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.btn_regnow
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x338]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 5
call ebx
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x360], eax
mov byte [ebp - 4], 0
call edi
lea eax, [ebp - 0x218]
push eax
push 0
push str.description
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.item
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.cause
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.extra_desc
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.title_cdkey_1
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x338]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 6
call ebx
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0
call edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.cdkey_edit
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x338]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 7
call ebx
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 0
call edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.description_cdeky
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x340]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 8
call ebx
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 0
call edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0
push str.btn_regnow_CDKey
push str.FONT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea ecx, [ebp - 0x340]
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiTrans::constructor_int__int_]
mov ecx, eax
mov byte [ebp - 4], 9
call ebx
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x354], eax
mov byte [ebp - 4], 0
call edi
push 0x11c
lea eax, [ebp - 0x334]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
mov dword [ebp - 0x334], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x330]
cmp eax, 0xa
jb 0x420b86
push 0x2774
jmp 0x420b90
cmp eax, 6
jb 0x420b9c
push 0x2730
lea ecx, [ebp - 0x33c]
call dword [sym.imp.mfc110u.dll_Ordinal_8308]
mov ebx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x33c]
lea edx, [ebx + 0x1cc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x420bb0
mov eax, dword [ebp - 0x35c]
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
neg eax
push esi
mov dword [esi], eax
mov dword [ebx + 0x1c0], 0x190
call edi
push eax
lea ecx, [ebx + 0x20c]
call sub.mfc110u.dll_Ordinal_2468
push esi
mov byte [ebx + 0x1c5], 1
call edi
push eax
lea ecx, [ebx + 0x214]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x364]
neg eax
push esi
mov byte [ebx + 0x1c5], 0
mov dword [esi], eax
mov dword [ebx + 0x1c0], 0x190
call edi
push eax
lea ecx, [ebx + 0x21c]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x344]
neg eax
push esi
mov dword [esi], eax
mov dword [ebx + 0x1c0], 0x258
call edi
push eax
lea ecx, [ebx + 0x224]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x350]
neg eax
push esi
mov dword [esi], eax
call edi
push eax
lea ecx, [ebx + 0x22c]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x360]
neg eax
push esi
mov dword [esi], eax
call edi
push eax
lea ecx, [ebx + 0x234]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x348]
neg eax
push esi
mov dword [esi], eax
mov dword [ebx + 0x1c0], 0x190
call edi
push eax
lea ecx, [ebx + 0x23c]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x34c]
neg eax
push esi
mov dword [esi], eax
call edi
push eax
lea ecx, [ebx + 0x244]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x338]
neg eax
push esi
mov dword [ebp - 0x338], eax
mov dword [esi], eax
call edi
push eax
lea ecx, [ebx + 0x24c]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x354]
neg eax
mov dword [esi], eax
push esi
call edi
push eax
lea ecx, [ebx + 0x254]
call sub.mfc110u.dll_Ordinal_2468
mov eax, dword [ebp - 0x338]
push esi
mov dword [esi], eax
mov byte [ebx + 0x1c5], 1
call edi
push eax
lea ecx, [ebx + 0x25c]
call sub.mfc110u.dll_Ordinal_2468
lea ecx, [ebp - 0x33c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret