Function at 0x42e300
Capabilities:
Delete file

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push ecx
mov eax, dword [esi + 0x10c]
mov dword [esp + 0x14], esp
mov ebx, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x42e32b
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42e350
mov eax, dword [0x46f42c]
mov dword [ebx], eax
mov edi, dword [esi + 0x10c]
test edi, edi
jne 0x42e340
xor eax, eax
jmp 0x42e347
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, ebx
call fcn.004080a0
lea ecx, [esi + 0x2c]
call fcn.0042d970
test eax, eax
je 0x42e383
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
push 2
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x110]
mov edx, dword [0x47b7a4]
push 0x10
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
xor eax, eax
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push ecx
mov dword [esp + 0x54], eax
push 0x18
mov dword [esp + 0x5c], eax
push edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x48]
mov eax, 0x55555556
imul ecx
mov eax, edx
mov ecx, dword [esi + 0xfc]
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0xf8]
lea ebp, [esi + 0x1c]
push 1
lea ebx, [eax + edx]
push 1
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x54]
add ebx, ecx
push 0x21
mov dword [esp + 0x4c], ebx
mov ebx, ebp
mov dword [ebx], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x58]
push ecx
push edx
mov dword [ebx + 0xc], eax
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Create]
call ebx
push 0
mov edx, eax
push edi
push edx
mov dword [esi + 0x64], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [esi + 0x114]
push 0x10
push 0
push 0
push 0
push eax
mov eax, dword [0x47b7a4]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
lea ecx, [esp + 0x44]
mov edi, eax
push ecx
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x48]
mov eax, 0x55555556
imul ecx
mov eax, edx
push 1
shr eax, 0x1f
push 1
add edx, eax
push 0x21
mov ecx, dword [esp + 0x58]
push ecx
push edx
call ebx
xor ebx, ebx
mov edx, eax
push ebx
push edi
push edx
mov dword [esi + 0x60], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [esi + 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
mov ecx, dword [esi + 0x114]
push ecx
call edi
mov edx, dword [esi + 4]
push 0xc9
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edi, [esi + 0x68]
push eax
mov ecx, edi
call fcn.0040cf30
test eax, eax
je 0x42e4cf
mov ecx, edi
call fcn.0040c7d0
mov eax, dword [esi + 0x60]
mov dword [edi + 0x24], eax
mov al, byte [edi + 0x20]
test al, 8
je 0x42e4f1
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42e4f1
mov ecx, edi
call fcn.0040c570
mov eax, 2
mov ecx, 1
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
mov dword [esi + 0x88], ecx
mov edx, dword [esi + 4]
push 0x418
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edi, [esi + 0xb0]
push eax
mov ecx, edi
call fcn.0040cf30
test eax, eax
je 0x42e535
mov ecx, edi
call fcn.0040c7d0
mov eax, dword [esi + 0x64]
mov dword [edi + 0x24], eax
mov al, byte [edi + 0x20]
test al, 8
je 0x42e557
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42e557
mov ecx, edi
call fcn.0040c570
mov eax, 2
mov ecx, 1
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
mov dword [esi + 0xd0], ecx
mov eax, dword [esi + 4]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], ebx
push edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x14]
push ebx
push ecx
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
sub edx, edi
mov edi, dword [esp + 0x14]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
add edx, eax
mov eax, dword [esp + 0x1c]
push 1
push ebx
push ebx
sub eax, ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esp + 0x34]
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
add eax, edx
push eax
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esi + 0x104]
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x6c]
push 0x41
push ebx
push ebx
push edx
push eax
push ebx
push ecx
call edi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov eax, dword [ebp + 8]
sub edx, ecx
mov ecx, dword [esi + 0x20]
push 4
push edx
mov edx, dword [ebp]
sub eax, edx
push eax
mov eax, dword [esi + 0xb4]
push ecx
push edx
push ebx
push eax
call edi
mov eax, dword [esi + 0x118]
push ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
push 0x64
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret