Function at 0x4b9470
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x802800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.004034a0
mov dword [esp + 0xc], vtable.ucs2string.0
mov esi, dword [esp + 0x25c]
lea eax, [esp + 0x2c]
push 0x866adc
push eax
mov ecx, 0x9518b0
mov dword [esp + 0x25c], 0
call fcn.0057ded0
mov ecx, eax
call fcn.0057dac0
test al, al
je 0x4b97be
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.006d43a0
test eax, eax
je 0x4b97be
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b97be
mov al, byte [0x9515a8]
mov ebx, 1
test bl, al
jne 0x4b9568
or al, bl
push 0xffffffffffffffff
push str.Kernel32.dll
lea ecx, [esp + 0x34]
mov byte [0x9515a8], al
call fcn.00419730
lea edx, [esp + 0x2c]
push 0
push edx
push ebx
mov ecx, 0x9515a0
mov byte [esp + 0x260], bl
call fcn.0045cbe0
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x258], 3
call fcn.00404f20
push 0x4b9830
mov dword [0x9515a0], 0x857c30
mov byte [esp + 0x258], 0
call fcn.007ac037
add esp, 4
mov ecx, dword [0x9515a4]
lea eax, [esp + 0x40]
push 0x106
push eax
push 0
push str.GetWindowsDirectoryW
push ecx
call fcn.0057d750
add esp, 0xc
call eax
mov edi, eax
test edi, edi
je 0x4b97be
cmp edi, 0x106
jae 0x4b97be
cmp edi, dword [esi + 0xc]
jae 0x4b97be
mov eax, dword [esi]
lea edx, [esp + 0x40]
push edi
push edx
mov ecx, esi
call dword [eax + 0x24]
push eax
call fcn.007adbf1
add esp, 0xc
test eax, eax
jne 0x4b97be
mov eax, dword [esi + 8]
test eax, eax
je 0x4b97be
cmp word [eax + edi*2], 0x5c
jne 0x4b97be
mov edx, dword [esi]
push 8
push str.System32
mov ecx, esi
lea ebx, [edi + 1]
call dword [edx + 0x24]
lea eax, [eax + ebx*2]
push eax
call fcn.007adbf1
add esp, 0xc
test eax, eax
jne 0x4b97be
mov ecx, dword [esi + 0xc]
add edi, 9
cmp ecx, edi
jne 0x4b9656
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jae 0x4b9623
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.00404d30
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.004036a0
push str.Sysnative
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x10]
push eax
push str.Sysnative
call fcn.004036a0
jmp 0x4b97ba
mov eax, dword [esi + 8]
test eax, eax
je 0x4b97be
add edi, edi
mov dword [esp + 0x20], edi
cmp word [edi + eax], 0x5c
jne 0x4b97be
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jae 0x4b9689
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.00404d30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
sub ecx, edx
mov dword [esp + 0x24], eax
cmp ecx, ebx
ja 0x4b96a6
call fcn.007c4d19
test ebx, ebx
jbe 0x4b96e9
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea edi, [edx + ebx]
push edi
call fcn.00404d30
test al, al
je 0x4b96e9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push eax
lea eax, [edx + ecx*2]
push eax
call fcn.004069b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edi
add esp, 0xc
mov word [ecx + edi*2], 0
push str.Sysnative
call fcn.007ac4d2
mov ecx, dword [esp + 0x1c]
or edx, 0xffffffff
mov ebx, eax
sub edx, ecx
add esp, 4
cmp edx, ebx
ja 0x4b970a
call fcn.007c4d19
test ebx, ebx
jbe 0x4b974d
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea edi, [eax + ebx]
push edi
call fcn.00404d30
test al, al
je 0x4b974d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push str.Sysnative
lea eax, [edx + ecx*2]
push eax
call fcn.004069b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edi
add esp, 0xc
mov word [ecx + edi*2], 0
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x24]
mov ebp, dword [esp + 0x24]
mov esi, eax
add esi, ebp
push esi
call fcn.007ac4d2
mov edx, dword [esp + 0x20]
mov edi, eax
or eax, 0xffffffff
add esp, 4
sub eax, edx
cmp eax, edi
ja 0x4b977a
call fcn.007c4d19
test edi, edi
jbe 0x4b97b9
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + edi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00404d30
test al, al
je 0x4b97b9
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
push esi
lea ecx, [eax + edx*2]
push ecx
call fcn.004069b0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
add esp, 0xc
mov word [edx + ebp*2], 0
pop ebp
lea esi, [esp + 0xc]
mov eax, dword [esp + 0x26c]
mov ecx, dword [esp + 0x268]
mov edx, dword [esp + 0x264]
push eax
mov eax, dword [esp + 0x264]
push ecx
push edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b9810
mov cl, byte [eax - 1]
test cl, cl
je 0x4b9804
dec cl
mov byte [eax - 1], cl
jmp 0x4b9810
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x24c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret 0x14