Function at 0x10006cc0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10015700
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x10006cfd
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
jmp 0x10006d03
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x100329c8]
movzx edx, byte [ecx + 5]
test edx, edx
jne 0x10006d35
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [0x100329f8]
call fcn.1000a6f0
movzx edx, al
test edx, edx
jne 0x10006dbd
mov eax, dword [0x100329c8]
movzx ecx, byte [eax + 3]
test ecx, ecx
je 0x10006d4e
mov edx, dword [ebp - 0x10]
push edx
call fcn.100069d0
add esp, 4
mov eax, dword [0x100329c8]
movzx ecx, byte [eax + 3]
test ecx, ecx
je 0x10006d6c
mov edx, dword [ebp - 0x10]
push edx
call fcn.10006a60
add esp, 4
mov dword [ebp - 0x28], eax
jmp 0x10006d73
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006d87
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
jmp 0x10006d96
mov edx, dword [ebp - 0x10]
push edx
call fcn.10004d90
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov ecx, dword [0x100329c8]
movzx edx, byte [ecx + 5]
test edx, edx
jne 0x10006dbd
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [0x100329f8]
call fcn.1000a800
cmp dword [ebp - 8], 0
je 0x10006ebf
mov dword [ebp - 0x14], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp - 8]
call fcn.1000afd0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x10006e89
mov edx, dword [0x100329c8]
movzx eax, byte [edx]
test eax, eax
je 0x10006e26
mov ecx, dword [ebp - 8]
call fcn.1000afd0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d__lcpk_get_file_info::_Found_file::__s_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov edx, dword [0x100329c8]
movzx eax, byte [edx]
test eax, eax
je 0x10006e64
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d__lcpk_get_file_info::_Corrected_size:__d______d___08x__n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0x14
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x100329c8]
movzx eax, byte [edx + 2]
test eax, eax
jne 0x10006ebf
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x10006eb8
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.1000a6c0
mov dword [ebp - 0x30], eax
jmp 0x10006ebf
mov dword [ebp - 0x30], 0
xor eax, eax
mov esp, ebp
pop ebp
ret