Function at 0x419ff0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dff72
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x318]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push edi
call edx
test al, al
jne 0x41a386
mov ebx, 8
cmp dword [esi + 0x58], ebx
jb 0x41a054
mov ecx, dword [esi + 0x44]
jmp 0x41a057
lea ecx, [esi + 0x44]
cmp dword [edi + 0x188], ebx
jb 0x41a067
mov eax, dword [edi + 0x174]
jmp 0x41a06d
lea eax, [edi + 0x174]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push eax
push str.HomePage
push str.Startup
call edi
cmp dword [esi + 0x58], ebx
jb 0x41a08b
mov ecx, dword [esi + 0x44]
jmp 0x41a08e
lea ecx, [esi + 0x44]
cmp dword [esi + 0x3c], ebx
jb 0x41a098
mov eax, dword [esi + 0x28]
jmp 0x41a09b
lea eax, [esi + 0x28]
push ecx
push eax
push str.StartPageType
push str.Startup
call edi
xor ebx, ebx
mov eax, 7
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x320], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
push 4
mov byte [esp + 0x324], 2
call fcn.004b6eb3
add esp, 4
cmp eax, ebx
je 0x41a121
mov edi, eax
mov dword [eax], 0xffffffff
mov dword [esp + 0x14], edi
jmp 0x41a127
mov dword [esp + 0x14], ebx
mov edi, ebx
mov dword [esp + 0x1c], edi
add esi, 0x338
push str..ini
push esi
mov dword [esp + 0x20], esi
lea esi, [esp + 0x28]
mov byte [esp + 0x328], 3
call fcn.00408420
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x32c], 4
call fcn.00401690
mov esi, 8
mov byte [esp + 0x320], 3
cmp dword [esp + 0x38], esi
jb 0x41a184
mov eax, dword [esp + 0x24]
push eax
call fcn.004b6eae
add esp, 4
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x5c]
mov ecx, edi
call fcn.00430c18
test al, al
jne 0x41a22f
cmp edi, ebx
je 0x41a1c1
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41a1b8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41a1b8
mov dword [edi], 0xffffffff
push edi
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0xb4], esi
jb 0x41a1da
mov edx, dword [esp + 0xa0]
push edx
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x54], esi
mov edi, 7
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
jb 0x41a208
mov eax, dword [esp + 0x40]
push eax
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x70], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x41a228
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004b6eae
add esp, 4
xor al, al
jmp 0x41a388
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x48]
call fcn.00401690
lea edi, [esp + 0x3c]
call fcn.0041a890
test al, al
jne 0x41a2b4
mov ecx, dword [esp + 0x18]
mov eax, edi
push eax
push ecx
lea edi, [esp + 0x28]
call fcn.00425c20
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x32c], 5
call fcn.00401690
mov edi, 8
mov byte [esp + 0x320], 3
cmp dword [esp + 0x38], edi
jb 0x41a29f
mov edx, dword [esp + 0x24]
push edx
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x41a2ad
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
lea eax, [esp + 0xbc]
push eax
push ecx
call esi
test eax, eax
setne al
cmp al, bl
je 0x41a2e3
lea ecx, [esp + 0x74]
lea edi, [esp + 0xbc]
call fcn.00430ca9
jmp 0x41a235
mov eax, dword [edi]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
je 0x41a2fd
push eax
call esi
test eax, eax
je 0x41a2fd
mov dword [edi], 0xffffffff
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41a311
push eax
call esi
test eax, eax
je 0x41a311
mov dword [edi], 0xffffffff
push edi
call fcn.004b6eae
mov esi, 8
add esp, 4
cmp dword [esp + 0xb4], esi
jb 0x41a338
mov edx, dword [esp + 0xa0]
push edx
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x54], esi
mov edi, 7
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
jb 0x41a366
mov eax, dword [esp + 0x40]
push eax
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x70], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x41a386
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004b6eae
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret 4