Function at 0x4c5828
Capabilities:
Get file system object information
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405544
xor eax, eax
push ebp
push 0x4c5b4e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4c5b03
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 4]
call fcn.00405a1c
mov eax, dword [ebp - 0x17c]
call fcn.004c4654
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, ebx
call fcn.004568fc
push eax
call sub.shell32.dll_SHGetFileInfoA
call fcn.004081a4
test eax, eax
je 0x4c58d6
push 0x108
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.shell32.dll_SHGetMalloc
jmp 0x4c5ab0
mov eax, dword [ebp - 4]
call fcn.004c4268
test al, al
jne 0x4c590f
lea eax, [ebp - 0x180]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004055bc
mov eax, dword [ebp - 0x180]
mov edx, 0x4c5b68
call fcn.00409c3c
test eax, eax
jne 0x4c5938
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.00405554
push eax
call sub.shell32.dll_SHGetMalloc
jmp 0x4c5ab0
mov eax, dword [ebp - 4]
call fcn.004c4244
test al, al
je 0x4c596a
push 0x4011
push 0x2000
lea eax, [ebp - 0x178]
push eax
push 0x10
mov eax, dword [ebp - 4]
call fcn.00405554
push eax
call sub.shell32.dll_SHGetMalloc
jmp 0x4c5ab0
cmp dword [ebp - 4], 0
je 0x4c5ab0
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 4]
call fcn.00405a1c
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 8]
call fcn.004c428c
mov eax, dword [ebp - 8]
mov edx, 0x4c5b78
call fcn.004054ec
jne 0x4c5a8c
mov eax, ebx
call fcn.004378b0
test al, al
jne 0x4c59f0
cmp byte [ebx + 0x380], 0
je 0x4c59f0
mov eax, ebx
call fcn.004c5e0c
inc eax
jle 0x4c59f0
mov eax, ebx
call fcn.004c5e0c
mov esi, eax
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x10], esi
push esi
call fcn.00407c70
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00404b04
jmp 0x4c5b0a
cmp byte [ebx + 0x38c], 0
je 0x4c5a46
mov eax, dword [0x4ddb24]
mov eax, dword [eax]
mov esi, dword [eax + 0xa0]
cmp word [ebx + 0x342], 0
je 0x4c5a22
push esi
lea ecx, [ebp - 0x15]
mov edx, ebx
mov eax, dword [ebx + 0x344]
call dword [ebx + 0x340]
cmp byte [ebp - 0x15], 0
jne 0x4c5ab0
mov eax, dword [ebx + 0x328]
mov edx, esi
call fcn.0045ce3c
mov edx, eax
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x10], edx
jmp 0x4c5ab0
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
push 0x4c5b80
call sub.shell32.dll_SHGetMalloc
cmp word [ebx + 0x352], 0
je 0x4c5ab0
mov eax, dword [ebp - 0x178]
push eax
mov ecx, 0x4c5b90
mov edx, ebx
mov eax, dword [ebx + 0x354]
call dword [ebx + 0x350]
jmp 0x4c5ab0
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 8]
call fcn.00405554
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5b0a
xor eax, eax
push ebp
push 0x4c5aee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x174]
push eax
call fcn.00407c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5af5
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5b55
lea eax, [ebp - 0x184]
call fcn.004058cc
lea eax, [ebp - 0x180]
call fcn.004050c4
lea eax, [ebp - 0x17c]
call fcn.004058cc
lea eax, [ebp - 0xc]
call fcn.00406e74
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050e8
ret