Function at 0x4b2470
Capabilities:
Get file system object information
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4f66
mov eax, dword fs:[0]
push eax
mov eax, 0x1328
call fcn.004b75b0
mov eax, dword [0x5256a8]
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 esi, ecx
xor edi, edi
mov dword [ebp - 0x1310], esi
cmp dword [esi + 0xf4], edi
jne 0x4b24be
mov eax, 0x80004005
jmp 0x4b2989
cmp dword [esi + 0x64], edi
jne 0x4b24ca
xor eax, eax
jmp 0x4b2989
mov dword [ebp - 0x1320], edi
mov dword [ebp - 0x131c], edi
mov dword [ebp - 0x1318], edi
push 1
xor eax, eax
push 0x50a638
lea ecx, [ebp - 0x102c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], edi
mov word [ebp - 0x102c], ax
call fcn.00406030
lea ecx, [ebp - 0x1320]
push ecx
lea edx, [ebp - 0x102c]
push edx
add esi, 0x54
push esi
mov byte [ebp - 4], 1
call fcn.0044fe50
add esp, 0xc
cmp dword [ebp - 0x1018], 8
mov esi, eax
mov byte [ebp - 4], 0
jb 0x4b2546
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00406cf9
add esp, 4
xor ebx, ebx
cmp esi, edi
jbe 0x4b2953
mov dword [ebp - 0x1304], edi
mov dword [ebp - 0x1328], esi
lea esp, [esp]
mov eax, dword [ebp - 0x1320]
add eax, dword [ebp - 0x1304]
cmp dword [eax + 0x10], edi
je 0x4b2940
cmp dword [eax + 0x14], 8
jb 0x4b257d
mov eax, dword [eax]
push eax
call fcn.00479520
add esp, 4
test al, al
je 0x4b2940
mov eax, dword [ebp - 0x1310]
mov eax, dword [eax + 0xf4]
lea edx, [ebp - 0x12f8]
push edx
lea edx, [ebp - 0x1324]
push edx
push edi
mov dword [ebp - 0x12f8], edi
mov dword [ebp - 0x1324], edi
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x40]
call eax
test eax, eax
js 0x4b27bc
mov eax, dword [ebp - 0x12f8]
cmp eax, edi
je 0x4b27c2
push 0x30
lea ecx, [ebp - 0x1040]
push edi
push ecx
call fcn.004b7120
mov eax, dword [ebp - 0x1320]
mov esi, dword [ebp - 0x1304]
add eax, esi
mov ebx, 8
add esp, 0xc
mov dword [ebp - 0x1040], 0x37050003
mov dword [ebp - 0x1038], 1
mov dword [ebp - 0x1028], edi
mov dword [ebp - 0x1018], edi
cmp dword [eax + 0x14], ebx
jb 0x4b2620
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, edi
je 0x4b263b
mov dword [ebp - 0x1030], 0x3704001f
mov dword [ebp - 0x1028], eax
push 0x2b0
lea eax, [ebp - 0x12f0]
push edi
push eax
mov dword [ebp - 0x12f4], edi
call fcn.004b7120
mov eax, dword [ebp - 0x1320]
add eax, esi
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x4b2665
mov eax, dword [eax]
push 0x200
push 0x2b4
lea edx, [ebp - 0x12f4]
push edx
push 0xd0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4b269c
lea eax, [ebp - 0x12e8]
mov dword [ebp - 0x1020], 0x3001001f
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x12f8]
lea edx, [ebp - 0x1308]
push edx
lea edx, [ebp - 0x1040]
push edx
mov dword [ebp - 0x1308], edi
mov ecx, dword [eax]
push 3
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
js 0x4b27bc
mov eax, dword [ebp - 0x1308]
cmp eax, edi
je 0x4b27bc
mov dword [ebp - 0x12fc], edi
cmp dword [eax], edi
jbe 0x4b27a8
xor ebx, ebx
jmp 0x4b26f0
cmp dword [eax + ebx + 0xc], 0x80040103
mov ecx, dword [eax + ebx + 4]
mov edx, dword [eax + ebx + 8]
mov dword [ebp - 0x1334], ecx
mov dword [ebp - 0x1330], edx
jne 0x4b2790
mov eax, dword [ebp - 0x1028]
push eax
call fcn.004b3ea0
mov ecx, dword [ebp - 0x1018]
push ecx
mov edi, eax
call fcn.004b3ea0
add esp, 8
mov esi, eax
test edi, edi
je 0x4b277b
test esi, esi
je 0x4b2772
mov eax, dword [ebp - 0x12f8]
push 0
lea ecx, [ebp - 0x1040]
push ecx
mov dword [ebp - 0x1030], 0x3704001e
mov dword [ebp - 0x1028], edi
mov dword [ebp - 0x1020], 0x3001001e
mov dword [ebp - 0x1018], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push 3
push eax
call edx
push edi
call fcn.00402cee
add esp, 4
test esi, esi
je 0x4b2788
push esi
call fcn.00402cee
add esp, 4
mov eax, dword [ebp - 0x1308]
xor edi, edi
mov ecx, dword [ebp - 0x12fc]
inc ecx
add ebx, 0xc
mov dword [ebp - 0x12fc], ecx
cmp ecx, dword [eax]
jb 0x4b26f0
mov ecx, dword [ebp - 0x1310]
mov ecx, dword [ecx + 0xc4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x12f8]
mov dword [ebp - 0x1300], edi
cmp eax, edi
je 0x4b2920
mov ecx, dword [eax]
lea edx, [ebp - 0x1300]
push edx
push 3
push 1
push 0x50ef50
push 0x37010102
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ebx, eax
cmp ebx, edi
jl 0x4b291a
cmp dword [ebp - 0x1300], edi
je 0x4b291a
mov eax, dword [ebp - 0x1320]
add eax, dword [ebp - 0x1304]
cmp dword [eax + 0x14], 8
jb 0x4b2817
mov eax, dword [eax]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b283f
mov ebx, 0x8004000c
jmp 0x4b28e8
xor eax, eax
push eax
mov dword [ebp - 0x12fc], eax
mov dword [ebp - 0x130c], eax
lea eax, [ebp - 0x12fc]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b28e1
mov eax, dword [ebp - 0x12fc]
test eax, eax
je 0x4b28e1
lea esi, [ebp - 0x1010]
mov ecx, dword [ebp - 0x1300]
mov edx, dword [ecx]
lea ebx, [ebp - 0x130c]
push ebx
push eax
mov eax, dword [edx + 0x10]
push esi
push ecx
call eax
mov ecx, dword [ebp - 0x130c]
mov ebx, eax
test ecx, ecx
je 0x4b28dc
test ebx, ebx
js 0x4b28e1
mov eax, dword [ebp - 0x12fc]
sub eax, ecx
add esi, ecx
mov dword [ebp - 0x12fc], eax
test eax, eax
jne 0x4b2880
push eax
lea ecx, [ebp - 0x12fc]
push ecx
push 0x1000
lea edx, [ebp - 0x1010]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b2870
jmp 0x4b28e1
mov ebx, 0x8004000d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1300]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 0
push eax
call edx
mov eax, dword [ebp - 0x1300]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x12f8]
mov dword [ebp - 0x1300], 0
xor edi, edi
jmp 0x4b2925
mov eax, dword [ebp - 0x12f8]
mov ebx, 0x80004005
cmp eax, edi
je 0x4b2940
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push edi
push eax
call edx
mov eax, dword [ebp - 0x12f8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add dword [ebp - 0x1304], 0x1c
dec dword [ebp - 0x1328]
jne 0x4b2560
mov eax, dword [ebp - 0x1320]
cmp eax, edi
je 0x4b2987
mov ecx, dword [ebp - 0x1324]
push ecx
mov ecx, dword [ebp - 0x131c]
lea edx, [ebp - 0x1314]
push edx
push ecx
push eax
call fcn.00406d10
mov edx, dword [ebp - 0x1320]
push edx
call fcn.00406cf9
add esp, 0x14
mov eax, ebx
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.00401306
mov esp, ebp
pop ebp
ret