Function at 0x4590d9
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x38]
push edi
mov esi, dword [ebx]
mov dword [ebp - 0x38], eax
call fcn.0043e6c6
mov ecx, dword [esi + 0x14]
push eax
push ebx
call dword [0x464258]
call dword [esi + 0x14]
mov edi, eax
test edi, edi
jns 0x459146
cmp dword [0x463f58], 0
je 0x459653
push 0
push 0x425b3c
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x459653
call fcn.0043b9da
jmp 0x459653
mov word [ebp - 4], 1
lea ebx, [ebp - 4]
mov al, byte [ebx]
mov ecx, dword [ebp - 0x3c]
and dword [ebp - 0x18], 0
mov byte [ebp - 0x38], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.00458aa3
mov edi, eax
test edi, edi
js 0x459614
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc]
and dword [ebp - 0xc], 0
and dword [ebp - 0x20], 0
push edx
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x464258]
call esi
mov edi, eax
test edi, edi
js 0x4595d0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x464258]
call esi
mov edi, eax
test edi, edi
jns 0x4593dd
cmp dword [0x463f58], 0
je 0x4595f7
push 0
push 0x437370
jmp 0x4595e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
and dword [ebp - 8], 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x464258]
call esi
mov edi, eax
test edi, edi
js 0x45958c
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
call fcn.0045ba19
mov edi, eax
test edi, edi
js 0x459556
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0045ba5d
mov edi, eax
test edi, edi
js 0x459520
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
and dword [ebp - 0x34], 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x464258]
call esi
mov edi, eax
test edi, edi
js 0x45950e
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
and dword [ebp - 0x2c], 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x464258]
call esi
mov edi, eax
test edi, edi
js 0x4594fc
cmp dword [ebp - 0x34], 0
jne 0x45936b
cmp byte [ebp - 0x38], 0
je 0x459295
cmp dword [ebp - 0x2c], 0
jne 0x45929f
jmp 0x45936b
cmp dword [ebp - 0x2c], 0
jne 0x45936b
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x1c]
and dword [ebp - 0x1c], 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x464258]
call esi
mov edi, eax
test edi, edi
js 0x4594a1
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call fcn.0043e6c6
mov ecx, dword [edi + 0x1c]
push eax
push esi
push dword [ebp + 8]
call dword [0x464258]
call dword [edi + 0x1c]
mov edi, eax
test edi, edi
js 0x459470
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov edi, dword [esi]
call fcn.0043e6c6
mov ecx, dword [edi + 0x1c]
push eax
push esi
call dword [0x464258]
call dword [edi + 0x1c]
mov edi, eax
test edi, edi
js 0x45943f
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x3c]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
mov esi, dword [edi]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov ecx, dword [esi]
call dword [0x464258]
mov ecx, edi
call dword [esi]
mov edi, eax
test edi, edi
js 0x45942d
lea ecx, [ebp - 0x24]
call fcn.0043e6ea
lea ecx, [ebp - 0x28]
call fcn.0043e6ea
push dword [ebp - 0x1c]
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x464258]
call esi
mov edi, eax
test edi, edi
js 0x4594d3
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4593a7
and dword [ebp - 0x10], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4593c2
and dword [ebp - 0x14], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4593dd
and dword [ebp - 8], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
cmp dword [ebp - 0x20], 0
jne 0x4591d7
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x459402
and dword [ebp - 0xc], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x459413
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
inc ebx
lea eax, [ebp - 2]
cmp ebx, eax
jne 0x45914f
xor edi, edi
jmp 0x459653
cmp dword [0x463f58], 0
je 0x459466
push 0
push 0x437530
jmp 0x45944f
cmp dword [0x463f58], 0
je 0x459466
push 0
push 0x437500
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x459466
call fcn.0043b9da
lea ecx, [ebp - 0x24]
call fcn.0043e6ea
jmp 0x459497
cmp dword [0x463f58], 0
je 0x459497
push 0
push 0x4374b8
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x459497
call fcn.0043b9da
lea ecx, [ebp - 0x28]
call fcn.0043e6ea
jmp 0x4594c8
cmp dword [0x463f58], 0
je 0x4594c8
push 0
push 0x437484
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x4594c8
call fcn.0043b9da
push dword [ebp - 0x1c]
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
jmp 0x459539
cmp dword [0x463f58], 0
je 0x459539
push 0
push 0x4375e4
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x459539
call fcn.0043b9da
jmp 0x459539
cmp dword [0x463f58], 0
je 0x459539
push 0
push 0x437458
jmp 0x4594e3
cmp dword [0x463f58], 0
je 0x459539
push 0
push 0x43741c
jmp 0x4594e3
cmp dword [0x463f58], 0
je 0x459539
push 0
push 0x4373f4
mov edx, edi
mov cl, 1
call fcn.0043b847
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45956f
and dword [ebp - 0x10], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
jmp 0x45956f
cmp dword [0x463f58], 0
je 0x45956f
push 0
push 0x4373cc
mov edx, edi
mov cl, 1
call fcn.0043b847
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4595b3
and dword [ebp - 0x14], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
jmp 0x4595b3
cmp dword [0x463f58], 0
je 0x4595b3
push 0
push 0x43739c
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x4595b3
call fcn.0043b9da
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4595f7
and dword [ebp - 8], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
jmp 0x4595f7
cmp dword [0x463f58], 0
je 0x4595f7
push 0
push 0x437334
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x4595f7
call fcn.0043b9da
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x45963b
and dword [ebp - 0xc], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x464258]
call esi
jmp 0x45963b
cmp dword [0x463f58], 0
je 0x45963b
push 0
push 0x4372e0
mov edx, edi
mov cl, 1
call fcn.0043b847
cmp dword [0x463f58], 0
je 0x45963b
call fcn.0043b9da
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45964c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.OLE32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x30]
call fcn.0043e6ea
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc