Function at 0x464df0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x493061
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
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.00429c40
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 0x464f0e
lea edx, [esp + 0x48]
push edx
call fcn.004316e0
push eax
lea eax, [esp + 0x34]
push str.CreateFile_error__
push eax
mov byte [esp + 0x11c], 2
call fcn.0040bcc0
add esp, 0x10
push edi
push ebx
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x118], 3
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x464edc
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00473948
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 0x464f00
mov edx, dword [esp + 0x4c]
push edx
call fcn.00473948
add esp, 4
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
jmp 0x4650bc
push 1
push 2
lea ecx, [esp + 0x6c]
call fcn.0041b540
push str._information:_n
push esi
lea eax, [esp + 0x6c]
push str.File
push eax
mov byte [esp + 0x11c], 4
call fcn.0041b660
add esp, 8
push eax
call fcn.0041bab0
add esp, 8
push eax
call fcn.0041b660
add esp, 8
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
jne 0x464fba
lea edx, [esp + 0x48]
push edx
call fcn.004316e0
add esp, 4
push 0x49496c
push eax
lea eax, [esp + 0x6c]
push str.Error_getting_file_size__
push eax
mov byte [esp + 0x11c], 5
call fcn.0041b660
add esp, 8
push eax
call fcn.0041bab0
add esp, 8
push eax
call fcn.0041b660
add esp, 8
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x10c], 4
jb 0x464feb
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00473948
add esp, 4
jmp 0x464feb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0x49496c
push edx
push eax
lea ecx, [esp + 0x70]
push str.File_size:
push ecx
call fcn.0041b660
add esp, 8
mov ecx, eax
call fcn.004283f0
push eax
call fcn.0041b660
add esp, 8
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edx, [esp + 0xe4]
push esi
push edx
call fcn.00464990
add esp, 8
mov byte [esp + 0x10c], 6
cmp dword [esp + 0xf8], ebx
jne 0x465025
push 0x4b0810
push str.Error_while_calculating_sha1__
lea eax, [esp + 0x6c]
push eax
jmp 0x465037
lea ecx, [esp + 0xe4]
push ecx
push str.Files_sha1:
lea edx, [esp + 0x6c]
push edx
call fcn.0041b660
add esp, 8
push eax
call fcn.0041bab0
add esp, 8
push ebp
lea ecx, [esp + 0x68]
call fcn.0041ab10
cmp dword [esp + 0xfc], 0x10
mov dword [esp + 0x1c], 1
jb 0x465074
mov eax, dword [esp + 0xe8]
push eax
call fcn.00473948
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.00419a90
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xb4], vtable.std::ios_base.0
call fcn.00473659
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4650cd
push eax
call fcn.00473f71
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.00474468
add esp, 0xfc
ret