Function at 0x4314f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e5320
push eax
mov eax, 0x1040
mov dword fs:[0], esp
call fcn.00415b80
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_2
call fcn.00428920
add esp, 4
cmp eax, ebx
jne 0x431562
lea ecx, [esp + 0x1060]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4315c5
push str.script_
lea edx, [esp + 0x1c]
push 0x556608
push edx
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x1060]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x1064], 2
call sub.MFC42.DLL_operator_2
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 fcn.00415612
lea ecx, [esp + 0x18]
mov byte [esp + 0x1058], 1
call fcn.00415612
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 0x556570
push 0x536828
push str.General
call ebp
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::operator
push 0x5353c4
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 0x53680c
push ecx
mov word [esi + 0x28], ax
call fcn.004023b0
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 fcn.00415612
mov eax, dword [esp + 0x10]
push eax
push ebx
push 0x53538c
push str.General
call edi
mov ecx, dword [esp + 0x10]
mov word [esi + 0x2c], ax
push ecx
push ebx
push 0x53537c
push str.General
call edi
mov edx, dword [esp + 0x10]
mov word [esi + 0x2e], ax
push edx
push 0x7b
push 0x5353a8
push str.General
call edi
mov word [esi + 0x30], ax
mov eax, dword [esp + 0x10]
push eax
push ebx
push 0x535398
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 0x556570
push str.EnableWindow
push str.General
call ebp
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 0x58]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push edx
push 0x1000
push eax
push 0x556570
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
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push edx
push 0x1000
push eax
push 0x5367b4
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 0x4317d6
mov cl, byte [esp + eax + 0x51]
test cl, cl
je 0x4317d6
mov byte [esp + eax + 0x50], 0xa
inc eax
cmp eax, 0xfff
jb 0x4317c1
lea ecx, [esp + 0x50]
lea edi, [esi + 0x5c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push 0x535208
push 0x5361b4
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 fcn.00415612
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x10]
push 0x53624c
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 0x4318bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x1058], 4
call fcn.00415612
lea ecx, [esp + 0x40]
mov byte [esp + 0x1058], 1
call fcn.00415612
lea ecx, [esp + 0x10]
mov byte [esp + 0x1058], 0
call fcn.00415612
lea ecx, [esp + 0x1060]
mov dword [esp + 0x1058], 0xffffffff
call fcn.00415612
xor eax, eax
jmp 0x431cec
mov al, byte [edi + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll_fgets]
test al, 0x10
jne 0x431974
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
push str._t__r_n
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
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 0x43192e
push 1
push 1
push edi
mov ecx, esi
call fcn.00433f40
jmp 0x43196a
mov edx, dword [esp + 0x14]
push str._RelativeFile_
push edx
call ebp
add esp, 8
test eax, eax
jne 0x431957
push eax
push 1
push edi
mov ecx, esi
call fcn.00433f40
push 0
mov ecx, esi
call fcn.00434bc0
jmp 0x43196a
mov eax, dword [esp + 0x14]
push str._Script_
push eax
call ebp
add esp, 8
test eax, eax
je 0x431974
test byte [edi + 0xc], 0x10
je 0x4318d3
mov dword [esi + 0x7c], 0
mov al, byte [edi + 0xc]
test al, 0x10
jne 0x431a2b
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
push str._t__r_n
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
push str._t__r_n
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight_2
mov eax, dword [esp + 0x14]
push 0x556570
push eax
call ebp
add esp, 8
test eax, eax
je 0x4319f6
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0x5b
jne 0x4319f6
push 0x5d
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jg 0x431a2b
mov edx, dword [esp + 0x14]
push 0x556570
push edx
call ebp
add esp, 8
test eax, eax
je 0x431a21
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00432470
test byte [edi + 0xc], 0x10
je 0x43198c
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 0x431a98
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 0x431a98
inc ecx
mov edx, dword [esi + 0x14]
mov dword [eax], edx
mov dword [esi + 0x14], eax
sub eax, 0x28
dec ecx
jne 0x431a8a
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 0x431b02
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 0x431acc
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 0x431c5f
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
jmp 0x431c66
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 fcn.00415612
lea ecx, [esp + 0x38]
mov byte [esp + 0x1058], 6
call fcn.00415612
lea ecx, [esp + 0x14]
mov byte [esp + 0x1058], 4
call fcn.00415612
lea ecx, [esp + 0x40]
mov byte [esp + 0x1058], 1
call fcn.00415612
lea ecx, [esp + 0x10]
mov byte [esp + 0x1058], 0
call fcn.00415612
lea ecx, [esp + 0x1060]
mov dword [esp + 0x1058], 0xffffffff
call fcn.00415612
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