Function at 0x47b750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1166
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov esi, 0x6352bc
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x47b7b3
push str.shell32.dll
call fcn.004396f0
add esp, 4
test eax, eax
je 0x47b7b3
push 0x5e07dc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [esi], ecx
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x254], 0
push 0
push eax
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x240], 0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
mov esi, eax
test esi, esi
je 0x47bcbd
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
push 0
push 0x400
push 0x5c031c
call dword [0x5b1854]
call esi
test eax, eax
js 0x47bcbd
mov edi, dword [ebp - 0x240]
test edi, edi
je 0x47bcbd
lea ecx, [ebp - 0x21c]
mov esi, edi
mov eax, ecx
mov edx, 0x105
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x47b84e
movzx eax, word [esi + ecx]
test ax, ax
je 0x47b84e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x47b830
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x47bcb6
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x47bcb0
mov ecx, 0x105
lea eax, [ebp - 0x21c]
cmp word [eax], 0
je 0x47b891
add eax, 2
sub ecx, 1
jne 0x47b883
mov edx, 0x105
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x47bcb0
lea eax, [ebp - 0x21c]
lea eax, [eax + esi*2]
sub edx, esi
je 0x47b8dc
mov edi, str.Acrobat_DC_Set_Up.exe
mov ecx, 0x7ffffffe
sub edi, eax
test ecx, ecx
je 0x47b8dc
movzx esi, word [edi + eax]
test si, si
je 0x47b8dc
mov word [eax], si
dec ecx
add eax, 2
sub edx, 1
jne 0x47b8c3
test edx, edx
lea ecx, [eax - 2]
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
test edx, edx
je 0x47bcb0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47bcb0
xorps xmm0, xmm0
lea ecx, [ebp - 0x23c]
movups xmmword [ebp - 0x23c], xmm0
call fcn.0048ae50
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
call fcn.0048d740
add esp, 4
test al, al
je 0x47bc9e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x284]
call fcn.004102c0
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
push 0
cmovae eax, dword [ebp - 0x284]
push 0x8200000
push 3
push 0
push 1
push 0x80000000
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x241], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47bc75
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x47bc75
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x228]
mov edi, dword [ebp - 0x224]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
mov ecx, 0xe57a42bd
mov eax, edi
jns 0x47bb3a
mul ecx
mov esi, edx
mov dword [ebp - 0x26c], eax
mov eax, edi
mov edx, 0xd6bf94d5
mul edx
mov dword [ebp - 0x24c], edx
mov edi, eax
mov eax, dword [ebp - 0x260]
mul ecx
mov dword [ebp - 0x250], edx
mov ecx, eax
mov eax, dword [ebp - 0x260]
mov edx, 0xd6bf94d5
mul edx
add ecx, esi
mov dword [ebp - 0x260], edx
mov edx, dword [ebp - 0x250]
adc edx, 0
mov dword [ebp - 0x248], eax
mov esi, dword [ebp - 0x248]
add edi, ecx
mov ecx, dword [ebp - 0x24c]
adc ecx, 0
mov dword [ebp - 0x26c], edi
xor eax, eax
mov edi, 0xd6bf94d5
add edx, ecx
mov ecx, dword [ebp - 0x260]
adc eax, eax
add esi, edx
mov edx, 0xe57a42bd
adc ecx, eax
mov eax, dword [ebp - 0x25c]
mul edx
shrd esi, ecx, 0x17
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x25c]
shr ecx, 0x17
mov dword [ebp - 0x248], esi
mov esi, edx
mul edi
mov dword [ebp - 0x260], ecx
mov ecx, 0xe57a42bd
mov dword [ebp - 0x250], edx
mov edi, eax
mov eax, dword [ebp - 0x258]
mul ecx
mov dword [ebp - 0x25c], edx
mov ecx, eax
mov eax, dword [ebp - 0x258]
mov edx, 0xd6bf94d5
mul edx
add ecx, esi
mov esi, dword [ebp - 0x248]
mov dword [ebp - 0x258], edx
mov edx, dword [ebp - 0x25c]
adc edx, 0
mov dword [ebp - 0x24c], eax
add edi, ecx
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x26c], edi
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [ebp - 0x24c]
adc eax, eax
add ecx, edx
mov edx, dword [ebp - 0x258]
adc edx, eax
shrd ecx, edx, 0x17
shr edx, 0x17
sub esi, ecx
mov ecx, dword [ebp - 0x260]
sbb ecx, edx
jmp 0x47bc60
mul ecx
mov esi, edx
mov dword [ebp - 0x26c], eax
mov eax, edi
mov edx, 0xd6bf94d5
mul edx
mov dword [ebp - 0x268], edx
mov edi, eax
mov eax, dword [ebp - 0x260]
mul ecx
mov dword [ebp - 0x248], edx
mov ecx, eax
mov eax, dword [ebp - 0x260]
mov edx, 0xd6bf94d5
mul edx
add ecx, esi
mov dword [ebp - 0x250], edx
mov edx, dword [ebp - 0x248]
adc edx, 0
mov dword [ebp - 0x24c], eax
add edi, ecx
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x264], edi
mov edi, 0xd6bf94d5
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [ebp - 0x24c]
adc eax, eax
add ecx, edx
mov edx, dword [ebp - 0x250]
adc edx, eax
mov eax, dword [ebp - 0x25c]
shrd ecx, edx, 0x17
shr edx, 0x17
mov dword [ebp - 0x250], edx
mov edx, 0xe57a42bd
mul edx
mov dword [ebp - 0x24c], ecx
mov ecx, 0xe57a42bd
mov dword [ebp - 0x26c], eax
mov esi, edx
mov eax, dword [ebp - 0x25c]
mul edi
mov edi, eax
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x258]
mul ecx
mov ecx, eax
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x258]
mov edx, 0xd6bf94d5
mul edx
add ecx, esi
mov dword [ebp - 0x260], edx
mov edx, dword [ebp - 0x268]
adc edx, 0
mov dword [ebp - 0x248], eax
mov esi, dword [ebp - 0x248]
add edi, ecx
mov ecx, dword [ebp - 0x25c]
adc ecx, 0
mov dword [ebp - 0x26c], edi
xor eax, eax
add edx, ecx
mov ecx, dword [ebp - 0x260]
adc eax, eax
add esi, edx
adc ecx, eax
shrd esi, ecx, 0x17
shr ecx, 0x17
sub esi, dword [ebp - 0x24c]
sbb ecx, dword [ebp - 0x250]
test ecx, ecx
ja 0x47bc75
jb 0x47bc6e
cmp esi, 0x278d00
jae 0x47bc75
mov byte [ebp - 0x241], 1
lea ecx, [ebp - 0x284]
call fcn.0040a580
mov eax, dword [ebp - 0x254]
mov ecx, 1
cmp byte [ebp - 0x241], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 0xffffffff
call fcn.0048af70
mov edi, dword [ebp - 0x240]
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, byte [ebp - 0x254]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret