Function at 0x485740
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xf24
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xf20], eax
cmp dword [0x4c02bc], 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 0x4857de
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 [0x4f82d0], 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 [0x4c02bc], eax
push 0x400
push esi
lea ecx, [esp + 0xb34]
push ecx
call fcn.00465370
push 0x400
push 0
lea edx, [esp + 0xb34]
push edx
call fcn.0044e710
cmp byte [edi], 0x2e
lea esi, [esp + 0xb2c]
mov dword [esp + 0x10], esi
mov cl, 0x5c
jne 0x485823
cmp byte [edi + 1], cl
jne 0x485823
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 0x485865
cmp byte [esp + 0xb2d], cl
jne 0x485865
lea ecx, [esp + 0xb2e]
mov dword [esp + 0x10], ecx
mov esi, ecx
mov dword [esp + 0x30], esi
test al, al
je 0x48593c
push 0x400
lea edx, [esp + 0x330]
push edx
call fcn.0047e340
lea eax, [esp + 0x32c]
push eax
call fcn.0044df70
lea eax, [esp + 0x32c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x485898
mov ecx, dword [str.raricotemp_]
mov edx, dword [0x4b4e64]
mov dword [eax], ecx
mov ecx, dword [0x4b4e68]
mov dword [eax + 4], edx
push esi
mov dword [eax + 8], ecx
call fcn.0044daf0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4858c2
lea edi, [esp + 0x32c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4858d5
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 0x485953
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 0x485975
lea ecx, [esp + 0x72c]
push ecx
push edi
call fcn.0042fda0
jmp 0x4859c5
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 0x485980
lea edx, [esp + 0x72c]
push edx
call fcn.0044e030
cmp byte [esp + 0x72c], 0
lea eax, [esp + 0x72c]
jne 0x4859ad
mov eax, 0x4b2160
lea ecx, [esp + 0x72c]
push ecx
push eax
call fcn.0042fda0
push esi
call fcn.0044daf0
mov dword [esp + 0x30], eax
mov edx, dword [0x4db884]
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 0x485a1f
mov edx, dword [0x4c02bc]
mov dword [esp + 0x38], edx
jmp 0x485a28
mov eax, dword [0x4f82d0]
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 0x485a77
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.0049e626
add esp, 0xf24
ret 0xc