Function at 0x40bcf0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x637840
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp + 0x34], edi
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x40c41b
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push dword [edi + 0x20]
mov dword [edi + 0x38], 1
mov eax, dword [ecx]
mov dword [ebp - 4], 0
call dword [eax + 0x18]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [ebp + 0x44], ecx
cmp dword [edi + 0x20], ecx
jbe 0x40c414
cmp dword [edi + 0x38], 0
je 0x40c3f4
mov eax, dword [edi + 0x1c]
mov esi, dword [eax + ecx*4]
mov dword [ebp], esi
mov byte [ebp - 4], 2
mov dword [ebp + 0x3c], esi
test esi, esi
je 0x40bda9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x44]
mov byte [ebp - 4], 3
test esi, esi
jne 0x40bdb6
jmp 0x40c3c0
mov ecx, esi
xor ebx, ebx
call fcn.00438ed0
test al, al
je 0x40c257
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40bddb
mov eax, 0x649aa0
push eax
call edx
mov ecx, dword [edi + 0x18]
push dword [ebp + 0x44]
push 0x64
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [ebp + 0x40]
mov ecx, esi
push eax
call fcn.00439ce0
mov edi, dword [ebp + 0x40]
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x6f50d0
call fcn.0043d420
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x40be2c
mov eax, 0x649aa0
push dword [edi + 0x44]
lea ecx, [ebp + 0x28]
push eax
call fcn.004031a0
mov edi, dword [ebp + 0x2c]
xor eax, eax
mov ecx, dword [ebp + 0x28]
test edi, edi
je 0x40be6b
lea esi, [eax + 0x5c]
jmp 0x40be50
cmp word [ecx + eax*2], 0x2f
lea edx, [ecx + eax*2]
jne 0x40be63
mov word [edx], si
mov edi, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
inc eax
cmp eax, edi
jb 0x40be50
mov esi, dword [ebp]
test ecx, ecx
jne 0x40be74
mov ecx, 0x649aa0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp + 0x4b]
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 7
test eax, eax
je 0x40be96
push eax
call fcn.00446420
add esp, 4
cmp byte [ebp + 0x4b], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x2c], 0
mov byte [ebp - 4], 5
jne 0x40bee5
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40bec1
mov eax, 0x649aa0
push eax
push 0x64d200
push 2
push 0x6e
push str.e:workprgpdf5_builds_rc.328_trackerupdateinstallmanager.cpp
call fcn.00431810
mov edi, dword [ebp + 0x34]
add esp, 0x14
mov ebx, 2
jmp 0x40c193
mov edi, dword [ebp + 0x40]
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.00437b30
test eax, eax
je 0x40c024
mov byte [ebp + 0x4b], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
lea eax, [ebp + 0x1c]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x6f50d0
call fcn.0043d420
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x40bf31
mov eax, 0x649aa0
push dword [edi + 0x44]
lea ecx, [ebp + 0x1c]
push eax
call fcn.004031a0
mov edi, dword [ebp + 0x20]
xor eax, eax
mov ecx, dword [ebp + 0x1c]
test edi, edi
je 0x40bf6b
lea esi, [eax + 0x5c]
lea esp, [esp]
cmp word [ecx + eax*2], 0x2f
lea edx, [ecx + eax*2]
jne 0x40bf63
mov word [edx], si
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
inc eax
cmp eax, edi
jb 0x40bf50
mov esi, dword [ebp]
xor eax, eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
test ecx, ecx
jne 0x40bf8e
mov ecx, 0x649aa0
lea eax, [ebp + 0x4c]
push eax
push ecx
call fcn.0043c990
add esp, 8
test al, al
je 0x40bfcb
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x4c]
add edx, 0x64
mov edi, 0x1c
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bfc7
add ecx, 4
add edx, 4
sub edi, 4
jae 0x40bfb0
mov byte [ebp + 0x4b], 1
jmp 0x40bfcb
mov byte [ebp + 0x4b], 0
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 9
test eax, eax
je 0x40bfdf
push eax
call fcn.00446420
add esp, 4
cmp byte [ebp + 0x4b], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
mov byte [ebp - 4], 5
jne 0x40c024
mov edi, dword [ebp + 0x34]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40c015
mov eax, 0x649aa0
push 0x64d290
push eax
push 0x62
call edx
jmp 0x40c193
mov edi, dword [ebp + 0x34]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40c03b
mov eax, 0x649aa0
push 0
push eax
push 0x63
call edx
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + 0xc]
cmp eax, 1
jne 0x40c13c
mov ecx, 0x6f50d0
call fcn.0043dbd0
test eax, eax
jne 0x40c074
push eax
push 1
mov ecx, 0x6f50d0
call fcn.0043cf40
test al, al
jne 0x40c3d3
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
mov ecx, esi
call fcn.00439ce0
mov eax, dword [eax]
mov byte [ebp - 4], 0xd
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x40c0aa
mov ecx, 0x649aa0
mov eax, dword [esi + 8]
test eax, eax
jne 0x40c0b6
mov eax, 0x649aa0
lea edx, [ebp + 4]
push edx
push ecx
push eax
mov ecx, edi
call fcn.0040c880
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x40c0d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xc
mov ecx, edi
push 1
test ebx, ebx
js 0x40c101
lea eax, [edi + 0x48]
push eax
lea eax, [esi + 0x94]
push eax
lea eax, [ebp + 4]
push eax
call fcn.0040b600
test al, al
jne 0x40c10a
mov ebx, 0x8200000e
jmp 0x40c10a
lea eax, [ebp + 4]
push eax
call fcn.0040a670
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x40c11e
push eax
call fcn.00446420
add esp, 4
mov dword [ebp + 4], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0
mov byte [ebp - 4], 5
jmp 0x40c226
cmp eax, 4
jne 0x40c1e8
mov ecx, 0x6f50d0
call fcn.00442b50
test al, al
jne 0x40c158
mov ebx, 0xe
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40c164
mov eax, 0x649aa0
push eax
push str._Package__s_was__g_succesfully_installed___
push 2
push 0xa2
push str.e:workprgpdf5_builds_rc.328_trackerupdateinstallmanager.cpp
call fcn.00431810
add esp, 0x14
cmp ebx, 0xbc2
jne 0x40c193
mov ecx, dword [edi + 0x18]
push 0
push 0x61
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x40c1a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
test ebx, ebx
jns 0x40c27d
push 2
lea eax, [ebp + 0x6c]
mov byte [0x6f5270], 1
push eax
push 0xa
mov ecx, 0x6f50e0
call fcn.0042e390
push 0xffffffffffffffff
lea eax, [ebp + 0x6c]
mov ecx, 0x6f50e0
push eax
call fcn.004031a0
or dword [esi + 0xa4], 0x200
jmp 0x40c3a1
lea eax, [ebp + 0x3c]
mov ecx, edi
push eax
call fcn.0040ae30
mov ebx, eax
cmp ebx, 0x642
jne 0x40c20e
mov esi, dword [ebp + 0x3c]
mov ebx, 0x820004c7
mov dword [edi + 0x38], 0
jmp 0x40c193
test ebx, ebx
jle 0x40c223
cmp ebx, 0xbc2
je 0x40c223
movzx ebx, bx
or ebx, 0x82000000
mov esi, dword [ebp + 0x3c]
test ebx, ebx
jns 0x40c158
cmp dword [edi + 0x38], 0
je 0x40c193
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40c24c
mov eax, 0x649aa0
push eax
push 0x64
push ebx
call edx
jmp 0x40c193
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40c263
mov eax, 0x649aa0
push eax
push str.Package__s__r_not_allowed____to_install.
push 2
push 0xad
push str.e:workprgpdf5_builds_rc.328_trackerupdateinstallmanager.cpp
call fcn.00431810
add esp, 0x14
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0x11
push eax
mov ecx, 0x6f50d0
call fcn.0043d420
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call fcn.00439ce0
mov eax, dword [ebp + 0x38]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x40c2fb
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x40c2c9
mov eax, 0x649aa0
push ecx
push eax
lea ecx, [ebp + 0x10]
call fcn.004031a0
push 0x5c
push 0x2f
lea ecx, [ebp + 0x10]
call fcn.0040ad90
cmp dword [ebp + 0x14], 0
je 0x40c2f8
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x40c2f1
mov eax, 0x649aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x38]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x40c307
mov ecx, 0x649aa0
mov edx, 0x64d350
lea esp, [esp]
mov di, word [ecx]
cmp di, word [edx]
jne 0x40c336
test di, di
je 0x40c332
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x40c336
add ecx, 4
add edx, 4
test di, di
jne 0x40c310
xor ecx, ecx
jmp 0x40c33b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x40c363
push ecx
mov eax, esp
mov byte [ebp - 4], 0x13
mov dword [eax], esi
test esi, esi
je 0x40c352
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, 0x6f50d0
mov byte [ebp - 4], 0x12
call fcn.0043bb10
mov eax, dword [ebp + 0x38]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x40c371
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x40c385
push eax
call fcn.00446420
add esp, 4
mov edi, dword [ebp + 0x34]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x14], 0
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x18]
push dword [ebp + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x28]
and dword [edi + 0x38], eax
mov byte [ebp - 4], 0x16
test esi, esi
je 0x40c3bd
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 0x44]
inc ecx
mov byte [ebp - 4], 1
mov dword [ebp + 0x44], ecx
cmp ecx, dword [edi + 0x20]
jb 0x40bd82
jmp 0x40c414
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x40c3e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
test esi, esi
je 0x40c41b
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x40c41b
mov ecx, dword [edi + 0x18]
push 0
push 0x66
push 0x820004c7
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
mov eax, dword [edi + 0x20]
dec eax
push eax
call edx
mov dword [edi + 0x2c], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.004b2558
lea esp, [ebp + 0x78]
pop ebp
ret