Function at 0x451710
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4fdd50
push eax
mov eax, 0x1040
mov dword fs:[0], esp
call fcn.00445f30
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1058], ebx
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1064]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x1060], 1
call sub.MFC42.DLL_CString::CString_4
call fcn.0044e650
add esp, 4
cmp eax, ebx
jne 0x451782
lea ecx, [esp + 0x1060]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4517e5
push str.script_
lea edx, [esp + 0x1c]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x1060]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x1064], 2
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x105c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1058], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1058], 1
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x20]
lea eax, [esp + 0x1060]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
push edi
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push 1
push str.Enable
push str.General
call edi
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi + 0x60], eax
push edx
lea eax, [esp + 0x54]
push 0x1000
push eax
push 0x5b2c3c
push 0x593a04
push str.General
call ebp
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::operator_2
push 0x591ea0
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
push edx
push 0x79
push eax
push str.General
mov byte [esp + 0x1068], 4
call edi
lea ecx, [esp + 0x18]
push 0x5939e8
push ecx
mov word [esi + 0x28], ax
call fcn.0040f640
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push edx
push ebx
push eax
push str.General
call edi
lea ecx, [esp + 0x18]
mov word [esi + 0x2a], ax
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
push ebx
push 0x591e68
push str.General
call edi
mov ecx, dword [esp + 0x10]
mov word [esi + 0x2c], ax
push ecx
push ebx
push 0x591e58
push str.General
call edi
mov edx, dword [esp + 0x10]
mov word [esi + 0x2e], ax
push edx
push 0x7b
push 0x591e84
push str.General
call edi
mov word [esi + 0x30], ax
mov eax, dword [esp + 0x10]
push eax
push ebx
push 0x591e74
push str.General
call edi
mov ecx, dword [esp + 0x10]
mov word [esi + 0x32], ax
push ecx
push ebx
push str.Type
push str.Repeat
call edi
mov edx, dword [esp + 0x10]
mov word [esi + 0x38], ax
push edx
push 1
push str.Number
push str.Repeat
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x10]
push eax
push ebx
push str.AutoRun
push str.General
call edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x54], eax
push ecx
push 1
push str.RunOnce
push str.General
mov dword [esi + 0x40], ebx
call edi
mov edx, dword [esp + 0x10]
mov dword [esi + 0x48], eax
push edx
lea eax, [esp + 0x54]
push 0x1000
push eax
push 0x5b2c3c
push 0x5939b0
push str.General
call ebp
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 0x58]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push edx
push 0x1000
push eax
push 0x5b2c3c
push str.SetupOCXFile
push str.Relative
mov dword [esi + 0x4c], ebx
call ebp
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push edx
push 0x1000
push eax
push 0x59399c
mov byte [esp + 0x61], 0
mov byte [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
xor eax, eax
mov cl, byte [esp + eax + 0x50]
test cl, cl
jne 0x4519f6
mov cl, byte [esp + eax + 0x51]
test cl, cl
je 0x4519f6
mov byte [esp + eax + 0x50], 0xa
inc eax
cmp eax, 0xfff
jb 0x4519e1
lea ecx, [esp + 0x50]
lea edi, [esi + 0x5c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
push 0x591824
push 0x59197c
mov ecx, edi
call sub.MFC42.DLL_CString::Replace
mov edx, dword [edi]
push 0x3d
mov ecx, edi
mov ebp, dword [edx - 8]
call sub.MFC42.DLL_CString::Find_3
sub ebp, eax
lea eax, [esp + 0x18]
dec ebp
mov ecx, edi
push ebp
push eax
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x105c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1058], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x10]
push 0x5936d8
push ecx
mov byte [esp + 0x1060], 6
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x44], edi
jne 0x451adc
lea ecx, [esp + 0x14]
mov byte [esp + 0x1058], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1058], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1058], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1060]
mov dword [esp + 0x1058], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x451f0c
mov al, byte [edi + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll_fgets]
test al, 0x10
jne 0x451b94
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
push edi
lea edx, [esp + 0x54]
push 0x800
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_2
push str._t__r_n
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft_2
push str._t__r_n
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight_2
mov ecx, dword [esp + 0x14]
push str._Attachment_
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x451b4e
push 1
push 1
push edi
mov ecx, esi
call fcn.004544e0
jmp 0x451b8a
mov edx, dword [esp + 0x14]
push str._RelativeFile_
push edx
call ebp
add esp, 8
test eax, eax
jne 0x451b77
push eax
push 1
push edi
mov ecx, esi
call fcn.004544e0
push 0
mov ecx, esi
call fcn.00455160
jmp 0x451b8a
mov eax, dword [esp + 0x14]
push str._Script_
push eax
call ebp
add esp, 8
test eax, eax
je 0x451b94
test byte [edi + 0xc], 0x10
je 0x451af3
mov dword [esi + 0x7c], 0
mov al, byte [edi + 0xc]
test al, 0x10
jne 0x451c4b
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push edi
lea ecx, [esp + 0x54]
push 0x800
push ecx
mov byte [esp + 0x5c], 0
call ebx
add esp, 0xc
lea edx, [esp + 0x50]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_2
push str._t__r_n
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft_2
push str._t__r_n
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight_2
mov eax, dword [esp + 0x14]
push 0x5b2c3c
push eax
call ebp
add esp, 8
test eax, eax
je 0x451c16
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0x5b
jne 0x451c16
push 0x5d
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jg 0x451c4b
mov edx, dword [esp + 0x14]
push 0x5b2c3c
push edx
call ebp
add esp, 8
test eax, eax
je 0x451c41
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, esi
call fcn.00452690
test byte [edi + 0xc], 0x10
je 0x451bac
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1058], 7
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x34]
and al, 0x7f
and al, 0xfb
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
test eax, eax
mov byte [esp + 0x1058], 8
mov dword [esp + 0x20], 0x51
jne 0x451cb8
mov ecx, dword [esi + 0x1c]
push 0x28
lea edx, [esi + 0x18]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x24]
jl 0x451cb8
inc ecx
mov edx, dword [esi + 0x14]
mov dword [eax], edx
mov dword [esi + 0x14], eax
sub eax, 0x28
dec ecx
jne 0x451caa
mov ebp, dword [esi + 0x14]
mov ecx, 8
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp]
add ebp, 8
mov dword [esi + 0x14], eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0
mov eax, dword [esi + 0x10]
inc eax
mov ebx, ebp
mov dword [esi + 0x10], eax
xor eax, eax
mov edi, ebx
mov dword [esp + 0x48], ebx
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x4c], ebx
test ebx, ebx
mov byte [esp + 0x1058], 9
je 0x451d22
lea ecx, [ebx + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebx + 0x1c]
mov byte [esp + 0x1058], 0xa
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0x51
and al, 0x7b
mov dword [ebx + 0x14], eax
add ebx, 0x20
mov ecx, edi
dec edi
mov byte [esp + 0x1058], 8
test ecx, ecx
mov dword [esp + 0x48], ebx
jne 0x451cec
mov edx, dword [esp + 0x20]
lea eax, [ebp + 4]
mov dword [ebp], edx
mov edx, dword [esp + 0x24]
mov ecx, eax
mov dword [ecx], edx
mov dx, word [esp + 0x28]
mov word [ecx + 4], dx
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x14]
shl eax, 0x1f
sar eax, 0x1f
xor eax, ecx
and eax, 1
xor eax, ecx
mov dword [ebp + 0x14], eax
mov ecx, dword [esp + 0x34]
shl ecx, 0x1e
sar ecx, 0x1e
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [ebp + 0x14], ecx
mov eax, dword [esp + 0x34]
shl eax, 0x1d
sar eax, 0x1d
xor eax, ecx
and eax, 4
xor eax, ecx
mov dword [ebp + 0x14], eax
mov ecx, dword [esp + 0x34]
shl ecx, 0x1c
sar ecx, 0x1c
xor ecx, eax
and ecx, 8
xor ecx, eax
mov dword [ebp + 0x14], ecx
mov eax, dword [esp + 0x34]
shl eax, 0x1b
sar eax, 0x1b
xor eax, ecx
and eax, 0x10
xor eax, ecx
mov dword [ebp + 0x14], eax
mov ecx, dword [esp + 0x34]
shl ecx, 0x1a
sar ecx, 0x1a
xor ecx, eax
and ecx, 0x20
xor ecx, eax
mov dword [ebp + 0x14], ecx
mov eax, dword [esp + 0x34]
shl eax, 0x19
sar eax, 0x19
xor eax, ecx
and eax, 0x40
xor eax, ecx
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x14], eax
mov edx, dword [esp + 0x34]
shl edx, 0x18
sar edx, 0x18
xor edx, eax
and edx, 0x80
xor edx, eax
lea eax, [esp + 0x38]
push eax
mov dword [ebp + 0x14], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [ebp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x451e7f
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
jmp 0x451e86
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push edx
mov dword [esi + 0xc], ecx
call dword [sym.imp.MSVCRT.dll_fclose]
mov esi, dword [esi + 0x10]
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1058], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x1058], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1058], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1058], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1058], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1060]
mov dword [esp + 0x1058], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104c
ret 4