Function at 0x45f832
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18b4
call fcn.004aa3b0
push ebx
push esi
push edi
push 0x401390
lea ecx, [ebp - 0x48]
call fcn.0041c2b0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041c310
lea eax, [ebp - 0x30]
push eax
call fcn.004793a2
pop ecx
xor edi, edi
mov dword [ebp - 0x18], eax
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.0041ddb0
mov esi, dword [ebp + 0x14]
xor eax, eax
push esi
mov word [ebp - 0x4c], ax
mov ebx, 0x104
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x254]
push ebx
push eax
call fcn.004600c8
add esp, 0xc
test al, al
je 0x45fbc8
push 0x4015f4
lea eax, [ebp - 0x254]
push ebx
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fbc8
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
push eax
push 0x45edfd
push 0x401778
push dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
test eax, eax
jne 0x45f901
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov dword [esi], 0x70
mov dword [esi + 4], eax
jmp 0x45fbd4
push 0x104
push ebx
call fcn.00460105
pop ecx
pop ecx
test eax, eax
jne 0x45f920
mov esi, dword [ebp + 8]
mov dword [esi], 0x70
jmp 0x45fbd1
mov ebx, 0x104
mov dword [ebp - 4], edi
push ebx
push esi
call fcn.00460105
pop ecx
pop ecx
test eax, eax
je 0x45fb27
xor eax, eax
mov word [ebp - 0x464], ax
mov word [ebp - 0x18b4], ax
mov word [ebp - 0x258], ax
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x460]
push ebx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.0045eb81
add esp, 0x10
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x45faba
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push 0x4013b8
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push 0x401644
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push 0x4013c0
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push esi
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push 0x4013c8
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push 0x401668
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push 0x4013c0
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
je 0x45fab4
push 0x4013d4
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.004600a0
add esp, 0xc
test al, al
jne 0x45faba
push 0x69
pop ebx
mov dword [ebp - 4], edi
lea eax, [ebp - 0x18b4]
push eax
push dword [ebp + 0xc]
call fcn.0045e678
pop ecx
pop ecx
test ebx, ebx
jne 0x45fb13
lea eax, [ebp - 0x18b4]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045f03b
add esp, 0xc
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x45fb13
lea eax, [ebp - 0x254]
push eax
push 0x104
push esi
call fcn.004600c8
add esp, 0xc
test al, al
jne 0x45fb1a
push 0x6c
pop ebx
jmp 0x45fb1d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov dword [esi], ebx
jmp 0x45fbd1
lea eax, [ebp - 0x14]
push eax
push 0x45edfd
push 0x401770
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
test eax, eax
jne 0x45fb56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov dword [esi], 0x71
jmp 0x45f8f9
push ebx
push esi
call fcn.00460105
pop ecx
pop ecx
test eax, eax
jne 0x45fb6e
mov esi, dword [ebp + 8]
mov dword [esi], 0x74
jmp 0x45fbd1
lea eax, [ebp - 0x254]
push eax
push esi
call fcn.0045e23c
pop ecx
pop ecx
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
je 0x45fbb7
lea eax, [ebp - 0x254]
push eax
push 0x104
push esi
call fcn.004600c8
add esp, 0xc
test al, al
jne 0x45fbbb
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x6c
mov eax, edi
pop edi
jmp 0x45fbbe
push 0x73
jmp 0x45fbb2
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov dword [esi], edi
jmp 0x45f8f9
mov esi, dword [ebp + 8]
mov dword [esi], 0x6c
mov dword [esi + 4], edi
lea ecx, [ebp - 0x30]
call fcn.0045e65d
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret