Function at 0x4b86a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72b11b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x857060]
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, ecx
lea esi, [edi + 0x50]
xorps xmm0, xmm0
xor bl, bl
movlpd qword [ebp - 0x84], xmm0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4b86ea
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
jne 0x4b8715
xor al, al
jmp 0x4b892d
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4b8734
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x7c], eax
jmp 0x4b8743
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4b892b
cmp dword [ebp - 0x7c], 0
jl 0x4b892b
jg 0x4b876d
cmp dword [ebp - 0x80], 0
jbe 0x4b892b
cmp dword [edi + 0xdc], 0
je 0x4b87a6
lea ebx, [edi + 0x78]
lea ecx, [ebx + 0x18]
call fcn.004b53e0
test eax, eax
jne 0x4b87a6
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00429ca0
push esi
lea ecx, [ebp - 0x78]
call fcn.00449230
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x30]
call fcn.00449230
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00544140
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00545b60
lea eax, [ebp - 0x60]
mov edx, 0x78f250
push eax
lea ecx, [ebp - 0xa0]
call fcn.00457400
add esp, 4
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b8813
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0044a2e0
lea ecx, [ebp - 0xa0]
call fcn.00426ce0
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call fcn.00544390
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.005441c0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x78]
push eax
call fcn.00426d40
lea ecx, [ebp - 0x48]
call fcn.00426ce0
lea ecx, [ebp - 0x60]
call fcn.00426ce0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00426ce0
lea edx, [ebp - 0x78]
mov ecx, esi
call fcn.00544440
test al, al
je 0x4b8915
cmp dword [esi + 0x14], 8
jb 0x4b88a1
mov esi, dword [esi]
push ecx
push 0x12
lea ebx, [edi + 0x78]
push esi
lea ecx, [ebx + 0x18]
call fcn.004b54b0
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
add edx, ebx
test eax, eax
je 0x4b88ca
xor eax, eax
mov ecx, 4
cmp dword [edx + 0x38], eax
cmovne ecx, eax
jmp 0x4b88de
mov eax, edx
xor ecx, ecx
cmp dword [eax + 0x38], ecx
sete cl
lea ecx, [ecx*4 + 2]
or ecx, dword [eax + 0xc]
push 0
push ecx
mov ecx, edx
call fcn.00429ca0
lea ecx, [ebx + 0x18]
call fcn.004b53e0
test eax, eax
jne 0x4b8915
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00429ca0
mov edx, dword [edi]
lea eax, [edi + 0x78]
push eax
mov ecx, edi
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0x78]
mov bl, al
call fcn.00426ce0
mov al, bl
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.006d0965
mov esp, ebp
pop ebp
ret