Function at 0x11d09d10
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x11fa4ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0xffffffffffffffdf
lea ecx, [esp + 0x38]
call fcn.11e15fa0
lea eax, [ebp + 4]
push 1
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 0
call fcn.11e8c590
mov eax, dword [ebp + 0x18]
mov byte [esp + 0x48], 1
lea ebx, [eax - 1]
test ebx, ebx
mov dword [esp + 0x10], ebx
jl 0x11d09ef1
lea esi, [ebx + ebx*2]
lea esi, [esi + esi*8]
shl esi, 2
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [esi + eax + 0x60], edx
jle 0x11d09e5f
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + eax + 0x5c]
add ecx, edx
mov edi, dword [ecx + 4]
mov ebx, dword [ecx]
test edi, edi
mov dword [esp + 0x14], ebx
je 0x11d09e28
cmp edi, 0xffffffff
je 0x11d09e28
mov ecx, dword [esi + eax + 0xc]
test ecx, ecx
jne 0x11d09e21
mov eax, dword [esi + eax + 0x5c]
mov ecx, dword [eax + edx + 8]
test ecx, ecx
je 0x11d09e21
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
push eax
push eax
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + esi + 0x3c]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + esi + 0x38]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.11dbc8b0
add esp, 0x10
test eax, eax
jg 0x11d09e16
mov ebx, dword [ebp + 0x14]
push 0
push edi
add ebx, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebx + 0x30]
mov ebx, dword [esp + 0x14]
cmp eax, ecx
je 0x11d09e21
mov ecx, dword [ebp + 0x14]
mov dword [ecx + esi + 0xc], 1
push edi
call dword [0x1213494c]
test ebx, ebx
je 0x11d09e38
cmp ebx, 0xffffffff
je 0x11d09e38
push ebx
call dword [0x1213494c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov edi, dword [esi + eax + 0x60]
add edx, 0xc
cmp ecx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jl 0x11d09d87
mov ebx, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
push 0xffffffffffffffff
push 0
lea ecx, [edx + esi + 0x5c]
call fcn.11d1c240
mov eax, dword [ebp + 0x14]
xor ecx, ecx
lea edi, [eax + esi]
mov eax, dword [eax + esi + 0x50]
test eax, eax
jle 0x11d09e84
inc ecx
cmp ecx, eax
jl 0x11d09e7f
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x11d09ecd
mov eax, dword [edi + 0x50]
mov ebx, ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x11d09eb6
inc eax
mov dword [esp + 0x1c], eax
push 0
mov ecx, ebx
call fcn.11d1c5b0
mov eax, dword [esp + 0x1c]
add ebx, 0x220
dec eax
mov dword [esp + 0x1c], eax
jne 0x11d09e9c
mov eax, dword [edi + 0x4c]
push eax
call fcn.11e679b1
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x4c], 0
push 1
xor eax, eax
push 1
push ebx
mov ecx, ebp
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], eax
call fcn.11ce3860
dec ebx
sub esi, 0x6c
test ebx, ebx
mov dword [esp + 0x10], ebx
jge 0x11d09d70
mov esi, dword [ebp + 0x14]
xor eax, eax
cmp esi, eax
je 0x11d09f27
mov eax, dword [ebp + 0x18]
mov edx, eax
dec eax
test edx, edx
je 0x11d09f16
lea edi, [eax + 1]
push 0
mov ecx, esi
call fcn.11d1c5d0
add esi, 0x6c
dec edi
jne 0x11d09f07
mov eax, dword [ebp + 0x14]
push eax
call fcn.11e679b1
add esp, 4
xor eax, eax
mov dword [ebp + 0x14], eax
mov ecx, ebp
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x18], eax
call fcn.11d18c10
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0
call fcn.11e8c5f0
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xffffffff
call fcn.11e15fd0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret