Function at 0x462b20
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463f98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x513d4c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp ebx, esi
je 0x462ecf
cmp ebx, 0xffffffff
je 0x462ecf
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, esi
je 0x462ecf
cmp ecx, 0xffffffff
je 0x462ecf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
lea edx, [ebp - 0x11]
push edx
push ecx
xor eax, eax
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov byte [ebp - 0x11], 0
call fcn.0042e480
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
cmp esi, edi
je 0x462eb0
sub edi, esi
cmp edi, dword [ebp - 0x24]
jne 0x462eb0
test esi, esi
je 0x462ecf
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push ebx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x462c24
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], ecx
jne 0x462c24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
lea edx, [ebp - 0x38]
push 0x513630
push edx
xor ebx, ebx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462c31
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x1f7a6
lea eax, [ebp - 0x38]
push 0x465ec8
push eax
call fcn.00462370
add esp, 0xc
lea ecx, [ebp - 0x38]
test eax, eax
jne 0x462c58
call fcn.0042e2d0
jmp 0x462ecf
push 0x8d8b3
push 0x485670
push ecx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462c7c
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x2d
lea edx, [ebp - 0x38]
push 0x513034
push edx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462ca0
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x39
lea eax, [ebp - 0x38]
push 0x513064
push eax
call fcn.00462370
add esp, 0xc
lea ecx, [ebp - 0x38]
test eax, eax
jne 0x462cc4
call fcn.0042e2d0
jmp 0x462ecf
push SHFree
push 0x5130a0
push ecx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462ce5
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x27
lea edx, [ebp - 0x38]
push 0x5130e0
push edx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462d09
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x41
lea eax, [ebp - 0x38]
push 0x513108
push eax
call fcn.00462370
add esp, 0xc
lea ecx, [ebp - 0x38]
test eax, eax
jne 0x462d2d
call fcn.0042e2d0
jmp 0x462ecf
push 0x2fb
push 0x513150
push ecx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462d51
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x61
lea edx, [ebp - 0x38]
push 0x513450
push edx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462d75
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x75
lea eax, [ebp - 0x38]
push 0x5134b8
push eax
call fcn.00462370
add esp, 0xc
lea ecx, [ebp - 0x38]
test eax, eax
jne 0x462d99
call fcn.0042e2d0
jmp 0x462ecf
push 0x21
push 0x513530
push ecx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462dba
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x4b
lea edx, [ebp - 0x38]
push 0x513558
push edx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462dde
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x1f
lea eax, [ebp - 0x38]
push 0x5135a4
push eax
call fcn.00462370
add esp, 0xc
lea ecx, [ebp - 0x38]
test eax, eax
jne 0x462e02
call fcn.0042e2d0
jmp 0x462ecf
push 0x4b
push 0x5135c8
push ecx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462e23
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
push 0x1b
lea edx, [ebp - 0x38]
push 0x513614
push edx
call fcn.00462370
add esp, 0xc
test eax, eax
jne 0x462e47
lea ecx, [ebp - 0x38]
call fcn.0042e2d0
jmp 0x462ecf
mov eax, dword [ebp + 0xc]
push 0
push 0
push 4
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x462c24
cmp eax, 0xffffffff
je 0x462c24
push 0
lea ecx, [ebp - 0x1c]
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x462e96
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], 1
cmp edx, dword [ebp - 0x1c]
je 0x462e99
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], ebx
call fcn.0042e2d0
jmp 0x462ecf
test esi, esi
je 0x462ecf
push esi
call fcn.00453c11
add esp, 4
jmp 0x462ecf
test ebx, ebx
je 0x462edf
cmp ebx, 0xffffffff
je 0x462edf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x462ef2
cmp eax, 0xffffffff
je 0x462ef2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret