Function at 0x467280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cc91
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp + 0xc]
push 0x5bda14
call fcn.00401ca0
mov dword [ebp - 4], edi
mov esi, 1
mov dword [ebp - 0x20], esi
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4672e5
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], esi
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x467311
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46733e
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46736b
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 4], 5
call fcn.00467590
test al, al
jne 0x4673ac
push 0x5df394
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], str.his__GetFirmUpdateToolPathInTempFolder_____false
call fcn.005612f8
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne bl
movzx eax, bl
push eax
push esi
push str.__file::IsExist___s_____d_n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0x14
test bl, bl
jne 0x467491
call 0x443ee0
test al, al
jne 0x4673fd
push 0x5df394
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], str.file.CreateBrFolderInTempFolder_____false
call fcn.005612f8
lea esi, [ebp - 0x18]
call fcn.00443e70
test al, al
jne 0x46741e
push 0x5df394
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], str.file.CreateFolder_____false
call fcn.005612f8
lea esi, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call fcn.00442680
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x46743f
mov dword [ebp + 8], edi
jmp 0x467445
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x44]
push edx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00442720
test al, al
jne 0x467471
push 0x5df394
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], str.download.Start__prt___strToolPath____false
call fcn.005612f8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x40]
cmp ecx, edi
je 0x467483
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x467491
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402070
mov dword [ebp - 4], 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4674c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4674ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46750d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc