Function at 0x416c62
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf0
mov ebx, eax
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
lea edx, [ebx + 0x691]
push edx
call fcn.00448bb4
add esp, 0x14
push 0x45dbc4
lea ecx, [esp + 0x110]
push ecx
call fcn.00446208
add esp, 8
mov ecx, 0x452c66
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
call fcn.004455ca
lea edx, [ebx + 0x691]
mov eax, esp
call fcn.00425355
mov ecx, dword [esp]
test ecx, ecx
je 0x416cd1
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edi, eax
jmp 0x416cd3
xor edi, edi
mov eax, dword [esp]
test eax, eax
je 0x416ce2
mov edx, dword [esp]
mov esi, dword [edx + 4]
jmp 0x416ce7
mov esi, 0xac44
test esi, esi
jg 0x416cf3
xor eax, eax
mov dword [esp + 4], eax
jmp 0x416d12
mov eax, edi
cdq
idiv esi
imul ecx, eax, 0x2710
mov eax, edi
cdq
idiv esi
imul eax, edx, 0x2710
cdq
idiv esi
add ecx, eax
mov dword [esp + 4], ecx
mov ecx, 0x61a8
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
cmp eax, edx
setl cl
and ecx, 1
push ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x416d5a
mov edx, dword [esp + 4]
dec word [edx + 0xe]
mov cx, word [edx + 0xe]
test cx, cx
jne 0x416d5a
mov eax, dword [esp + 4]
test eax, eax
je 0x416d5a
mov edx, 3
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
pop edx
test dl, dl
je 0x416f33
push 0
mov ecx, 0x452e73
mov edx, 0x452adc
lea esi, [ebx + 0x44b]
mov eax, esi
call fcn.00445c9e
test al, al
je 0x416dae
push 1
mov ecx, 0x452e7d
mov edx, 0x452adc
mov eax, esi
call fcn.00445c9e
test al, al
je 0x416dae
push 0
mov ecx, 0x452e8c
mov edx, 0x452adc
mov eax, esi
call fcn.00445c9e
test al, al
jne 0x416ddf
push 0x45d8b0
push 0x452c3c
push 0x4529bd
push 0x4529b7
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov eax, dword [0x452980]
test eax, eax
je 0x416ddf
push 0
push 0
push 0x40b
push eax
call sub.USER32.dll_PostMessageA
push 0
mov ecx, 0x452e73
mov edx, 0x452adc
lea esi, [ebx + 0x44b]
mov eax, esi
call fcn.00445c9e
test al, al
jne 0x416e17
push 0
mov ecx, 0x452e9c
mov edx, 0x452adc
mov eax, esi
call fcn.00445c9e
test al, al
je 0x416eaa
push esi
push 0x452c3c
push 0x452ea4
push 0x452adc
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 0
mov ecx, 0x452e73
mov edx, 0x452adc
mov eax, esi
call fcn.00445c9e
test al, al
je 0x416e5f
lea edx, [esp + 0x10c]
push edx
push 0x452c41
push 0x452eb3
push 0x452d3d
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 0
mov ecx, 0x452e9c
mov edx, 0x452adc
mov eax, esi
call fcn.00445c9e
test al, al
je 0x416e92
lea ecx, [esp + 0x10c]
push ecx
push 0x452c41
push 0x452ebd
push 0x452d3d
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov eax, dword [0x452980]
test eax, eax
je 0x416eaa
push 0
push 0
push 0x407
push eax
call sub.USER32.dll_PostMessageA
push 0
mov ecx, 0x452ec5
mov edx, 0x452adc
mov eax, esi
call fcn.00445c9e
test al, al
je 0x416f75
push esi
push 0x452c3c
push 0x452cb8
push 0x452adc
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 0
mov ecx, 0x452ed0
mov edx, 0x452adc
mov eax, esi
call fcn.00445c10
push 0
mov ecx, 0x452ee0
mov edx, 0x452adc
mov eax, esi
call fcn.00445c10
push 0x45d8b0
push 0x452c3c
push 0x452cb8
push 0x4529b7
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov eax, dword [0x452980]
test eax, eax
je 0x416f75
push 0
push 0
push 0x408
push eax
call sub.USER32.dll_PostMessageA
jmp 0x416f75
lea edx, [ebx + 0x691]
push edx
call sub.KERNEL32.dll_DeleteFileA
test eax, eax
je 0x416f6e
lea ecx, [esp + 0x10c]
push ecx
call sub.KERNEL32.dll_DeleteFileA
mov eax, dword [0x452980]
test eax, eax
je 0x416f6e
lea edx, [esp + 0x10c]
push edx
push 0
push 0x406
push eax
call sub.USER32.dll_SendMessageA
mov byte [ebx + 0x691], 0
mov cl, byte [esp + 0x10c]
test cl, cl
je 0x416f93
lea eax, [esp + 0x10c]
push eax
push 0
push 0
push 0
call sub.KERNEL32.dll_WritePrivateProfileStringA
add esp, 0x210
pop edi
pop esi
pop ebx
ret