Function at 0x4bf744
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x55f900]
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.004c37f0
push 0x20
pop eax
xor edi, edi
mov dword [ebp - 0x12c], ebx
cmp dword [ebp + 8], ebx
push 0x24e
cmove edi, eax
mov dword [ebp - 0x138], ebx
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push edi
mov dword [ebp - 0x130], ebx
call fcn.0044f4b7
lea eax, [ebp - 0x108]
push str.UULF.lts
push eax
call fcn.00451c70
push ebx
push 0x61a8
push ebx
push SQLGetDiagRec
push 3
push ebx
push 7
lea eax, [ebp - 0x108]
push 3
push eax
call fcn.0041f163
add esp, 0x44
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
jne 0x4bf835
cmp eax, 2
je 0x4bf827
cmp eax, 3
je 0x4bf827
cmp eax, 0xf
je 0x4bf827
cmp eax, 0x35
je 0x4bf827
push eax
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:7:IsUploadPackageUpdatesAllowed___FAILED:_CreateFile__s__FAILED:__s_ld
call fcn.0041c80a
add esp, 0x10
push edi
call fcn.004552b3
xor eax, eax
inc eax
jmp 0x4bfb7e
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 0x4bfb0b
cmp dword [ebp - 0x12c], 4
jb 0x4bfb0b
push 0
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x138]
push eax
push esi
call ebx
test eax, eax
je 0x4bfad1
cmp dword [ebp - 0x12c], 4
jb 0x4bfad1
push 0
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
je 0x4bfa93
cmp dword [ebp - 0x12c], 4
jb 0x4bfa93
push 0
lea eax, [ebp - 0x12c]
push eax
push 0x10
lea eax, [ebp - 0x118]
push eax
push esi
call ebx
test eax, eax
je 0x4bfa42
cmp dword [ebp - 0x12c], 0x10
jb 0x4bfa42
push 0x293
mov ebx, str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push ebx
push str.IsUploadPackageUpdatesAllowed
push esi
call fcn.0041dd98
push edi
call fcn.004552b3
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 0x4bf904
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 0x4bf9a0
cmp dword [0x665050], 0
je 0x4bfb67
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.0041c80a
lea eax, [ebp - 0x108]
push eax
call fcn.004208fc
add esp, 0x14
test eax, eax
jne 0x4bfa33
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 0x4bfa2b
mov esi, 0x6ddd00
cmp dword [ebp - 0x130], esi
jbe 0x4bf9c5
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.0041c80a
pop ecx
pop ecx
mov dword [ebp - 0x130], esi
push 0x2b8
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.004b5bf0
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.004b715e
push eax
call fcn.004ccf1a
add esp, 0x24
cmp eax, dword [ebp - 0x130]
jl 0x4bfa3b
lea eax, [ebp - 0x108]
push eax
call fcn.004208fc
pop ecx
test eax, eax
jne 0x4bfa3b
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.0041c80a
add esp, 0xc
xor eax, eax
inc eax
jmp 0x4bfb7f
xor eax, eax
jmp 0x4bfb7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x28b
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0041dd98
cmp dword [0x665050], 0
je 0x4bfb4b
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.0041c80a
add esp, 0x18
jmp 0x4bfb4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x281
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0041dd98
cmp dword [0x665050], 0
je 0x4bfb4b
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 0x4bfb43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x276
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0041dd98
cmp dword [0x665050], 0
je 0x4bfb4b
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 0x4bfb43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x26c
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push str.IsUploadPackageUpdatesAllowed
push esi
mov ebx, eax
call fcn.0041dd98
cmp dword [0x665050], 0
je 0x4bfb4b
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.0041c80a
add esp, 0x10
push edi
call fcn.004552b3
cmp dword [0x665050], 0
pop ecx
jne 0x4bfa33
push 0x37
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov dword [0x665050], 1
call fcn.004bf744
and dword [0x665050], 0
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret