Function at 0x437900
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45fae6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x1dc], ebp
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x1e0], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4f1fcc
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebp
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
push eax
call fcn.00414630
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], 2
call fcn.0045b232
lea ecx, [esp + 0x14]
mov byte [esp + 0x1dc], 1
call sub.MFC42.DLL_CString::CString
mov esi, dword [0x4f1fd0]
mov eax, dword [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4379c3
test cl, cl
je 0x4379bf
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4379c3
add eax, 2
add esi, 2
test cl, cl
jne 0x43799b
xor eax, eax
jmp 0x4379c8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x437b07
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.REGKEYCR.INI
lea eax, [esp + 0x104]
push 0xc8
push eax
push 0x4e100c
push str.NAME
push str.REGISTRATION
call esi
push str.REGKEYCR.INI
lea ecx, [esp + 0x30]
push 0xc8
push ecx
push 0x4e100c
push str.CODE
push str.REGISTRATION
mov byte [esp + eax + 0x118], 0
call esi
lea ecx, [esp + 0x14]
mov byte [esp + eax + 0x2c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1dc], 3
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x100]
mov bl, 4
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], bl
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
push eax
call fcn.00414630
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], 5
call fcn.0045b232
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1dc], bl
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x437ad8
test cl, cl
je 0x437ad4
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x437ad8
add eax, 2
add esi, 2
test cl, cl
jne 0x437ab0
xor eax, eax
jmp 0x437add
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x437ae5
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x1dc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1dc], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x5794]
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1004
push eax
xor esi, esi
call ebp
test eax, eax
jle 0x437b58
lea ebx, [edi + 0x5774]
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::GetCheck
test eax, eax
je 0x437b39
inc dword [esp + 0x20]
mov ecx, dword [edi + 0x5794]
push 0
push 0
push 0x1004
push ecx
inc esi
call ebp
cmp esi, eax
jl 0x437b29
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x437b68
push 0xffffffffffffffff
push 0
push 0x79
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x437d31
mov edx, dword [edi + 0x5794]
xor esi, esi
push esi
push esi
push 0x1004
push edx
xor ebx, ebx
call ebp
test eax, eax
jle 0x437bc1
push esi
lea ecx, [edi + 0x5774]
call sub.MFC42.DLL_CListCtrl::GetCheck
test eax, eax
je 0x437baa
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x437ba9
push esi
lea ecx, [edi + 0x5774]
call sub.MFC42.DLL_CListCtrl::GetItemData
cmp eax, 0xc
jge 0x437baa
inc ebx
mov eax, dword [edi + 0x5794]
push 0
push 0
push 0x1004
push eax
inc esi
call ebp
cmp esi, eax
jl 0x437b80
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x437ca4
test ebx, ebx
push 0
jne 0x437c2b
lea ecx, [esp + 0x104]
call fcn.00441ed0
lea ecx, [esp + 0x100]
mov byte [esp + 0x1dc], 6
mov dword [esp + 0x160], 1
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x164]
mov byte [esp + 0x1dc], 7
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0x100]
mov byte [esp + 0x1dc], 1
call fcn.0045b154
jmp 0x437d31
lea ecx, [esp + 0x30]
call fcn.00441ed0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 8
mov dword [esp + 0x8c], 0
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
jne 0x437c7f
lea ecx, [esp + 0x90]
mov byte [esp + 0x1dc], 9
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 1
call fcn.0045b154
jmp 0x437d31
lea ecx, [esp + 0x90]
mov byte [esp + 0x1dc], 0xa
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 1
call fcn.0045b154
mov ecx, dword [0x4f1f44]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [edi + 0x20]
push 0x186a1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x3b4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x1dc], 0xb
je 0x437ce6
push 0
mov ecx, eax
call fcn.0042bab0
jmp 0x437ce8
xor eax, eax
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x3f48], eax
mov dword [eax + 0x3b0], ecx
mov edx, dword [edi + 0x3f48]
mov byte [esp + 0x1dc], 1
mov dword [edx + 0x60], ebx
mov ecx, dword [edi + 0x3f48]
mov eax, dword [ecx]
call dword [eax + 0xc0]
mov ecx, dword [edi + 0x3f48]
test ecx, ecx
je 0x437d27
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [edi + 0x3f48], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1dc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d0
ret