Function at 0x4abbf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1b19
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x70], esi
mov byte [edi], bl
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x78], 1
je 0x4abf19
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
and edx, 0x7fffffff
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x74], esi
cmp edi, esi
je 0x4abed0
jmp 0x4abca3
mov edx, dword [ebp - 0x6c]
cmp dword [edi + 0x1c], ebx
je 0x4abcac
xor ecx, ecx
jmp 0x4abcaf
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
jb 0x4abcb9
mov eax, dword [edi]
jmp 0x4abcbb
mov eax, edi
push ecx
push eax
push edx
lea ecx, [ebp - 0x64]
push ecx
call fcn.004ab1f0
add esp, 0x10
mov esi, eax
lea edx, [ebp - 0x48]
cmp edx, esi
je 0x4abd2c
cmp dword [ebp - 0x34], 0x10
jb 0x4abce5
mov eax, dword [ebp - 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [esi + 0x14], 0x10
jae 0x4abd0d
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x48]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x4abd14
mov edx, dword [esi]
mov dword [ebp - 0x48], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x34], ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x50], 0x10
mov byte [ebp - 4], 2
jb 0x4abd42
mov edx, dword [ebp - 0x64]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi + 0x24]
cmp esi, ebx
je 0x4abd9e
mov al, byte [esi + 4]
cmp al, 1
jne 0x4abd9e
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4abd9e
cmp al, al
je 0x4abd97
cmp al, 2
je 0x4abd97
cmp al, 3
je 0x4abd97
cmp al, 5
je 0x4abd97
cmp al, 6
je 0x4abd97
cmp al, 4
jne 0x4abd90
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
shr ecx, 1
dec ecx
jmp 0x4abda0
xor ecx, ecx
shr ecx, 1
dec ecx
jmp 0x4abda0
mov ecx, dword [esi]
shr ecx, 1
dec ecx
jmp 0x4abda0
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [edx + edi + 0x24]
cmp eax, ebx
je 0x4abdb9
cmp byte [eax + 4], 1
jne 0x4abdb9
mov eax, dword [eax + 8]
jmp 0x4abdbb
xor eax, eax
push ecx
push eax
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004ab1f0
add esp, 0x10
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x4abe2f
cmp dword [ebp - 0x18], 0x10
jb 0x4abde8
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x4abe10
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x4abe17
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x50], 0x10
mov byte [ebp - 4], 2
jb 0x4abe45
mov edx, dword [ebp - 0x64]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
shr ecx, 0x1f
test cl, 1
je 0x4abe71
lea edx, [ebp - 0x48]
push 0x536358
push edx
call fcn.004ab540
lea eax, [ebp - 0x2c]
push 0x536358
push eax
call fcn.004ab540
add esp, 0x10
cmp dword [ebp - 0x38], ebx
jne 0x4abe96
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4abe82
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x68]
push eax
push 0x536634
push ecx
call fcn.004aacb0
add esp, 0xc
jmp 0x4abec4
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10
cmp dword [ebp - 0x18], eax
jae 0x4abea6
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
jae 0x4abeb1
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x68]
push ecx
push eax
push 0x53662c
push edx
call fcn.004aacb0
add esp, 0x10
add edi, 0x30
cmp edi, dword [ebp - 0x74]
jne 0x4abca0
mov esi, dword [ebp - 0x68]
mov eax, dword [esi + 0x10]
push 0xffffffffffffffff
dec eax
push eax
mov ecx, esi
call fcn.00484d40
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x4abef7
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0x4abf15
mov edx, dword [ebp - 0x48]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x4abf1b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret