Function at 0x412790
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45e0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push edi
mov edi, dword [esp + 0x40]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x412aaa
push esi
mov esi, dword [esp + 0x48]
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x412aa9
mov byte [ecx + 0x192], 1
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004013c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x44], eax
push 0x4616a8
push str..ipf
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0
call fcn.00410790
push 0x463078
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00401f80
push esi
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x54], 1
call fcn.004111c0
add esp, 0x18
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41284e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x463078
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00401f80
push esi
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x54], 4
call fcn.004111c0
push 0x463074
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x60], 5
call fcn.00401f80
add esp, 0x24
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x18]
push ebp
push eax
call fcn.0043dbf4
push 0x463078
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00401f80
lea edx, [esp + 0x5c]
push edx
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x60], 9
call fcn.004111c0
push str..temp
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x6c], 0xa
call fcn.00401f80
add esp, 0x2c
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41293d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412960
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x463078
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00401f80
lea ecx, [esp + 0x54]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x58], 0xe
call fcn.004111c0
push str..ipf
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x64], 0xf
call fcn.00401f80
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x40], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4129c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4129e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
push esi
push edi
call fcn.0043dbf4
add esp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x34]
mov byte [eax + 0x192], 0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412a21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412a40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebp
jg 0x412a60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412a83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412aa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
add esp, 0x38
ret 8