Function at 0x4f1ddc
Capabilities:
Delete file
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4f1de4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f20f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f2110
mov eax, dword [ebp - 8]
push dword [eax + 4]
push 0x4f214c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
call fcn.004a0334
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
call fcn.004b7780
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
call fcn.004b7780
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
call fcn.004a031c
xor edx, edx
push ebp
push 0x4f20c6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x14]
mov ecx, 0x4f2158
call fcn.00404654
mov eax, dword [ebp - 0x14]
call fcn.00409834
test al, al
je 0x4f1eba
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x18]
mov ecx, 0x4f2158
call fcn.00404654
mov eax, dword [ebp - 0x18]
call fcn.00404808
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
mov edx, 0x4f2168
call fcn.004a1598
mov edx, dword [eax]
call dword [edx + 0x84]
test al, al
jne 0x4f1f6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
mov edx, 0x4f2168
call fcn.004a1598
push eax
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x1c]
mov ecx, 0x4f2158
call fcn.00404654
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.0049b044
xor edx, edx
push ebp
push 0x4f1f67
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x20]
mov ecx, 0x4f2158
call fcn.00404654
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41d300]
call fcn.00422a80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1f6e
mov eax, dword [ebp - 0x10]
call fcn.00403474
ret
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x24]
mov ecx, 0x4f2174
call fcn.00404654
mov eax, dword [ebp - 0x24]
call fcn.00409834
test al, al
je 0x4f1fb6
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x28]
mov ecx, 0x4f2174
call fcn.00404654
mov eax, dword [ebp - 0x28]
call fcn.00404808
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
mov edx, 0x4f2188
call fcn.004a1598
mov edx, dword [eax]
call dword [edx + 0x84]
test al, al
jne 0x4f206a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
mov edx, 0x4f2188
call fcn.004a1598
push eax
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x2c]
mov ecx, 0x4f2174
call fcn.00404654
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0049b044
xor edx, edx
push ebp
push 0x4f2063
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov eax, dword [0x4f7de8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x30]
mov ecx, 0x4f2174
call fcn.00404654
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x41d300]
call fcn.00422a80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f206a
mov eax, dword [ebp - 0x10]
call fcn.00403474
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
mov edx, 0x4f2194
call fcn.004a1598
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add eax, 0x38
call fcn.0040439c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114a8]
mov edx, 0x4f21ac
call fcn.004a1598
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
add eax, 0x34
call fcn.0040439c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f20d0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f20fc
lea eax, [ebp - 0x38]
mov edx, 0xa
call fcn.0040436c
lea eax, [ebp - 0xc]
call fcn.00404348
ret