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

Disassembly:
mov eax, 0x46369b
call fcn.004571ec
sub esp, 0x118
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov word [ebp - 0x74], bx
mov eax, dword [esi + 8]
lea edx, [esi + 0x58]
push edx
push 0x47d190
mov eax, dword [eax + 4]
push 0x46b1e8
mov byte [ebp - 4], 1
mov eax, dword [eax + esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x41e7ee
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41e7e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x41ec73
mov dword [ebp - 0x30], ebx
mov eax, dword [esi + 8]
lea edx, [ebp - 0x30]
push edx
mov edi, 0x46b938
mov eax, dword [eax + 4]
push 0x47e088
push edi
mov byte [ebp - 4], 2
mov eax, dword [eax + esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jge 0x41e84f
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41e82c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41e847
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
jmp 0x41ec73
lea eax, [ebp - 0x38]
lea ecx, [esi + 0x5c]
push eax
call fcn.004049df
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.00405544
mov ecx, dword [ebp - 0x30]
push eax
push 4
push ecx
mov edx, dword [ecx]
call dword [edx + 0x34]
cmp byte [ebp - 0x34], bl
mov byte [ebp - 4], 2
je 0x41e88a
mov ecx, dword [ebp - 0x38]
push dword [ecx + 0x1c]
call fcn.004049a2
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x14]
push ecx
push 0x47e110
mov eax, dword [eax + 4]
push edi
mov esi, dword [eax + esi + 8]
push esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov esi, eax
cmp esi, ebx
jge 0x41e8dd
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41e8bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41e8d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x41ec73
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x74]
push edx
push 0xe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp word [ebp - 0x6c], bx
jne 0x41e912
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41e903
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x41ec60
lea eax, [ebp - 0x21]
push ebx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x469494
mov dword [ebp - 0x7c], 0x46948c
call fcn.00404ab9
mov esi, 0x3e8
mov byte [ebp - 4], 4
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call fcn.00457805
cmp eax, ebx
mov dword [ebp - 0x50], eax
setne cl
mov byte [ebp - 0x54], cl
push esi
mov byte [ebp - 4], 5
call fcn.00457805
cmp eax, ebx
mov dword [ebp - 0x44], eax
setne cl
mov byte [ebp - 0x48], cl
push esi
mov byte [ebp - 4], 6
call fcn.00457805
add esp, 0xc
cmp eax, ebx
setne cl
mov byte [ebp - 0x40], cl
mov dword [ebp - 0x3c], eax
mov word [ebp - 0xac], bx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xac]
push edx
push 0xf
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x1c]
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x9c]
call fcn.00404bc1
mov edi, dword [ebp - 0x50]
lea ecx, [ebp - 0x9c]
call fcn.00405599
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
mov edi, 0x485ac0
push edi
push ebx
push ebx
call esi
cmp eax, 0x3e6
jne 0x41ea34
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
mov dword [ebp - 0x10], eax
call fcn.00457805
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], cl
push eax
lea ecx, [ebp - 0x54]
call fcn.0041f494
cmp byte [ebp - 0x2c], bl
je 0x41ea0d
push dword [ebp - 0x28]
call fcn.00451b84
pop ecx
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x20], eax
call fcn.00405599
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x20]
push edi
push ebx
push ebx
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffffe
cmp ecx, eax
je 0x41e9d9
mov eax, dword [ebp - 0x50]
cmp byte [eax], bl
mov dword [ebp - 0x28], eax
je 0x41ebef
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x10], eax
call fcn.00405599
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push edi
push ebx
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffffe
cmp ecx, eax
jne 0x41eaa1
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
mov dword [ebp - 0x18], eax
call fcn.00457805
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 0x60], cl
push eax
lea ecx, [ebp - 0x48]
call fcn.0041f494
cmp byte [ebp - 0x60], bl
je 0x41ea42
push dword [ebp - 0x5c]
call fcn.00451b84
pop ecx
jmp 0x41ea42
mov eax, dword [ebp - 0x44]
cmp byte [eax], bl
mov dword [ebp - 0x10], eax
je 0x41ebda
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x20], eax
call fcn.00405599
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp ecx, eax
jne 0x41eb0e
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
mov dword [ebp - 0x1c], eax
call fcn.00457805
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 0x38], cl
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f494
cmp byte [ebp - 0x38], bl
je 0x41eaaf
push dword [ebp - 0x34]
call fcn.00451b84
pop ecx
jmp 0x41eaaf
lea eax, [ebp - 0x21]
push 1
push eax
lea ecx, [ebp - 0xd4]
push dword [ebp - 0x3c]
call fcn.004048f0
lea eax, [ebp - 0x55]
push 1
push eax
lea ecx, [ebp - 0x124]
push dword [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00404c93
lea eax, [ebp - 0x49]
push 1
push eax
lea ecx, [ebp - 0xfc]
push dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00404c93
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x64]
lea ecx, [eax + 0x38]
call fcn.0041f31a
mov ecx, eax
call fcn.0041f3fd
push dword [0x469488]
lea ecx, [ebp - 0xd4]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0xd0]
and ecx, edx
push ebx
push ecx
lea ecx, [eax + 4]
call fcn.00405e76
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xa
call fcn.004060f2
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 9
call fcn.004060f2
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.004060f2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 1]
jmp 0x41eaa4
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax + 1]
jmp 0x41ea37
lea ecx, [ebp - 0x9c]
call fcn.00405599
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xac]
push eax
call esi
cmp byte [ebp - 0x40], bl
je 0x41ec1e
push dword [ebp - 0x3c]
call fcn.00451b84
pop ecx
cmp byte [ebp - 0x48], bl
je 0x41ec2c
push dword [ebp - 0x44]
call fcn.00451b84
pop ecx
cmp byte [ebp - 0x54], bl
je 0x41ec3a
push dword [ebp - 0x50]
call fcn.00451b84
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.004060f2
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41ec5a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x74]
push eax
call esi
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41ec71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret