Function at 0x422177
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x492840]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x14]
mov ebx, str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateNetwork.c
stosd dword es:[edi], eax
push 0x217d
push ebx
push 0x46051c
stosd dword es:[edi], eax
push str.addrchng.flg
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004252b8
pop ecx
pop ecx
push eax
call fcn.0040e692
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422272
push esi
push 1
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.00441a37
push esi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.00441a37
push esi
call fcn.0040e507
add esp, 0x24
call fcn.00405583
test eax, eax
jne 0x422234
push 0x2186
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00437e67
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
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 esi, eax
mov edi, esp
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.00438d9e
push eax
call fcn.0044733a
add esp, 0x24
cmp eax, 0x6ddd000
jle 0x422234
call fcn.0041958f
push 0x218a
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00437e67
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
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 esi, eax
mov edi, esp
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.00438d9e
push eax
call fcn.0044733a
add esp, 0x24
cmp eax, 0x240c8400
jle 0x422283
call fcn.0041958f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c5ec
leave
ret
call fcn.00405583
test eax, eax
je 0x4222ca
push 0x2190
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00437e67
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
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 esi, eax
mov edi, esp
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.00438d9e
push eax
call fcn.0044733a
add esp, 0x24
cmp eax, 0x5cb2780
jg 0x422272
xor eax, eax
inc eax
jmp 0x422274
cmp dword [ebp - 0x18], 0
jne 0x4222c5
push 0x2198
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00437e67
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
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 esi, eax
mov edi, esp
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.00438d9e
push eax
call fcn.0044733a
xor ecx, ecx
add esp, 0x24
cmp eax, 0x4b87f00
setl cl
mov eax, ecx
jmp 0x422274