Function at 0x4272a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465337
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp - 0x470]
add ecx, 0x1c
call fcn.00408270
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x474], 0xffffffff
jne 0x42732b
mov ecx, dword [ebp - 0x470]
add ecx, 0x1c
call fcn.00408270
push eax
push str.Load_DbUpdateReplaceInfo_file_failed___s
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0xc
jmp 0x427563
lea ecx, [ebp - 0x43c]
call fcn.00428790
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x4273cd
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x414], 0
push 0x400
push 0
lea ecx, [ebp - 0x413]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x41c]
push edx
push 0x400
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x41c], 0
jbe 0x4273b4
lea edx, [ebp - 0x414]
push edx
lea ecx, [ebp - 0x43c]
call fcn.004279f0
cmp dword [ebp - 0x480], 0
je 0x4273c6
cmp dword [ebp - 0x41c], 0
jne 0x4273c8
jmp 0x4273cd
jmp 0x42733d
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x43c]
call fcn.00447b60
push eax
lea ecx, [ebp - 0x418]
call fcn.0041e1f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x418]
call fcn.00406f00
test eax, eax
je 0x427542
push 6
lea ecx, [ebp - 0x418]
call fcn.00406f00
mov ecx, eax
call fcn.0041dad0
movzx ecx, al
test ecx, ecx
je 0x427542
lea ecx, [ebp - 0x418]
call fcn.00406f00
mov dword [ebp - 0x47c], eax
push 1
lea ecx, [ebp - 0x424]
call fcn.00427580
mov edx, dword [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x424]
call fcn.00448cb0
lea ecx, [ebp - 0x424]
call fcn.004270d0
movzx eax, al
test eax, eax
jne 0x427542
lea ecx, [ebp - 0x424]
call fcn.00427120
mov ecx, eax
call fcn.00428770
push eax
lea ecx, [ebp - 0x498]
call fcn.0041d3e0
mov byte [ebp - 4], 2
push 0xfde9
lea edx, [ebp - 0x498]
lea ecx, [ebp - 0x46c]
call fcn.00443af0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x498]
call fcn.0041d420
lea ecx, [ebp - 0x454]
call fcn.00408290
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x424]
call fcn.00427140
mov dword [ebp - 0x478], eax
lea ecx, [ebp - 0x454]
push ecx
mov edx, dword [ebp - 0x478]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x478]
mov edx, dword [eax + 0x10]
call edx
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x46c]
push ecx
mov ecx, dword [ebp - 0x470]
add ecx, 0x34
call fcn.00427a20
mov ecx, eax
call fcn.00410020
lea ecx, [ebp - 0x424]
call fcn.00427100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x454]
call fcn.004082c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x46c]
call fcn.004082c0
jmp 0x427457
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x418]
call fcn.0041e140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.0041d420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret