Function at 0x485200
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xf24
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xf20], eax
cmp dword [0x4c02a4], 0xffffffff
mov eax, dword [esp + 0xf30]
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push esi
mov esi, dword [esp + 0xf34]
push edi
mov edi, dword [esp + 0xf34]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jne 0x48529e
push 0x4001
push 0x160
lea ecx, [esp + 0x74]
push ecx
push 0
push 0x4b2160
call ebp
mov edx, dword [esp + 0x70]
push 0x400
lea eax, [esp + 0x330]
push eax
push 0
mov dword [0x4f8288], edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x4001
push 0x160
lea ecx, [esp + 0x74]
push ecx
push 0
lea edx, [esp + 0x33c]
push edx
call ebp
mov eax, dword [esp + 0x70]
mov dword [0x4c02a4], eax
push 0x400
push esi
lea ecx, [esp + 0xb34]
push ecx
call fcn.00464e60
push 0x400
push 0
lea edx, [esp + 0xb34]
push edx
call fcn.0044e150
cmp byte [edi], 0x2e
lea esi, [esp + 0xb2c]
mov dword [esp + 0x10], esi
mov cl, 0x5c
jne 0x4852e3
cmp byte [edi + 1], cl
jne 0x4852e3
add edi, 2
mov dword [esp + 0x14], edi
cmp byte [edi], 0
mov dword [esp + 0x1c], 3
setne al
cmp byte [esp + 0xb2c], 0x2e
mov byte [esp + 0xf], al
mov dword [esp + 0x20], 0x40000000
mov dword [esp + 0x24], 0
jne 0x485325
cmp byte [esp + 0xb2d], cl
jne 0x485325
lea ecx, [esp + 0xb2e]
mov dword [esp + 0x10], ecx
mov esi, ecx
mov dword [esp + 0x30], esi
test al, al
je 0x4853fc
push 0x400
lea edx, [esp + 0x330]
push edx
call fcn.0047de30
lea eax, [esp + 0x32c]
push eax
call fcn.0044d9b0
lea eax, [esp + 0x32c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x485358
mov ecx, dword [str.raricotemp_]
mov edx, dword [0x4b4dcc]
mov dword [eax], ecx
mov ecx, dword [0x4b4dd0]
mov dword [eax + 4], edx
push esi
mov dword [eax + 8], ecx
call fcn.0044d530
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x485382
lea edi, [esp + 0x32c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x485395
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0x4000100
push 4
push 0
push 0
mov ecx, eax
push 0xc0000000
lea edx, [esp + 0x344]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x4001
push 0x160
mov esi, eax
lea eax, [esp + 0x1d4]
push eax
push 0
lea ecx, [esp + 0x33c]
push ecx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x485413
push 0x4001
push 0x160
lea edx, [esp + 0x1d4]
push edx
push 0
push esi
call ebp
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x38], eax
je 0x485435
lea ecx, [esp + 0x72c]
push ecx
push edi
call fcn.0042f9c0
jmp 0x485485
lea edx, [esp + 0x72c]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x485440
lea edx, [esp + 0x72c]
push edx
call fcn.0044da70
cmp byte [esp + 0x72c], 0
lea eax, [esp + 0x72c]
jne 0x48546d
mov eax, 0x4b2160
lea ecx, [esp + 0x72c]
push ecx
push eax
call fcn.0042f9c0
push esi
call fcn.0044d530
mov dword [esp + 0x30], eax
mov edx, dword [0x4db83c]
push 0x66
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1007
push esi
call ebp
cmp byte [esp + 0xf], 0
mov edi, eax
lea ecx, [esp + 0x72c]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ecx
je 0x4854df
mov edx, dword [0x4c02a4]
mov dword [esp + 0x38], edx
jmp 0x4854e8
mov eax, dword [0x4f8288]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x1006
push esi
call ebp
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push edi
push 0x102e
push esi
mov dword [esp + 0x5c], 2
mov dword [esp + 0x68], edx
call ebp
test edi, edi
jne 0x485537
lea ecx, [esp + 0x44]
push ecx
push edi
push 0x102b
push esi
mov dword [esp + 0x64], 1
mov dword [esp + 0x60], 1
call ebp
mov ecx, dword [esp + 0xf2c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049e0c6
add esp, 0xf24
ret 0xc