Function at 0x4839e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x330], edx
cmp byte [edx + 0xbf], 0
mov edi, dword [ebp + 8]
jne 0x4841e4
test byte [edi], 1
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x314], eax
je 0x4841e4
cmp dword [edi + 0x18], 0
mov esi, dword [edi + 0x14]
jle 0x483a46
xor eax, eax
mov word [esi], ax
cmp dword [edi + 0x18], 1
jle 0x4841e4
mov ecx, dword [edi + 8]
mov eax, dword [edx + 0x138]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x314]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x324], ebx
cmp ecx, 0xffffffff
jne 0x483ab4
cmp ebx, 4
jne 0x4841e4
mov eax, dword [edi + 0x18]
cmp eax, 8
jle 0x483a9a
movups xmm0, xmmword [str...__]
movups xmmword [esi], xmm0
mov ax, word [0x6ae1c0]
mov word [esi + 0x10], ax
jmp 0x4841e4
cmp eax, 2
jle 0x4841e4
xor eax, eax
mov dword [esi], 0x2e002e
mov word [esi + 4], ax
jmp 0x4841e4
cmp byte [eax + 0xb], 0
je 0x483ca6
mov eax, dword [edx + 0xec]
lea edx, [ebp - 0x318]
push edx
lea edx, [ebp - 0x310]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x330]
push edx
push ebx
push dword [ebp - 0x314]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4841e6
mov edi, dword [edi + 0x18]
mov ebx, dword [ebp - 0x310]
dec edi
test ebx, ebx
je 0x483c9c
mov eax, dword [ebp - 0x324]
cmp eax, 0x59
jne 0x483b85
lea ecx, [ebp - 0x32c]
call fcn.0049f390
mov dword [ebp - 4], 0
lea eax, [ebp - 0x32c]
mov edx, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x330]
push eax
call fcn.00445020
add esp, 4
cmp dword [ebp - 0x328], 0
je 0x483bf6
mov edx, dword [ebp - 0x32c]
xor ecx, ecx
test edi, edi
je 0x483b71
mov ebx, edx
mov eax, esi
sub ebx, esi
movzx edx, word [ebx + eax]
test dx, dx
je 0x483b6b
mov word [eax], dx
inc ecx
add eax, 2
cmp ecx, edi
jb 0x483b57
mov edx, dword [ebp - 0x32c]
xor eax, eax
push edx
mov word [esi + ecx*2], ax
call fcn.00545b61
add esp, 4
jmp 0x4841e4
cmp eax, 0x3e
jne 0x483c0a
lea ecx, [ebp - 0x32c]
call fcn.0049edf0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x32c]
mov edx, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x330]
push eax
call fcn.00444df0
add esp, 4
cmp dword [ebp - 0x328], 0
je 0x483bf6
mov edx, dword [ebp - 0x32c]
xor ecx, ecx
test edi, edi
je 0x483be2
movzx eax, byte [edx + ecx]
test ax, ax
je 0x483be2
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x483bd0
xor eax, eax
push edx
mov word [esi + ecx*2], ax
call fcn.00545b61
add esp, 4
jmp 0x4841e4
push dword [ebp - 0x32c]
call fcn.00545b61
mov ebx, dword [ebp - 0x310]
add esp, 4
cmp ebx, 0x40
jbe 0x483c50
xor edx, edx
mov al, byte [edx + str.data:]
lea edx, [edx + 1]
mov byte [ebp + edx - 0x35], al
test al, al
jne 0x483c11
lea edx, [ebp - 0x2f]
mov ecx, ebx
call fcn.0049dcf0
xor ecx, ecx
test edi, edi
je 0x483c45
movzx eax, byte [ebp + ecx - 0x34]
test ax, ax
je 0x483c45
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x483c32
xor eax, eax
mov word [esi + ecx*2], ax
jmp 0x4841e4
cmp ebx, edi
cmova ebx, edi
xor edx, edx
mov dword [ebp - 0x310], ebx
test ebx, ebx
je 0x483c9c
mov edi, dword [ebp - 0x330]
movzx eax, byte [edx + edi]
mov ecx, eax
shr ecx, 4
cmp ecx, 0xa
jae 0x483c7a
add ecx, 0x30
jmp 0x483c7d
add ecx, 0x37
and eax, 0xf
mov word [esi], cx
cmp eax, 0xa
jae 0x483c8d
add eax, 0x30
jmp 0x483c90
add eax, 0x37
mov word [esi + 2], ax
inc edx
add esi, 4
cmp edx, ebx
jb 0x483c67
xor eax, eax
mov word [esi], ax
jmp 0x4841e4
xor eax, eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 4], 2
cmp dword [edi + 0x18], 0x20
jl 0x4841e4
cmp ebx, 4
jne 0x483de9
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x318], eax
test eax, eax
je 0x483f5e
lea edx, [ebp - 0x324]
mov dword [ebp - 0x310], 0
push edx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x324], 0
mov eax, dword [eax]
push edx
push ecx
push dword [ebp - 0x318]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x483f52
mov ebx, dword [edi + 0x18]
xor ecx, ecx
sub ebx, 1
mov dword [ebp - 0x314], ebx
mov ebx, ecx
je 0x4841c9
mov edx, dword [ebp - 0x314]
lea edi, [ecx + 4]
mov dword [ebp - 0x318], 0x202e
movzx eax, word [eax + ebx*2]
inc ebx
test ax, ax
je 0x4841c9
mov word [esi + ecx*2], ax
inc edi
inc ecx
cmp eax, 0x20
je 0x483d75
cmp ax, word [ebp - 0x318]
jne 0x483dd6
mov eax, 0x5f
mov word [esi + ecx*2 - 2], ax
jmp 0x483dd6
mov eax, dword [ebp - 0x310]
cmp word [eax + ebx*2 + 2], 0x20
jne 0x483ddc
lea eax, [eax + ebx*2]
mov edx, 2
add eax, 4
cmp word [eax], 0x20
jne 0x483dd0
lea eax, [eax + 2]
inc edx
cmp word [eax], 0x20
je 0x483d94
cmp edx, 4
jb 0x483dd0
mov eax, dword [ebp - 0x310]
cmp edi, dword [ebp - 0x314]
ja 0x483dc8
mov dword [esi + ecx*2], 0x2e002e
add edi, 4
mov dword [esi + ecx*2 + 4], 0x20002e
add ecx, 4
add ebx, edx
mov edx, dword [ebp - 0x314]
jmp 0x483ddc
mov edx, dword [ebp - 0x314]
mov eax, dword [ebp - 0x310]
cmp ecx, edx
jb 0x483d47
jmp 0x4841c9
cmp ebx, 0x60
jne 0x483f5e
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp - 0x314]
mov ecx, dword [ebp - 0x330]
lea eax, [ebp - 0x32c]
push eax
call fcn.004821f0
mov dword [ebp - 0x310], 0
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov eax, dword [ebp - 0x310]
test eax, eax
jne 0x483e42
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x483ef9
mov ecx, dword [eax]
lea edx, [ebp - 0x318]
push 0
push edx
push 0
push dword [ebp - 0x32c]
push 0
push 0
push eax
call dword [ecx + 0xc]
push 0x2b4
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x408
push 0x2b4
push eax
push 0
push dword [ebp - 0x318]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x318]
test eax, eax
je 0x483ea3
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x350]
call fcn.0049f410
mov ecx, dword [ebp - 0x350]
test ecx, ecx
je 0x483f21
mov edi, dword [edi + 0x18]
xor eax, eax
sub edi, 1
je 0x483eea
nop
movzx edx, word [ecx]
lea ecx, [ecx + 2]
test dx, dx
je 0x483ee4
mov word [esi + eax*2], dx
inc eax
cmp eax, edi
jb 0x483ed0
mov ecx, dword [ebp - 0x350]
xor edx, edx
push ecx
mov word [esi + eax*2], dx
call fcn.00545b61
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x483f0d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x32c]
push eax
call fcn.00545b61
add esp, 4
jmp 0x4841cf
push 0
call fcn.00545b61
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x483f3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x32c]
push eax
call fcn.00545b61
add esp, 4
mov ecx, dword [ebp - 0x314]
mov edx, dword [ebp - 0x330]
cmp byte [edx + 0xb3], 0
je 0x484069
cmp ebx, 3
jne 0x484069
push ecx
lea eax, [ebp - 0x32c]
mov ecx, edx
push eax
call fcn.004821f0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 8
call fcn.0049f980
test eax, eax
jle 0x484012
inc eax
lea ecx, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.00426300
push eax
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 9
call fcn.0049f5a0
mov byte [ebp - 4], 8
push dword [ebp - 0x350]
call fcn.00545b61
mov ecx, dword [ebp - 0x32c]
add esp, 4
test ecx, ecx
je 0x484018
mov edi, dword [edi + 0x18]
xor eax, eax
sub edi, 1
je 0x483ffe
movzx edx, word [ecx]
lea ecx, [ecx + 2]
test dx, dx
je 0x483ff8
mov word [esi + eax*2], dx
inc eax
cmp eax, edi
jb 0x483fe4
mov ecx, dword [ebp - 0x32c]
xor edx, edx
push ecx
mov word [esi + eax*2], dx
call fcn.00545b61
add esp, 4
jmp 0x4841cf
mov ecx, dword [ebp - 0x32c]
push ecx
mov byte [ebp - 4], 2
call fcn.00545b61
add esp, 4
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0xe0]
lea edx, [ebp - 0x344]
push edx
push ebx
push dword [ebp - 0x314]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x4840e3
mov ecx, str.Error:
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x484054
jmp 0x4841cf
cmp ebx, 0x1e
jne 0x48402b
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x310], eax
test eax, eax
je 0x48402b
lea edx, [ebp - 0x324]
mov dword [ebp - 0x318], 0
push edx
lea edx, [ebp - 0x318]
mov dword [ebp - 0x324], 0
mov eax, dword [eax]
push edx
push ecx
push dword [ebp - 0x310]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x318]
test ecx, ecx
je 0x484025
mov edi, dword [edi + 0x18]
xor eax, eax
sub edi, 1
je 0x4840d8
movzx edx, word [ecx]
lea ecx, [ecx + 2]
test dx, dx
je 0x4840d8
mov word [esi + eax*2], dx
inc eax
cmp eax, edi
jb 0x4840c4
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4841cf
mov dx, word [ebp - 0x344]
cmp dx, 0x15
je 0x4840fc
cmp dx, 0x13
je 0x4840fc
cmp dx, 0x12
jne 0x48413e
mov ecx, ebx
call fcn.00483960
test al, al
je 0x48413e
xorps xmm0, xmm0
lea edx, [ebp - 0x32c]
lea ecx, [ebp - 0x344]
movlpd qword [ebp - 0x32c], xmm0
call fcn.00407320
push dword [ebp - 0x328]
mov ecx, esi
push dword [ebp - 0x32c]
call fcn.00483770
add esp, 8
jmp 0x4841cf
cmp dx, 8
jne 0x484195
mov ebx, dword [edi + 0x18]
mov edi, 0
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x324], eax
sub ebx, 1
je 0x48418d
lea ecx, [edi + 0x20]
movzx edx, word [eax + edi*2]
test dx, dx
je 0x48418d
cmp edx, 0xa
cmove edx, ecx
cmp dx, 0xd
movzx eax, dx
cmovne ecx, eax
mov eax, dword [ebp - 0x324]
mov word [esi + edi*2], cx
inc edi
mov ecx, 0x20
cmp edi, ebx
jb 0x484160
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x4841cf
push 0
push ebx
lea edx, [ebp - 0x344]
lea ecx, [ebp - 0x54]
call fcn.004447f0
mov edx, dword [edi + 0x18]
add esp, 8
mov ecx, 0
sub edx, 1
je 0x4841c9
movzx eax, byte [ebp + ecx - 0x54]
test ax, ax
je 0x4841c9
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edx
jb 0x4841b6
xor eax, eax
mov word [esi + ecx*2], ax
cmp word [ebp - 0x344], 0
je 0x4841e4
lea ecx, [ebp - 0x344]
call fcn.004a7790
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret 4