Function at 0x42ea10
Capabilities:
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x440165
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x820
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 0x451020
lea ecx, [esp + 0x14]
mov dword [esp + 0x83c], ebx
call fcn.0043a78c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x72d]
mov byte [esp + 0x72c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea ecx, [esp + 0x234]
mov byte [esp + 0x83c], 1
stosb byte es:[edi], al
call fcn.004128f0
lea eax, [esp + 0x72c]
lea ecx, [esp + 0x230]
push eax
mov byte [esp + 0x83c], 2
call fcn.00413fe0
lea ecx, [esp + 0x12c]
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x12c]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
add esp, 8
cmp edx, ebx
je 0x42eb1c
mov edi, 0x451020
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.LeakFilelog.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x12c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004039d0
add esp, 4
test al, al
jne 0x42eca9
mov dword [esp + 0x230], 0x443dbc
lea ecx, [esp + 0x6fc]
mov byte [esp + 0x838], 0xe
mov dword [0x450748], 1
call fcn.00437e60
lea ecx, [esp + 0x6f4]
mov byte [esp + 0x838], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6f0]
mov byte [esp + 0x838], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6ec]
mov byte [esp + 0x838], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6e8]
mov byte [esp + 0x838], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6e4]
mov byte [esp + 0x838], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6e0]
mov byte [esp + 0x838], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6dc]
mov byte [esp + 0x838], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x604]
mov byte [esp + 0x838], 6
call fcn.004011d0
lea ecx, [esp + 0x5bc]
mov byte [esp + 0x838], 5
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x57c]
mov byte [esp + 0x838], 4
call sub.MFC42.DLL_CProgressCtrl::CProgressCtrl
lea ecx, [esp + 0x530]
mov byte [esp + 0x838], 3
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x230]
mov byte [esp + 0x838], 1
call fcn.00406760
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x838], 0xffffffff
call fcn.0042f250
xor eax, eax
jmp 0x42f05c
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x28]
push ecx
push 0x104
push edx
push str.KeyPath
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42ee5e
lea eax, [esp + 0x28]
push 0x3d
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edx, eax
mov edi, 0x451020
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xf70]
xor esi, esi
cmp eax, ebx
jle 0x42ed95
lea edi, [ebp + 0xf6c]
push ecx
lea edx, [esp + 0x730]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0043a78c
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push esi
mov byte [esp + 0x844], 0xf
call fcn.0042f240
mov edx, dword [eax]
push ecx
add edx, 0x20
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x844], 2
call fcn.0042f080
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x42edbb
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp + 0xf70]
inc esi
cmp esi, eax
jl 0x42ed20
lea edx, [esp + 0x28]
push edx
call fcn.004039d0
add esp, 4
test al, al
je 0x42ee14
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x42ee4a
jmp 0x42ee14
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jne 0x42edf9
cmp ecx, ebx
mov esi, 1
je 0x42edd3
lea esi, [eax + eax]
mov edx, dword [esp + 0x14]
lea ecx, [esi*4]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
cmp eax, ebx
je 0x42ee14
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
lea ecx, [ecx + eax*4 - 4]
cmp ecx, ebx
je 0x42ee14
lea edx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x28]
push eax
push ebx
push ecx
push str.KeyPath
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [esp + 0x12c]
lea eax, [esp + 0x28]
push edx
push 0x104
push eax
push str.KeyPath
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x42ecda
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebx
jle 0x42ee8d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x12c]
push edx
mov eax, dword [ecx + esi*4]
push eax
push eax
push str.KeyPath
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x42ee68
mov dword [esp + 0x230], 0x443dbc
mov eax, dword [esp + 0x700]
mov byte [esp + 0x838], 0x1a
push eax
mov dword [0x450748], 1
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x6f4]
mov dword [esp + 0x700], ebx
mov dword [esp + 0x704], ebx
mov dword [esp + 0x708], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6f0]
mov byte [esp + 0x838], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6ec]
mov byte [esp + 0x838], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6e8]
mov byte [esp + 0x838], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6e4]
mov byte [esp + 0x838], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6e0]
mov byte [esp + 0x838], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6dc]
mov byte [esp + 0x838], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x604]
mov byte [esp + 0x838], 0x13
call fcn.004011d0
lea ecx, [esp + 0x5bc]
mov byte [esp + 0x838], 0x12
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x57c]
mov byte [esp + 0x838], 0x11
call sub.MFC42.DLL_CProgressCtrl::CProgressCtrl
lea ecx, [esp + 0x530]
mov byte [esp + 0x838], 0x10
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x524]
mov byte [esp + 0x838], 0x1e
call fcn.00402bd0
lea ecx, [esp + 0x438]
mov byte [esp + 0x838], 0x1d
call fcn.00419250
lea ecx, [esp + 0x364]
mov byte [esp + 0x838], 0x1c
call fcn.00419250
lea ecx, [esp + 0x290]
mov byte [esp + 0x838], 0x1b
call fcn.00419250
lea ecx, [esp + 0x230]
mov byte [esp + 0x838], 1
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov dword [esp + 0x838], 0xffffffff
cmp eax, ebx
je 0x42f057
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebx
jle 0x42f049
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + esi*4]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x42f034
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x82c
ret