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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e32d6
mov eax, dword fs:[0]
push eax
mov eax, 0x1328
call fcn.004b8260
mov eax, dword [0x522638]
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 0x4b37ae
mov eax, 0x80004005
jmp 0x4b3c79
cmp dword [esi + 0x64], edi
jne 0x4b37ba
xor eax, eax
jmp 0x4b3c79
mov dword [ebp - 0x1320], edi
mov dword [ebp - 0x131c], edi
mov dword [ebp - 0x1318], edi
push 1
xor eax, eax
push 0x508288
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.00405fe0
lea ecx, [ebp - 0x1320]
push ecx
lea edx, [ebp - 0x102c]
push edx
add esi, 0x54
push esi
mov byte [ebp - 4], 1
call fcn.00455840
add esp, 0xc
cmp dword [ebp - 0x1018], 8
mov esi, eax
mov byte [ebp - 4], 0
jb 0x4b3836
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00406ca9
add esp, 4
xor ebx, ebx
cmp esi, edi
jbe 0x4b3c43
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 0x4b3c30
cmp dword [eax + 0x14], 8
jb 0x4b386d
mov eax, dword [eax]
push eax
call fcn.0047f150
add esp, 4
test al, al
je 0x4b3c30
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 0x4b3aac
mov eax, dword [ebp - 0x12f8]
cmp eax, edi
je 0x4b3ab2
push 0x30
lea ecx, [ebp - 0x1040]
push edi
push ecx
call fcn.004b8020
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 0x4b3910
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, edi
je 0x4b392b
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.004b8020
mov eax, dword [ebp - 0x1320]
add eax, esi
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x4b3955
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 0x4b398c
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 0x4b3aac
mov eax, dword [ebp - 0x1308]
cmp eax, edi
je 0x4b3aac
mov dword [ebp - 0x12fc], edi
cmp dword [eax], edi
jbe 0x4b3a98
xor ebx, ebx
jmp 0x4b39e0
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 0x4b3a80
mov eax, dword [ebp - 0x1028]
push eax
call fcn.004b5190
mov ecx, dword [ebp - 0x1018]
push ecx
mov edi, eax
call fcn.004b5190
add esp, 8
mov esi, eax
test edi, edi
je 0x4b3a6b
test esi, esi
je 0x4b3a62
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.00402cae
add esp, 4
test esi, esi
je 0x4b3a78
push esi
call fcn.00402cae
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 0x4b39e0
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 0x4b3c10
mov ecx, dword [eax]
lea edx, [ebp - 0x1300]
push edx
push 3
push 1
push 0x50cb80
push 0x37010102
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ebx, eax
cmp ebx, edi
jl 0x4b3c0a
cmp dword [ebp - 0x1300], edi
je 0x4b3c0a
mov eax, dword [ebp - 0x1320]
add eax, dword [ebp - 0x1304]
cmp dword [eax + 0x14], 8
jb 0x4b3b07
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 0x4b3b2f
mov ebx, 0x8004000c
jmp 0x4b3bd8
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 0x4b3bd1
mov eax, dword [ebp - 0x12fc]
test eax, eax
je 0x4b3bd1
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 0x4b3bcc
test ebx, ebx
js 0x4b3bd1
mov eax, dword [ebp - 0x12fc]
sub eax, ecx
add esi, ecx
mov dword [ebp - 0x12fc], eax
test eax, eax
jne 0x4b3b70
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 0x4b3b60
jmp 0x4b3bd1
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 0x4b3c15
mov eax, dword [ebp - 0x12f8]
mov ebx, 0x80004005
cmp eax, edi
je 0x4b3c30
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 0x4b3850
mov eax, dword [ebp - 0x1320]
cmp eax, edi
je 0x4b3c77
mov ecx, dword [ebp - 0x1324]
push ecx
mov ecx, dword [ebp - 0x131c]
lea edx, [ebp - 0x1314]
push edx
push ecx
push eax
call fcn.00406cc0
mov edx, dword [ebp - 0x1320]
push edx
call fcn.00406ca9
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