Function at 0x460ed0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x48e8f1
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4acab8]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4acab8]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x114], 1
call fcn.00427f10
mov ecx, dword [esp + 0x1c]
add esp, 8
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x460fee
lea edx, [esp + 0x48]
push edx
call fcn.0042f670
push eax
lea eax, [esp + 0x34]
push str.CreateFile_error__
push eax
mov byte [esp + 0x11c], 2
call fcn.0040bcf0
add esp, 0x10
push edi
push ebx
push eax
mov ecx, 0x4ab808
mov byte [esp + 0x118], 3
call fcn.0040b360
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x460fbc
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0046fa18
add esp, 4
mov edi, 0xf
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
cmp dword [esp + 0x60], esi
jb 0x460fe0
mov edx, dword [esp + 0x4c]
push edx
call fcn.0046fa18
add esp, 4
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
jmp 0x46119c
push 1
push 2
lea ecx, [esp + 0x6c]
call fcn.00419fd0
push str._information:_n
push esi
lea eax, [esp + 0x6c]
push str.File
push eax
mov byte [esp + 0x11c], 4
call fcn.0041a0b0
add esp, 8
push eax
call fcn.0041a500
add esp, 8
push eax
call fcn.0041a0b0
add esp, 8
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
jne 0x46109a
lea edx, [esp + 0x48]
push edx
call fcn.0042f670
add esp, 4
push 0x490964
push eax
lea eax, [esp + 0x6c]
push str.Error_getting_file_size__
push eax
mov byte [esp + 0x11c], 5
call fcn.0041a0b0
add esp, 8
push eax
call fcn.0041a500
add esp, 8
push eax
call fcn.0041a0b0
add esp, 8
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x10c], 4
jb 0x4610cb
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0046fa18
add esp, 4
jmp 0x4610cb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0x490964
push edx
push eax
lea ecx, [esp + 0x70]
push str.File_size:
push ecx
call fcn.0041a0b0
add esp, 8
mov ecx, eax
call fcn.004266c0
push eax
call fcn.0041a0b0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edx, [esp + 0xe4]
push esi
push edx
call fcn.00460a70
add esp, 8
mov byte [esp + 0x10c], 6
cmp dword [esp + 0xf8], ebx
jne 0x461105
push 0x4ab808
push str.Error_while_calculating_sha1__
lea eax, [esp + 0x6c]
push eax
jmp 0x461117
lea ecx, [esp + 0xe4]
push ecx
push str.Files_sha1:
lea edx, [esp + 0x6c]
push edx
call fcn.0041a0b0
add esp, 8
push eax
call fcn.0041a500
add esp, 8
push ebp
lea ecx, [esp + 0x68]
call fcn.004197e0
cmp dword [esp + 0xfc], 0x10
mov dword [esp + 0x1c], 1
jb 0x461154
mov eax, dword [esp + 0xe8]
push eax
call fcn.0046fa18
add esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov byte [esp + 0x10c], 1
call fcn.00418870
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xb4], vtable.std::ios_base.0
call fcn.0046f729
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4611ad
push eax
call fcn.00470041
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00470538
add esp, 0xfc
ret