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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4ef6
mov eax, dword fs:[0]
push eax
mov eax, 0x1328
call fcn.004b7610
mov eax, dword [0x5246a8]
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 0x4b251e
mov eax, 0x80004005
jmp 0x4b29e9
cmp dword [esi + 0x64], edi
jne 0x4b252a
xor eax, eax
jmp 0x4b29e9
mov dword [ebp - 0x1320], edi
mov dword [ebp - 0x131c], edi
mov dword [ebp - 0x1318], edi
push 1
xor eax, eax
push 0x509640
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.00406040
lea ecx, [ebp - 0x1320]
push ecx
lea edx, [ebp - 0x102c]
push edx
add esi, 0x54
push esi
mov byte [ebp - 4], 1
call fcn.0044fd60
add esp, 0xc
cmp dword [ebp - 0x1018], 8
mov esi, eax
mov byte [ebp - 4], 0
jb 0x4b25a6
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00406d09
add esp, 4
xor ebx, ebx
cmp esi, edi
jbe 0x4b29b3
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 0x4b29a0
cmp dword [eax + 0x14], 8
jb 0x4b25dd
mov eax, dword [eax]
push eax
call fcn.00479390
add esp, 4
test al, al
je 0x4b29a0
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 0x4b281c
mov eax, dword [ebp - 0x12f8]
cmp eax, edi
je 0x4b2822
push 0x30
lea ecx, [ebp - 0x1040]
push edi
push ecx
call fcn.004b7180
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 0x4b2680
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, edi
je 0x4b269b
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.004b7180
mov eax, dword [ebp - 0x1320]
add eax, esi
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x4b26c5
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 0x4b26fc
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 0x4b281c
mov eax, dword [ebp - 0x1308]
cmp eax, edi
je 0x4b281c
mov dword [ebp - 0x12fc], edi
cmp dword [eax], edi
jbe 0x4b2808
xor ebx, ebx
jmp 0x4b2750
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 0x4b27f0
mov eax, dword [ebp - 0x1028]
push eax
call fcn.004b3f00
mov ecx, dword [ebp - 0x1018]
push ecx
mov edi, eax
call fcn.004b3f00
add esp, 8
mov esi, eax
test edi, edi
je 0x4b27db
test esi, esi
je 0x4b27d2
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 0x4b27e8
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 0x4b2750
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 0x4b2980
mov ecx, dword [eax]
lea edx, [ebp - 0x1300]
push edx
push 3
push 1
push 0x50df50
push 0x37010102
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ebx, eax
cmp ebx, edi
jl 0x4b297a
cmp dword [ebp - 0x1300], edi
je 0x4b297a
mov eax, dword [ebp - 0x1320]
add eax, dword [ebp - 0x1304]
cmp dword [eax + 0x14], 8
jb 0x4b2877
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 0x4b289f
mov ebx, 0x8004000c
jmp 0x4b2948
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 0x4b2941
mov eax, dword [ebp - 0x12fc]
test eax, eax
je 0x4b2941
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 0x4b293c
test ebx, ebx
js 0x4b2941
mov eax, dword [ebp - 0x12fc]
sub eax, ecx
add esi, ecx
mov dword [ebp - 0x12fc], eax
test eax, eax
jne 0x4b28e0
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 0x4b28d0
jmp 0x4b2941
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 0x4b2985
mov eax, dword [ebp - 0x12f8]
mov ebx, 0x80004005
cmp eax, edi
je 0x4b29a0
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 0x4b25c0
mov eax, dword [ebp - 0x1320]
cmp eax, edi
je 0x4b29e7
mov ecx, dword [ebp - 0x1324]
push ecx
mov ecx, dword [ebp - 0x131c]
lea edx, [ebp - 0x1314]
push edx
push ecx
push eax
call fcn.00406d20
mov edx, dword [ebp - 0x1320]
push edx
call fcn.00406d09
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