Function at 0x4372f3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x496980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x118]
stosd dword es:[edi], eax
xor ebx, ebx
push 0x104
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00440bf0
push 0x19db
mov esi, str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
mov dword [ebp - 0x11c], ebx
push esi
push 0x20
call fcn.0041e274
mov eax, 0x6ddd00
add esp, 0x18
cmp dword [ebp + 8], eax
jbe 0x437351
mov dword [ebp + 8], eax
push 0x19e3
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004352f8
lea eax, [ebp - 0x108]
push str.UULF.lts
push eax
call fcn.004208f4
add esp, 0x14
mov ecx, ebx
mov edx, ebx
movzx eax, byte [ebp + ecx - 0x118]
add edx, eax
inc ecx
cmp ecx, 0x10
jb 0x43737b
push ebx
push 0x61a8
push ebx
push SQLGetDiagRec
push 4
push ebx
push 7
lea eax, [ebp - 0x108]
mov dword [ebp - 0x120], edx
push 3
push eax
call fcn.0040f703
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x24
mov edi, eax
call esi
cmp edi, 0xffffffff
jne 0x4373dc
push eax
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
push str.:7:DisallowUploadPackageUpdates__ld__FAILED:_CreateFile__s__FAILED:__s_ld
jmp 0x43756e
call fcn.0044a329
add dword [ebp - 0x120], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [0x59c720], eax
lea eax, [ebp - 0x11c]
push eax
push 4
lea eax, [ebp - 0x120]
push eax
push edi
call ebx
test eax, eax
je 0x437540
cmp dword [ebp - 0x11c], 4
jb 0x437540
push 0
lea eax, [ebp - 0x11c]
push eax
push 4
push 0x59c720
push edi
call ebx
test eax, eax
je 0x437510
cmp dword [ebp - 0x11c], 4
jb 0x437510
push 0
lea eax, [ebp - 0x11c]
push eax
push 4
lea eax, [ebp + 8]
push eax
push edi
call ebx
test eax, eax
je 0x4374e0
cmp dword [ebp - 0x11c], 4
jb 0x4374e0
push 0
lea eax, [ebp - 0x11c]
push eax
push 0x10
lea eax, [ebp - 0x118]
push eax
push edi
call ebx
test eax, eax
je 0x4374ad
cmp dword [ebp - 0x11c], 0x10
jb 0x4374ad
push 0x1a32
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push str.DisallowUploadPackageUpdates
push edi
call fcn.0040e841
push 0x20
call fcn.00423c9b
xor eax, eax
pop ecx
inc eax
jmp 0x43757f
call esi
push 0x1a2b
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push str.DisallowUploadPackageUpdates
push edi
mov esi, eax
call fcn.0040e841
push esi
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
push str.:7:DisallowUploadPackageUpdates__ld__FAILED:_WriteFile___FAILED_to_write_the_SYSTEMTIME_to___s_:__s_ld
jmp 0x43756e
call esi
push 0x1a21
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push str.DisallowUploadPackageUpdates
push edi
mov esi, eax
call fcn.0040e841
push esi
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
push str.:7:DisallowUploadPackageUpdates__ld__FAILED:_WriteFile___FAILED_to_write_the_Time_Out_DWORD_to___s_:__s_ld
jmp 0x43756e
call esi
push 0x1a16
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push str.DisallowUploadPackageUpdates
push edi
mov esi, eax
call fcn.0040e841
push esi
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
push str.:7:DisallowUploadPackageUpdates__ld__FAILED:_WriteFile___FAILED_to_write_the_Process_Identifier_to___s_:__s_ld
jmp 0x43756e
call esi
push 0x1a0c
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push str.DisallowUploadPackageUpdates
push edi
mov esi, eax
call fcn.0040e841
push esi
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
push str.:7:DisallowUploadPackageUpdates__ld__FAILED:_WriteFile___FAILED_to_write_the_checksum_to___s_:__s_ld
call fcn.0040d324
push 0x20
call fcn.00423c9b
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f5c5
leave
ret