Function at 0x4509b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
push ebx
push esi
push edi
lea edi, [ebp - 0x3c4]
mov ecx, 0xf1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4d8ed4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4f11a0], 0
je 0x450a31
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x4f0fa0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp esi, esp
call fcn.0045dfa0
mov esi, esp
push 0x40004
push 0
push 0x4f0fa0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.0045dfa0
cmp eax, 6
jne 0x450a2c
int3
jmp 0x450c36
cmp dword [ebp + 0x10], 0
je 0x450a59
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_line:_d__msg:_s_
lea eax, [ebp - 0x108]
push eax
call fcn.0045e190
add esp, 0x14
jmp 0x450a75
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_line:_d_
lea edx, [ebp - 0x108]
push edx
call fcn.0045e190
add esp, 0x10
mov byte [ebp - 0x228], 0
push 0xff
push 0
lea eax, [ebp - 0x227]
push eax
call fcn.0045ea40
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.0045dfa0
movzx eax, word [ebp - 0x11a]
push eax
movzx ecx, word [ebp - 0x11e]
push ecx
movzx edx, word [ebp - 0x120]
push edx
push str.._Log_Assert__4d_02d_02d.txt
lea eax, [ebp - 0x228]
push eax
call fcn.0045e190
add esp, 0x14
cmp dword [0x4f11a4], 0
jne 0x450c36
mov esi, esp
push 0
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp esi, esp
call fcn.0045dfa0
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0xffffffff
jne 0x450b7d
mov esi, esp
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0045dfa0
push 0x4bf184
lea eax, [ebp - 0x228]
push eax
call fcn.00464aa0
add esp, 8
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x450b78
call fcn.00450ed0
push eax
lea eax, [ebp - 0x108]
push eax
push str._stime:_s_n
mov ecx, dword [ebp - 0x2f4]
push ecx
call fcn.00465d90
add esp, 0x10
mov eax, dword [ebp - 0x2f4]
push eax
call fcn.00464b60
add esp, 4
jmp 0x450c36
mov esi, esp
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.0045dfa0
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x24c]
shl eax, 0x10
or eax, dword [ebp - 0x240]
mov dword [ebp - 0x234], eax
mov esi, esp
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0045dfa0
cmp dword [ebp - 0x234], 0xf4240
ja 0x450c2c
push 0x4bf184
lea eax, [ebp - 0x228]
push eax
call fcn.00464aa0
add esp, 8
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
je 0x450c2a
call fcn.00450ed0
push eax
lea eax, [ebp - 0x108]
push eax
push str._stime:_s_n
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.00465d90
add esp, 0x10
mov eax, dword [ebp - 0x300]
push eax
call fcn.00464b60
add esp, 4
jmp 0x450c36
mov dword [0x4f11a4], 1
push edx
mov ecx, ebp
push eax
lea edx, [0x450c68]
call fcn.0045dfd0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e500
add esp, 0x3c4
cmp ebp, esp
call fcn.0045dfa0
mov esp, ebp
pop ebp
ret