Function at 0x462f4b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor ebx, ebx
push esi
push edi
lea edi, [ebp - 0x118]
mov dword [ebp - 0x134], ebx
stosd dword es:[edi], eax
push 0x104
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x128]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00466ad0
push 0x20
pop eax
xor edi, edi
mov dword [ebp - 0x12c], ebx
cmp dword [ebp + 8], ebx
push 0x29c
cmove edi, eax
mov dword [ebp - 0x138], ebx
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push edi
mov dword [ebp - 0x130], ebx
call fcn.0042cf9f
lea eax, [ebp - 0x108]
push str.UULF.lts
push eax
call fcn.0042f61b
push ebx
push 0x61a8
push ebx
push SQLGetDiagRec
push 3
push ebx
push 7
lea eax, [ebp - 0x108]
push 3
push eax
call fcn.0040fec4
add esp, 0x44
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
jne 0x46303c
cmp eax, 2
je 0x46302e
cmp eax, 3
je 0x46302e
cmp eax, 0xf
je 0x46302e
cmp eax, 0x35
je 0x46302e
push eax
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_CreateFile__s__FAILED:__s_ld
call fcn.0040d511
add esp, 0x10
push edi
call fcn.00432bc5
xor eax, eax
inc eax
jmp 0x463385
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x134]
push eax
push esi
call ebx
test eax, eax
je 0x463312
cmp dword [ebp - 0x12c], 4
jb 0x463312
push 0
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x138]
push eax
push esi
call ebx
test eax, eax
je 0x4632d8
cmp dword [ebp - 0x12c], 4
jb 0x4632d8
push 0
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
je 0x46329a
cmp dword [ebp - 0x12c], 4
jb 0x46329a
push 0
lea eax, [ebp - 0x12c]
push eax
push 0x10
lea eax, [ebp - 0x118]
push eax
push esi
call ebx
test eax, eax
je 0x463249
cmp dword [ebp - 0x12c], 0x10
jb 0x463249
push 0x2e1
mov ebx, str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push ebx
push str.IsUploadPackageUpdatesAllowed
push esi
call fcn.0040eb13
push edi
call fcn.00432bc5
pop ecx
xor eax, eax
xorps xmm2, xmm2
movd xmm1, dword [ebp + eax - 0x118]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
add eax, 4
punpcklwd xmm1, xmm0
paddd xmm2, xmm1
cmp eax, 0x10
jb 0x46310b
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
add eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x134]
je 0x4631a7
cmp dword [0x5d2058], 0
je 0x46336e
push eax
push dword [ebp - 0x134]
lea eax, [ebp - 0x108]
push eax
push str.:6:IsUploadPackageUpdatesAllowed___FAILED:_The_file_flags_CheckSum_has_failed:_The_flag_file___s__is_invalid.__It_should_be__ld_but_was_found_to_be__ld.
call fcn.0040d511
lea eax, [ebp - 0x108]
push eax
call fcn.0041165b
add esp, 0x14
test eax, eax
jne 0x46323a
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_DeleteFile___s___FAILED:_Could_not_delete_the_invalid_file_lock_flag:__s
jmp 0x463232
mov esi, 0x6ddd00
cmp dword [ebp - 0x130], esi
jbe 0x4631cc
push dword [ebp - 0x130]
push str.:9:IsUploadPackageUpdatesAllowed___encountered_a_SERIOUS_EXCEPTION:_The_time_out_cannot_be_greater_than_TWO_HOURS_but_was_found_to_be__ld
call fcn.0040d511
pop ecx
pop ecx
mov dword [ebp - 0x130], esi
push 0x306
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.0045f310
push ecx
mov edi, esp
lea esi, [ebp - 0x118]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x128]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046087e
push eax
call fcn.004701fa
add esp, 0x24
cmp eax, dword [ebp - 0x130]
jl 0x463242
lea eax, [ebp - 0x108]
push eax
call fcn.0041165b
pop ecx
test eax, eax
jne 0x463242
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_DeleteFile___s___FAILED:_Could_not_delete_the_expired_lock_flag:__s
call fcn.0040d511
add esp, 0xc
xor eax, eax
inc eax
jmp 0x463386
xor eax, eax
jmp 0x463386
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2d9
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0040eb13
cmp dword [0x5d2058], 0
je 0x463352
push ebx
push str._GetLastError_
push 0x10
push dword [ebp - 0x12c]
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_ReadFile___FAILED_to_read_the_SYSTEMTIME_from___s_.__Read__ld_bytes_of__ld:__s_ld
call fcn.0040d511
add esp, 0x18
jmp 0x463352
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2cf
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0040eb13
cmp dword [0x5d2058], 0
je 0x463352
push ebx
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_ReadFile___FAILED_to_read_the_Time_Out_DWORD_from___s_:__s_ld
jmp 0x46334a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2c4
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0040eb13
cmp dword [0x5d2058], 0
je 0x463352
push ebx
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_ReadFile___FAILED_to_read_the_Process_Identifier_from___s_:__s_ld
jmp 0x46334a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2ba
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0040eb13
cmp dword [0x5d2058], 0
je 0x463352
push ebx
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_ReadFile___FAILED_to_read_the_checksum_from___s_:__s_ld
call fcn.0040d511
add esp, 0x10
push edi
call fcn.00432bc5
cmp dword [0x5d2058], 0
pop ecx
jne 0x46323a
push 0x37
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov dword [0x5d2058], 1
call fcn.00462f4b
and dword [0x5d2058], 0
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret