Function at 0x4020c0
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4b01c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xb8]
push edi
mov ecx, dword [ebp + 0x20]
push eax
push ecx
mov dword [esp + 0x8c], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
mov ebx, dword [esp + 0xbc]
add ebp, 0x954
push str.NewSettings.ini
lea edx, [esp + 0x24]
push ebp
push edx
sub edi, eax
sub esi, ebx
call sub.MFC42.DLL_operator_1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xb8]
push eax
push 0x4db920
push str.ExitLeftUp
push str.ExitDlg
push ecx
mov ecx, 0x4dba10
mov dword [esp + 0xe8], 0
call fcn.004140b0
mov ebx, eax
push 0x4d6160
lea edx, [esp + 0x98]
push ebp
push edx
mov byte [esp + 0xe0], 1
call sub.MFC42.DLL_operator_1
push ebx
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0xdc], 2
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x94]
mov byte [esp + 0xd4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb8]
mov byte [esp + 0xd4], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x90]
push ecx
push 0x4db920
push str.ExitRightUp
push str.ExitDlg
push edx
mov ecx, 0x4dba10
call fcn.004140b0
mov ebx, eax
push 0x4d6160
lea eax, [esp + 0x8c]
push ebp
push eax
mov byte [esp + 0xe0], 6
call sub.MFC42.DLL_operator_1
push ebx
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0xdc], 7
push ecx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x88]
mov byte [esp + 0xd4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0xd4], 9
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x8c]
push edx
push 0x4db920
push str.ExitLeftDown
push str.ExitDlg
push eax
mov ecx, 0x4dba10
call fcn.004140b0
mov ebx, eax
push 0x4d6160
lea ecx, [esp + 0x9c]
push ebp
push ecx
mov byte [esp + 0xe0], 0xb
call sub.MFC42.DLL_operator_1
push ebx
lea edx, [esp + 0x70]
push eax
push edx
mov byte [esp + 0xe0], 0xc
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x98]
mov byte [esp + 0xd4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push 0x4db920
push str.ExitRightDown
push str.ExitDlg
push ecx
mov ecx, 0x4dba10
call fcn.004140b0
mov ebx, eax
push 0x4d6160
lea edx, [esp + 0xa0]
push ebp
push edx
mov byte [esp + 0xe0], 0x10
call sub.MFC42.DLL_operator_1
push ebx
push eax
lea eax, [esp + 0x78]
mov byte [esp + 0xdc], 0x11
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
call fcn.004029d0
mov ebx, 0x4bd52c
mov dword [esp + 0x4c], ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 0x15
call fcn.004029d0
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0x16
call fcn.004029d0
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 0x17
call fcn.004029d0
mov dword [esp + 0x44], ebx
mov byte [esp + 0xd4], 0x18
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + 8]
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push 0
push 0
push 0
push ecx
push eax
call ebx
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::Attach
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [esp + 0x64]
mov eax, dword [eax + 8]
push 0x10
push 0
push 0
push 0
push edx
push eax
call ebx
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CGdiObject::Attach
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x6c]
mov eax, dword [eax + 8]
push 0x10
push 0
push 0
push 0
push ecx
push eax
call ebx
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CGdiObject::Attach
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [esp + 0x70]
mov eax, dword [eax + 8]
push 0x10
push 0
push 0
push 0
push edx
push eax
call ebx
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x10]
call fcn.004029d0
mov ebp, 0x4bd518
mov dword [esp + 0x10], ebp
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
push edi
push esi
push 0
push 0
mov byte [esp + 0xe4], 0x19
call ebx
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x18]
call fcn.004029d0
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0x1a
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xa0]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
push edx
push eax
push 0
push 0
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 4
and eax, ebp
mov ebp, dword [sym.imp.GDI32.dll_CombineRgn]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xa0]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0xa4]
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0xa8]
push ecx
push esi
push 0
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov edx, dword [esp + 0x14]
push 4
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea edx, [esp + 0xa0]
push edx
mov eax, dword [esp + 0x4c]
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov eax, edi
push edi
sub eax, ecx
mov ecx, esi
sub ecx, edx
push esi
push eax
push ecx
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov edx, dword [esp + 0x14]
push 4
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xa0]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov eax, edi
push edi
sub eax, edx
push ecx
push eax
push 0
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 4
and eax, ebx
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov dword [esp + 0x18], 0x4bd504
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0x1b
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, 0x4bd4f0
mov dword [esp + 0x60], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x5c], 0x4bd518
lea eax, [esp + 0x4c]
mov byte [esp + 0xd4], 0x1c
neg eax
mov ecx, dword [esp + 0x50]
push 0
sbb eax, eax
push 0
and eax, ecx
push eax
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x5c]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0x4bd518
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
push 0
and eax, edx
push 0xffffffffffffffff
push eax
mov byte [esp + 0xe0], 0x1d
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x34]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x74]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetRgnBox]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov eax, esi
push 0
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0x4bd518
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x44]
neg eax
sbb eax, eax
push 0xffffffffffffffff
and eax, edx
push 0xffffffffffffffff
push eax
mov byte [esp + 0xe0], 0x1e
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x74]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetRgnBox]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
sub eax, ecx
mov ecx, dword [esp + 0x7c]
add eax, edi
sub esi, ecx
mov ecx, dword [esp + 0x30]
add esi, edx
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_OffsetRgn]
push ecx
call esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x4bd518
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
push 0xffffffffffffffff
and eax, edx
push 0
push eax
mov byte [esp + 0xe0], 0x1f
call fcn.004a7fb0
add esp, 0xc
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x74]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetRgnBox]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x28]
sub eax, edx
add eax, edi
push eax
push 0
push ecx
call esi
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 2
and eax, esi
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 2
and eax, esi
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 2
and eax, esi
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x24]
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, esi
neg ecx
mov edx, dword [esp + 0x14]
push 2
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x10]
push 1
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov esi, 0x4bd504
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0x20
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 0x21
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0xd4], 0x22
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], 0x23
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0xd4], 0x24
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], ebx
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 0x25
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0x26
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 0x27
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 0x28
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x70]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xd4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 9
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xd4], 4
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0xd4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0xd4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret