Function at 0x415fde
Capabilities:
Delete file

Disassembly:
mov eax, 0x424683
call fcn.00422230
sub esp, 0x54
mov eax, dword [0x430520]
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [esi + 0x30], ecx
mov eax, dword [eax + 4]
cmp ecx, eax
je 0x4161f7
push ebx
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esi + 0x30]
mov ebx, dword [eax + 8]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push eax
push str.param
mov ecx, ebx
call fcn.0040adfa
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.00405488
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x428320
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00403a75
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0040adfa
push dword [ebp - 0x38]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.00405488
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00408eab
push eax
lea ecx, [ebp - 0x40]
call fcn.00405488
mov dword [ebp - 0x24], eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00408e2f
push eax
lea ecx, [ebp - 0x3c]
call fcn.00405488
push dword [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040978c
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004021e8
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.004021e8
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 1
call fcn.0041f803
test al, al
pop ecx
pop ecx
jne 0x416100
and dword [ebp - 0x24], 0
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041e00f
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00411a94
lea ecx, [ebp - 0x28]
call fcn.00411a94
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004063bc
test al, al
pop ecx
pop ecx
je 0x41613d
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
jne 0x416165
mov ebx, dword [ebp - 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
add ecx, 0xfffffff0
mov dword [esi + 0x30], eax
call fcn.004021e8
lea ecx, [ebx - 0x10]
jmp 0x4161bb
push 0
push dword [ebp - 0x34]
mov ecx, esi
push dword [ebp - 0x30]
call fcn.00415a6f
test eax, eax
push ebx
jne 0x416194
push 1
call fcn.00417333
mov ecx, eax
call fcn.00417455
call fcn.0040f174
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx]
jmp 0x4161a2
push 0
call fcn.00417333
mov ecx, eax
call fcn.00417455
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
add ecx, 0xfffffff0
mov dword [esi + 0x30], eax
call fcn.004021e8
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004021e8
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004021e8
lea eax, [ebp - 0x50]
push eax
call edi
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004021e8
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x60]
push eax
call edi
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [eax + 4]
jne 0x416016
pop edi
pop ebx
and dword [esi + 0x48], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00422213
leave
ret