Function at 0x402cc3
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
je 0x402e6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x402e6c
push esi
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x10], eax
cmp edi, esi
je 0x402e6c
lea ecx, [edi + 1]
push ecx
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, esi
je 0x402e40
push esi
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402e40
cmp dword [ebp - 0x14], esi
jbe 0x402e40
push ebx
call fcn.0040b51c
mov ebx, 0xfffff060
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jbe 0x402d8b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
call dword [0x439590]
jmp 0x402e73
push 0x43c9f8
call fcn.0040b319
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x402e5a
cmp eax, ebx
ja 0x402e5a
mov edi, 0x43ca04
push edi
call fcn.0040b319
pop ecx
mov dword [ebp - 4], eax
cmp eax, esi
je 0x402dc0
cmp eax, ebx
jbe 0x402de5
push 0x43ca10
call fcn.0040b51c
mov esi, dword [ebp - 0x18]
pop ecx
push eax
push edi
call fcn.0040b2f1
push edi
mov eax, esi
call fcn.0040b319
add esp, 0xc
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [ebp - 4], esi
je 0x402e40
cmp dword [ebp - 4], ebx
ja 0x402e40
push str.___location_:_1___t_t_t_t_t_t_t_t_t_t_t_manifest_:___t_t_t_t_t_t_t_t_t_t_t____content_scripts_:_____t_t_t_t_t_t_t_t_t_t_t_t___all_frames_:_false___t_t_t_t_t_t_t_t_t_t_t_t___js_:____gvtl.js______t_t_t_t_t_t_t_t_t_t_t_t___matches_:____http:_________t_t_t_t_t_t_t_t_t_t_t_t___run_at_:__document_end___t_t_t_t_t_t_t_t_t_t_t________t_t_t_t_t_t_t_t_t_t_t____description_:__GameVance_Extension____t_t_t_t_t_t_t_t_t_t_t____id_:__1100250D31938CE363354F8282F68C24EBF5B542____t_t_t_t_t_t_t_t_t_t_t____key_:__MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBjTrlNtT1CnmlnGCjLB12YA_I9ripRwrH8mtRGbGwr9WLZsJPoZQW1x1k8m4yjxgsMiKGhO1PBhg0SsFIPRYKIV7sLqzu7eCTlacaWrj0R_or6jCxeOy9Fw_ZzprQcAGIknmHnnxURDJD8H8InYz27LjPZViGyiXg11vFOEhwIDAQAB___t_t_t_t_t_t_t_t_t_t_t____name_:__GameVance____t_t_t_t_t_t_t_t_t_t_t____permissions_:____tabs____http:_________t_t_t_t_t_t_t_t_t_t_t____plugins_:_____t_t_t_t_t_t_t_t_t_t_t_t___path_:__npgvtl.dll____t_t_t_t_t_t_t_t_t_t_t_t___public_:_true__t_t_t_t_t_t_t_t_t_t_t________t_t_t_t_t_t_t_t_t_t_t____version_:__1.0___t_t_t_t_t_t_t_t_t_t_t____t_t_t_t_t_t_t_t_t_t_t_path_:__hnhgoncokajlafhnhjmccgcmgggiehjm____t_t_t_t_t_t_t_t_t_t_t_state_:_1__t_t_t_t_t_t_t_t_t_t_t
call fcn.0040b51c
pop ecx
cmp eax, ebx
ja 0x402e10
mov esi, dword [ebp - 4]
push eax
push str.hnhgoncokajlafhnhjmccgcmgggiehjm
call fcn.0040b2f1
pop ecx
pop ecx
xor esi, esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
call fcn.0040c4c5
pop ecx
push 1
push 0x42f288
lea eax, [ebp - 0x38]
push 0x19
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
push str.gcpresent
call fcn.004041a5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
call dword [0x439590]
xor eax, eax
jmp 0x402e76
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
call dword [0x439590]
push dword [ebp - 8]
jmp 0x402e6d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret